WP Embed Facebook

Wordpress Plugin
Download latest - 3.0.10

Developers

poxtron

Download Stats

Today 44
Yesterday 83
Last Week 575
All Time 245,575
Banner 772x250

Formerly WP Embed Facebook. 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.

Supported Embeds

  • Videos & Live Video
  • Albums
  • Photos
  • Fan pages
  • Groups
  • Page Events List
  • Posts
  • Profiles
  • Single Comment
  • Events (Premium)

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.

All custom embeds examples

All social plugins examples

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 .

Facebook Social Plugins

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.

Custom Embeds

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.

Facebook Comments

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.

The Quote Social Plugin

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.

Requirements

  • Nothing to embed posts, pages, videos, and comments.
  • For custom embeds and comments moderation a Facebook App Id and Secret are required more details inside settings.

Extended Embeds Add-On

  • Scrape your shared URL's on Facebook on update or manually on selected post types
  • Simple Widget for generating custom embeds and social plugin shortcodes
  • Embed single events you have been invited to
  • Embed all upcomming events of your fan page
  • Embed the full content of a single event using the shortcode [fbfullevent url]
  • Custom embed for fan pages with posts, events and albums tabs using the shortcode [bfullpage url]
  • One accessible yearly payment for a license that you can use on all the sites you want :)

Contributing

Feel like adding something? Create a pull request to the master branch on github. All are welcome.


Releases (77 )

Version Release Date Change Log
3.0.10 2020-09-09
3.0.8 2020-02-25
3.0.7 2019-05-31
  • Plugin Name changed to Magic Embeds to avoid legal issues
  • Fixed broken links
  • Updated api version to 3.3 and deprecated old versions
  • Added banner add for premium version
3.0.6 2019-05-02
  • Updated: minimum version.
3.0.5 2019-02-06
3.0.4 2018-12-14
  • Fixed: FaacebookApiException not found error
  • Fixed: String to array warning
  • Fixed: Broken links... some still there...
3.0.3 2018-12-13
  • Fixed: Jetpack photon compatibility
3.0.2 2018-12-13
  • Fixed: Login error for non admin users
  • Removed: Unused code
  • Updated: Framework update action
  • Fixed: Broken links
3.0.1 2018-12-10
3.0.0 2018-12-10
  • Improved: Translated API calls
  • Added: Url scraper
  • Added: Group social plugin
  • Removed: Deprecated social plugins
  • Removed: Events custom embeds because Facebook API changes, however, some functionality is still there on the premium version
  • Improved: Universal options page
  • Fixed: Comments count and order now on
  • Added: Facebook SDK v3.2
  • Added: Compatibility for visual themes
3.0 2018-05-24
2.2.3 2017-12-18
  • Added: filter for $fbsdk
  • Added: Facebook SDK v2.11
2.2.2 2017-09-13
  • Added: Facebook SDK v2.10
2.2.1 2017-09-10
  • Fixed: Album thumbnails
  • Fixed: Default sdk locale
  • Fixed: Tiny MCE CSS not updating correctly
2.2.0 2017-07-25
  • Improved: fb.js no longer depends on jQuery
  • Improved: Templates CSS (completely rewritten)
  • Improved: Custom embed responsiveness
  • Improved: Album thumbnails look
  • Fixed: Adaptive embed script
  • Added: [embedfb] shortcode just in case [facebook] shortcode is being used by another plugin
  • Updated: Deprecate Facebook SDK version 2.3 force to 2.4
2.1.15 2017-07-21
2.1.14 2017-06-27
  • Compatibility for PHP 5.3 0..o
2.1.13 2017-06-25
  • Fixed: website page url @sabrina_b
  • Added: Shortcode widget
  • Updated: Facebook locales
2.1.12 2017-06-24
  • Added: shortcode widget
  • Added: api version 2.9
  • Added: filter wef_embedded_with
  • Added: advanced option to use permalinks on social plugins urls
  • Improved: updated wp_get_sites for get_sites
2.1.11 2017-06-24
  • Added: shortcode widget
  • Added: api version 2.9
  • Added: filter wef_embedded_with
  • Added: advanced option to use permalinks on social plugins urls
  • Improved: updated wp_get_sites for get_sites
2.1.10 2017-03-25
  • Deprecated Facebook sdk 2.1 and 2.2 automatically updates to 2.3
  • Better admin navigation
