You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Facebook Follow Button社交插件加载失败,是否已被官方移除?

Fixing the Broken Facebook Follow Button

I recently ran into this exact issue where a previously working Facebook Follow Button stopped loading entirely, and like you, struggled to find clear documentation about why. Here’s what I uncovered and how to resolve it:

What Happened to the Follow Button?

Facebook has quietly discontinued the standalone Follow Button social plugin. Even though searching for "Follow Button - Social Plugins" on their developer site still returns a result, the actual page either redirects to the general Social Plugins hub or throws a 404. They didn’t issue a public announcement about this removal, which is why it caught so many of us off guard.

Replacement Options

You have two reliable ways to replace the broken plugin:

This is Facebook’s current official solution for page engagement—it includes a Follow/Like button alongside a preview of your page’s timeline, making it more versatile than the old standalone button. Here’s a basic implementation you can tweak for your site:

<div class="fb-page" 
     data-href="https://www.facebook.com/YourPageName" 
     data-width="320" 
     data-height="240" 
     data-hide-cover="false"
     data-show-facepile="true"
     data-tabs="timeline">
  <blockquote cite="https://www.facebook.com/YourPageName" class="fb-xfbml-parse-ignore">
    <a href="https://www.facebook.com/YourPageName">Your Page Name</a>
  </blockquote>
</div>

Don’t forget to ensure your page loads the latest Facebook JS SDK (place this before your closing </body> tag):

<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v18.0"></script>

2. Create a Custom Follow Button

If you prefer a minimal, lightweight option, build a custom button that links directly to your Facebook page. When users click through, they’ll see the Follow button on your page. To keep it on-brand, use Facebook’s official Follow icon (you can download the SVG from their brand guidelines) and style it to match your site’s design.

Quick Troubleshooting Checks

  • Verify your Facebook Developer app is active and hasn’t faced any policy restrictions—sometimes plugin access gets revoked if your app is unreviewed or violates guidelines.
  • Confirm you’re using the latest version of the Facebook JS SDK; older versions may not support the Page Plugin or have broken references to the retired Follow Button.

内容的提问来源于stack exchange,提问作者Vivek Athalye

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 10:09:38