{"id":1137,"date":"2011-09-09T10:36:57","date_gmt":"2011-09-09T10:36:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-facebook-plugin\/"},"modified":"2026-03-06T22:33:05","modified_gmt":"2026-03-06T22:33:05","slug":"simple-facebook-plugin","status":"publish","type":"plugin","link":"https:\/\/dv.wordpress.org\/plugins\/simple-facebook-plugin\/","author":9007740,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"trunk","tested":"6.9.4","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"Simple Like Page Plugin","header_author":"topdevs.net","header_description":"","assets_banners_color":"f7f9fb","last_updated":"2026-03-06 22:33:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/topdevs.net\/simple-like-page-plugin\/","header_author_uri":"https:\/\/topdevs.net","rating":4.3,"author_block_rating":0,"active_installs":10000,"downloads":340324,"num_ratings":24,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.2":{"tag":"1.2.2","author":"fornyhucker","date":"2014-02-10 13:08:05"},"1.3.2":{"tag":"1.3.2","author":"fornyhucker","date":"2015-06-09 14:19:06"},"1.5":{"tag":"1.5","author":"fornyhucker","date":"2017-03-30 05:57:24"},"1.5.1":{"tag":"1.5.1","author":"fornyhucker","date":"2023-11-03 20:07:16"},"1.5.2":{"tag":"1.5.2","author":"illiaonline","date":"2024-05-24 22:14:05"},"1.5.3":{"tag":"1.5.3","author":"illiaonline","date":"2026-03-06 22:33:05"}},"upgrade_notice":[],"ratings":{"1":4,"2":0,"3":1,"4":0,"5":19},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3476747,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3476747,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3476756,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3476747,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"simple-facebook-plugin\/page":{"name":"simple-facebook-plugin\/page","title":"Simple Like Page Plugin"}},"tagged_versions":["1.2.2","1.3.2","1.5","1.5.1","1.5.2","1.5.3"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":3476757,"resolution":"4","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3476757,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3476757,"resolution":"2","location":"plugin"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3476757,"resolution":"5","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3476757,"resolution":"3","location":"plugin"}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17024,157,247,396,174],"plugin_category":[43,56],"plugin_contributors":[78842],"plugin_business_model":[],"class_list":["post-1137","plugin","type-plugin","status-publish","hentry","plugin_tags-embeds","plugin_tags-facebook","plugin_tags-performance","plugin_tags-privacy","plugin_tags-social","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-topdevs","plugin_committers-fornyhucker","plugin_committers-illiaonline","plugin_committers-topdevs"],"banners":{"banner":"https:\/\/ps.w.org\/simple-facebook-plugin\/assets\/banner-772x250.png?rev=3476747","banner_2x":"https:\/\/ps.w.org\/simple-facebook-plugin\/assets\/banner-1544x500.png?rev=3476756","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-facebook-plugin\/assets\/icon-128x128.png?rev=3476747","icon_2x":"https:\/\/ps.w.org\/simple-facebook-plugin\/assets\/icon-256x256.png?rev=3476747","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-facebook-plugin\/trunk\/screenshot-1.png?rev=3476757","caption":""},{"src":"https:\/\/ps.w.org\/simple-facebook-plugin\/trunk\/screenshot-2.png?rev=3476757","caption":""},{"src":"https:\/\/ps.w.org\/simple-facebook-plugin\/trunk\/screenshot-3.png?rev=3476757","caption":""},{"src":"https:\/\/ps.w.org\/simple-facebook-plugin\/trunk\/screenshot-4.png?rev=3476757","caption":""},{"src":"https:\/\/ps.w.org\/simple-facebook-plugin\/trunk\/screenshot-5.png?rev=3476757","caption":""}],"raw_content":"<!--section=description-->\n<p>Embedding social Page content often slows down WordPress sites and loads third-party scripts before visitors interact.<\/p>\n\n<p>Simple Like Page Plugin helps you embed Meta\u2122 Page content without hurting performance, by delaying script loading until interaction or visibility.<\/p>\n\n<p>This reduces unnecessary requests, improves Core Web Vitals, and gives you control over when external scripts load.<\/p>\n\n<p>This plugin is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc.\nAll trademarks belong to their respective owners.<\/p>\n\n<h3>Key Features<\/h3>\n\n<h4>Privacy-First Loading<\/h4>\n\n<ul>\n<li>Delays Facebook script loading until user interaction<\/li>\n<li>Optional lazy loading when the embed enters the viewport<\/li>\n<li>Helps reduce third-party requests on initial page load<\/li>\n<\/ul>\n\n<h4>Performance Focused<\/h4>\n\n<ul>\n<li>Lightweight HTML placeholder before activation<\/li>\n<li>No render-blocking Facebook SDK on initial page load<\/li>\n<\/ul>\n\n<h4>Multiple Integration Options<\/h4>\n\n<ul>\n<li>Gutenberg block<\/li>\n<li>Shortcode<\/li>\n<li>Classic widget<\/li>\n<li>Theme template tag<\/li>\n<\/ul>\n\n<h4>Extensible<\/h4>\n\n<ul>\n<li>Hooks and filters for add-ons<\/li>\n<li>Architecture designed for future consent-based extensions<\/li>\n<\/ul>\n\n<h3>How It Works<\/h3>\n\n<ol>\n<li>Renders a placeholder instead of the Facebook embed<\/li>\n<li>Loads Facebook scripts only after user interaction (or when in view, if enabled)<\/li>\n<li>Renders the Page Plugin once scripts are available<\/li>\n<\/ol>\n\n<p>This approach is designed to improve performance and reduce unnecessary third-party requests.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>You can add the Facebook Page Plugin in four different ways.<\/p>\n\n<h4>1. Gutenberg Block (Recommended)<\/h4>\n\n<ol>\n<li>Edit any post or page<\/li>\n<li>Click <strong>Add Block (+)<\/strong><\/li>\n<li>Search for <strong>Simple Like Page Plugin<\/strong><\/li>\n<li>Insert the block<\/li>\n<li>Paste your Facebook Page URL<\/li>\n<li>Adjust layout and privacy options in the block sidebar<\/li>\n<\/ol>\n\n<h4>2. Shortcode<\/h4>\n\n<p>Use the shortcode inside any post or page:<\/p>\n\n<pre><code>sfp-page-plugin\n<\/code><\/pre>\n\n<p>Shortcode parameters:<\/p>\n\n<ul>\n<li><code>url<\/code><\/li>\n<li><code>width<\/code><\/li>\n<li><code>height<\/code><\/li>\n<li><code>hide_cover<\/code><\/li>\n<li><code>show_facepile<\/code><\/li>\n<li><code>small_header<\/code><\/li>\n<li><code>timeline<\/code><\/li>\n<li><code>events<\/code><\/li>\n<li><code>messages<\/code><\/li>\n<li><code>locale<\/code><\/li>\n<li><code>click_to_load<\/code><\/li>\n<li><code>lazy_load<\/code><\/li>\n<li><code>placeholder_text<\/code><\/li>\n<li><code>placeholder_bg_color<\/code><\/li>\n<li><code>placeholder_text_color<\/code><\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>[sfp-page-plugin url=\"https:\/\/www.facebook.com\/WordPress\" width=\"320\" timeline=\"true\"]\n<\/code><\/pre>\n\n<h4>3. Widget<\/h4>\n\n<ol>\n<li>Go to <strong>Appearance -&gt; Widgets<\/strong><\/li>\n<li>Add <strong>SFP - Like Page Plugin<\/strong><\/li>\n<li>Enter your Facebook Page URL<\/li>\n<li>Configure display options<\/li>\n<li>Save<\/li>\n<\/ol>\n\n<h4>4. Template Tag (Advanced)<\/h4>\n\n<p>For theme developers:<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p> 'https:\/\/www.facebook.com\/WordPress\/',\n        'width' =&gt; '300',\n        'timeline' =&gt; true,\n        'locale' =&gt; 'en_US'\n    );\n    sfp_page_plugin( $args );\n} ?&gt;\n    `<h3>Performance &amp; Privacy<\/h3>\nBy default, the plugin delays Facebook loading until interaction. If you enable lazy loading, scripts are loaded when the embed is in view.<\/p>\n\n<p>Facebook may set cookies or process data once the embed loads. You are responsible for updating your privacy policy as needed.<\/p>\n\n<h3>Settings<\/h3>\n\n<p>The plugin includes a <strong>Performance &amp; Privacy<\/strong> section where you can control:<\/p>\n\n<ul>\n<li>Click-to-load (default off)<\/li>\n<li>Lazy loading (default on)<\/li>\n<li>Placeholder text<\/li>\n<li>Placeholder colors<\/li>\n<\/ul>\n\n<p>You can also set a default Facebook Page URL and locale in the settings screen.<\/p>\n\n<h3>Compatibility<\/h3>\n\n<ul>\n<li>Works with modern WordPress themes<\/li>\n<li>Compatible with caching and performance plugins<\/li>\n<li>Supports Gutenberg and Classic Editor<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>Found a bug or have a feature request? Please use the <strong>Support<\/strong> tab on WordPress.org.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the WordPress admin<\/li>\n<li>Add the block, shortcode, widget, or template tag<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20load%20facebook%20automatically%3F\"><h3>Does this plugin load Facebook automatically?<\/h3><\/dt>\n<dd><p>No. Facebook scripts load only after interaction by default. You can also enable lazy loading.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20gdpr%20compliant%3F\"><h3>Is this plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>The plugin helps control when Facebook scripts load, but compliance depends on your site configuration and privacy policy.<\/p><\/dd>\n<dt id=\"is%20this%20an%20official%20facebook%20plugin%3F\"><h3>Is this an official Facebook plugin?<\/h3><\/dt>\n<dd><p>No. This is a third-party plugin that uses Facebook's Page Plugin embed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Privacy-first loading with click-to-load and lazy loading<\/li>\n<li>Centralized script loading and consent-ready hooks<\/li>\n<li>Gutenberg block with performance controls<\/li>\n<li>New settings screen for performance and placeholder options<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Teseted up to WordPress 6.3.2<\/li>\n<li>PHP8.x Compatibility check<\/li>\n<li>Security fixes for minor Authenticated (Contributor+) XSS vulnerability<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Teseted up to WordPress 4.9.6<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added Events and Messages tabs<\/li>\n<li>Added Small Header Option<\/li>\n<li>Fixed PHP7 Warning and Notice messages<\/li>\n<li>Removed deprecated Like Box widget<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Redirect issue fixed<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Deprecated \"Like Box\" replaced with new Facebook \"Page Plugin\"<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Add-on support added<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Option to show Like Box with no border changed to native Facebook data-show-border=false<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added option to show Like Box with no border<\/li>\n<li>Added Norwegian(bokmal) locale to widget<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Plugin structure reorganized. Shortcode and template tag functionality added<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>More than 20 Facebook Locales added<\/li>\n<\/ul>","raw_excerpt":"Embed Meta\u2122 Page content without slowing down your site or loading third-party scripts before user interaction.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1137"}],"author":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/topdevs"}],"wp:attachment":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1137"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1137"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1137"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1137"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1137"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}