Embed any public Facebook video, page, comment, event, album, photo, profile. Add Facebook comments to all your site or embed any Social Plugin.
Automatically embed any content from Facebook directly into your site just by copying the URL into the editor, using shortcodes or the new embed block.
Replace the WordPress comments system with Facebook comments on selected post types or manually using a shortcode.
Use simple shortcodes to invoke like, send, share, save buttons or any other Facebook Social Plugin.
There are two types of embeds: Custom Embeds that are entirely native to this plugin and Social Plugins which are pieces of code created by Facebook developers.
As an alternative to automatically embed your content, you can use the [embedfb url]
shortcode instead and pass on some parameters to change each embed examples.
You can also use the built-in WordPress [embed]
shortcode .
Shortcode variations
[fb_plugin like] [fb_plugin send] [fb_plugin share] [fb_plugin save] [fb_plugin comments] [fb_plugin quote] [fb_plugin page href=] [fb_plugin post href=] [fb_plugin video href=] [fb_plugin group href=] [fb_plugin comment href=]
Change the default attributes for each plugin on settings or individually using shortcode attributes, see the list of all available attributes using the “help” attribute like this: [fb_plugin like help=1]
For example: To embed a complete Facebook fan page with the latest post, events, and chat; use the shortcode like this:
[fb_plugin page href=https://www.facebook.com/wpemf tabs=timeline,events,messages ]
To only show events use tabs=events
. For posts use “timeline” and for chat use “messages”.
Embed a share button for your main fan page
[fb_plugin share href=https://www.facebook.com/wpemf layout=button_count ]
Remove the “href” attribute to share the current page even if its invoked from a widget.
Find all possible attributes on the plugin settings “Social Plugins” section. See live examples here.
Set up the use of custom embeds when possible automatically on settings, or change the type of embed individually using the main shortcode.
For example: To embed an album, individual photo, post or fan page from Facebook use the shortcode like this:
[embedfb href=https://www.facebook.com/... social_plugin=false ]
Set the number of photos on embedded albums using the “photos” attribute
[embedfb href=https://www.facebook.com/... photos=200 ]
Select between different styles of embeds using the theme attribute
[embedfb href=https://www.facebook.com/... social_plugin=false theme=classic ]
Available themes are “default”, “classic” and “elegant”. Look on the FAQ on how to fully personalize your embeds.
Automatically replace the WordPress comments system with Facebook comments on selected post types or manually using the shortcode [fb_plugin comments]
.
To enable moderation, scrape URLs and custom embeds you have to set up a Facebook App ID and Secret on the settings page.
Allow your visitors to share text from your site just by selecting it. Activate it automatically on selected post types or using the shortcode [fb_plugin quote]
To see it in action visit this plugin website and select any text Demo.
[fbfullevent url]
[bfullpage url]
Feel like adding something? Create a pull request to the master branch on github. All are welcome.
Fan Page Social Plugin
Fan Page Custom Embed
Video Social Plugin
Video Custom Embed
Album
An album with more than 100 photos now on free version :)
Event (Premium only)
Full Event Shortcode (Premium only)
Full Page Shortcode (Premium only)
Fan page upcoming events (Premium only)
Post Social Plugin
Post Custom Embed
Photo Custom embed
Settings
Profile
You can overwrite the embed template with a custom one.
$fb_data
array that contains the information retrieved from FacebookGo to “Advanced” section on settings and tick the option “Use permalinks on social plugins URLs” if it does not work, please create a support ticket mentioning the old comments plugin.
Social plugins will load at its own time via JavaScript, so you have to wait on them, for custom embeds a cache plugin will significantly increase performance.
The Facebook page you are trying to embed is not available to users logged out from Facebook.
This plugin only works for embedding albums.
Change the number of embedded photos on settings or use the shortcode like this [embedfb album_url photos=200 ] This can only be achieved using the premium version.
Time is the master. Right-click on the video, post, album, etc. time of creation and copy the URL.
Buying the premium extensions helps to keep this project alive.
Buying the premium extensions helps to keep this project alive.