2.1.9 2017-03-02
  • Fixed page likes count
  • Fix css not found no custom templates
2.1.8 2017-02-27
2.1.7 2016-10-06
  • Fixed: url understanding on page embeds when they have the format page-name-8798798
  • Fixed: website on custom embed fail on edge cases
  • Fixed: download video link
  • Added: spanish translations ES, MX, AR, CL, GT, PE, VE
2.1.6 2016-09-20
  • Fixed: missing posts from page embeds
  • Updated: readme file
2.1.5 2016-09-16
  • Added: new filter wef_lightbox_title
  • Added: event time format option
  • Added: single post time format option
  • Added: single post now triggers photos in lightbox
  • Fixed: single post caption link error
  • Added: compatibility for custom embed templates css (pierreg_)
  • Fixed: typos on readme file
  • Improved: Lightbox css and option section
  • Added: Facebook API v2.7
  • Added: option to use lightbox on [gallery] shortcode (experimental)
2.1.4 2016-07-15
  • Added: new action 'wp_embed_fb' on WP_Embed_FB class
  • Added: compatibility for using href=, url=, uri=, link=, on [facebook] shortcode
  • Fixed: shortcode not running when text changed for htmlentities
  • Added: warning when shortcode in badly used.
2.1.3 2016-07-12
  • Fixed: includes giving problems in some sites.
2.1.2 2016-07-10
  • Added: [fb_plugin] shortcode to embed any type of social plugin
  • Added: Auto embed comments plugin to certain post types
  • Added: Auto embed quote plugin to certain post types
  • Added: Default options for all social plugins
  • Added: Advanced option to integrate other lightbox scripts to the album embeds
  • Improved: Admin area is more comprehensive with tons of examples
  • Improved: url recognition
  • Deprecated: Old functions on Wef_Social_Plugins class
2.1.1 2016-07-09
  • Updated: social plugins embed
2.1.0 2016-06-21
  • Fixed: [facebook object_id] shortcode
  • Fixed: error for uls something-3423223
  • Added: Github release https://github.com/sigami/wp-embed-facebook
  • Added: Extra FAQ
2.1 2016-05-14
  • Removed all options and moved them to a single one 'wpemfb_options'
  • Removed resize cover javascript it is now done with css
  • Fixed timezone bug custom post and events
  • Added option to only load scripts when an embed is present
  • Added option to reset all options
  • Added Jetpack Photon compatibility
  • Added X Theme compatibility
  • Added lightbox.sass for theme developers
  • Updated Lightbox script and style
  • Added Lightbox Option Album Label
  • Added Lightbox Option Always Show Nav On Touch Devices
  • Added Lightbox Option Show Image Number Label
  • Added Lightbox Option Wrap Around
  • Added Lightbox Option Disable Scrolling
  • Added Lightbox Option Fit Images In Viewport
  • Added Lightbox Option Max Width
  • Added Lightbox Option Max Height
  • Added Lightbox Option Position From Top
  • Added Lightbox Option Resize Duration
  • Added Lightbox Option Fade Duration
  • Changed css on classic theme
2.0.9.1 2016-05-05
  • Fixed Admin notice bug
  • Lightbox css improved
  • Fixed cover css
2.0.9 2016-04-27
  • Fixed css on footer when using different themes
  • Updated all.js to sdk.js (bryant1410)
  • Optimization for sites with no Facebook App
  • Added error messages for special cases
  • Added advanced option for selecting Facebook SDK version
  • Fixed locale error inside editor
  • Fixed link underline in some themes
  • Fixed several css and html structure nothing critical
2.0.8 2016-03-25
  • Fix Event title css
2.0.7 2016-03-12
  • Settings translation link
  • Improved object id identification for fan pages and posts
  • Video download option
2.0.6 2016-02-29
  • Added new filter "wpemfb_embed_fb_id"
  • Added Download Video option
  • Added Settings link on plugin description
  • Improved type and fb_id recognition
2.0.5 2016-01-28
  • Improved [embed] shortcode compatibility !
  • Added new 'photos' attribute for shortcode used only on albums
  • Added 'type' parameter to wpemfb_template filter
  • Fixed https on all templates
  • Fixed like and comment links on single post raw
  • Fixed forced app token only if it has app
  • Fixed admin shortcode references
  • Fixed removed unused options on uninstall
  • Fixed translations strings
  • Fixed notice on installations with no FB App
