Description

It is an extension (plugin) for Joomla that allows you to insert a Facebook article (post) in an article

I published it on github.

I maintain the source code on  Github/plg_jofacebook

Setting up Facebook

It is necessary to enter your Facebook Developer ID in the settings of the com_jofacebook component

  1. Create a Facebook ID on the site https://developers.facebook.com/apps/

  1. enter your Facebook Developer ID in the com_jofacebook component settings https://<monsite>/administrator/index.php?option=com_config&view=component&component=com_jofacebook

Inserting a Facebook post in an article

  • Either directly in the article

{fbkpost profile=JLTRYCOACHING;post=627790250371232}

 

  • Either by using the insertion button

This one displays an input popup of the profile id and the post id

Once entered the profile id and the post id press the button JOFBK_VIEW_POST to preview the post and

on the button JOFBK_ADD_POST to add the pseudo-code associated with the plugin and parameters

How to find the profile ID and post ID of an article

  • Show post click on the 3 dots at the top right

jofacebook_integration.png

  • Click on embed a popup appears on a site

jofacebook_integrer_la_publication.png

  • click on advanced settings

jofacebook_code_generator.png

  • click to get the code
  • The url to look at is this one.

joomlacomponentsfacebook_step3_code.png

cite="https://www.facebook.com/JLTRYCOACHING/posts/627790250371232:627790250371232"

  • the id profile is JLTRYCOACHING
  • the post id is 627790250371232:627790250371232

Case of digital ID profiles

Some users have not provided their profile ID in text form.

Ex:

https://www.facebook.com/permalink.php?story_fbid=1620677724837506&id=1468636890041591

In this case the profile id corresponds to the id and the post id to the story-fbid

  • profile id is 1620677724837506
  • the post id is 1620677724837506

Other examples