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
- Create a Facebook ID on the site https://developers.facebook.com/apps/

- 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

- Click on embed a popup appears on a site

- click on advanced settings

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

cite="https://www.facebook.com/JLTRYCOACHING/posts/627790250371232:627790250371232"
the id profile is JLTRYCOACHINGthe 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 1620677724837506the post id is 1620677724837506