2.0.4 2015-12-18
  • changed shortcode tag from [facebook=url] to [facebook url]
  • force app access token
2.0.3 2015-11-14
  • Fixed notice on pages and events with no cover
  • Moved admin scripts to footer
2.0.2 2015-11-11
  • Added options for page social plugins
  • Changed admin layout
  • Does not need facebook app for simple embeds
  • More human friendly
2.0.1 2015-10-14
  • Fixed message on photo single post
2.0 2015-10-13
  • Fixed language issue when embedding social plugins in admin
  • Fixed time on events
  • Update Facebook API to 2.4
  • Added a new parameters for shortcode 'social_plugin' and 'theme'
  • Fixed shortcode use [facebook=FB_Object_ID ]
  • Improved CSS and themes
  • New Embed Post Raw
1.9.6.7 2015-08-13
  • Fixed delete of options on uninstall
1.9.6.6 2015-08-08
  • Fixed Embed Video Error
  • Fixed like and follow button html
1.9.6.5 2015-08-07
  • Fixed more things on multisite
  • Fixed Page Template HTML
1.9.5 2015-08-07
  • Fixed event templates
  • Fixed album thumbnails
  • Fixed jQuery UI error when admin is in https
1.9.6.4 2015-08-05
  • Fixed translation files
  • Fixed bug on event template
1.9.6.3 2015-08-05
  • Fixed MultiSite error
  • New Shortcode use [facebook=FB_Object_ID ] solution for fb permalinks
  • Fixed raw attribute on shortcode when url is video
1.9.6.2 2015-08-05
  • Fixed MultiSite error
1.9.6.1 2015-07-31
  • Fixed headers already sent notice.
  • Added Links to Facebook Apps and plugin settings
  • Removed deprecated is_date_only field on event template
1.9.6 2015-07-08
  • Fix Fatal Error on non object
1.9.4 2015-06-07
  • Added option to embed raw videos with facebook code
  • Added poster on raw embed videos
  • Update to FB API v2.3
  • Update raw photo template
1.9.3 2015-05-04
  • Fixed error on older versions of PHP
1.9.2 2015-05-04
  • Line breaks fix
1.9.1 2015-05-04
  • Line breaks fix
1.9 2015-05-01
  • Facebook video embed code in case video type is not supported
  • Fix: Compatibility with other facebook plugins thanks to ozzWANTED
  • New filter: 'wpemfb_api_string' and 'wpemfb_2nd_api_string'
  • Show embedded posts on admin
  • Fix undefined variable on js
  • Fix languages on event time
1.8.3 2015-03-09
  • Better Video Embeds
1.8.2 2015-02-04
  • Fix: Error on some systems nothing critic.
1.8.1 2015-01-30
  • Fix: Warning on Dashboard
  • Update: Readme.txt
1.8 2015-01-24
  • Compatibility with twenty 15 theme
  • New css for embeds
  • Compatibility with premium plugin
1.7.1 2014-11-23
  • Documentation Update
  • New advanced option
1.7 2014-10-28
  • Better detection of video urls
  • FB js now loaded via jquery
  • More comprehensive admin section
  • Fix -- pictures not showing on chrome
1.6.2 2014-09-19
  • minor bugs
1.6.1 2014-09-18
1.6 2014-08-29
  • Responsive Template
  • Posts on Page Embeds
  • Album Photo Count
  • Fixes on Admin Page
  • Remove of unnecesary code
1.5.3 2014-05-16
  • fixed Warning in admin
1.5.2 2014-04-03
1.5.1 2014-04-03
1.5 2014-04-03
  • Support for raw videos and photos
  • Support for albums
  • Spanish translations
1.4 2014-03-20
  • Support for Video url's
  • Support for filter 'wpemfb_category_template'
  • Follow buttons
  • Better photo embeds
  • New webstie www.wpembedfb.com !
1.2.1 2014-03-09
  • Updated Instructions
  • Change theme template directory
1.2 2014-03-09
  • Embed posts
  • Embed photos
  • Like buttons
1.3 2014-03-09
  • Shortcode [facebook=url ] width is optional
  • Themes
  • Multilingual Like Buttons
1.2.3 2014-03-08
1.2.2 2014-03-08
  • Bugs and documentation
1.1.1 2014-03-01
  • Corrected links on events.