Thanks to visit codestin.com
Credit goes to developers.facebook.com

社交插件

本文档列出了可用的 Facebook 社交插件,可助您的应用实现赞、分享、评论及更多其他功能。

As Meta’s developer platform continues to evolve, we're making strategic decisions to focus on tools and features that deliver the most value to developers and businesses. Today, we're announcing that two Facebook Social Plugins - the Facebook Like button and the Facebook Comment button - will be discontinued on February 10, 2026.

This change reflects our commitment to maintaining a modern, efficient platform that serves developers' current needs while enabling us to invest in future innovations. The plugins that will be discontinued reflect an earlier era of web development, and their usage has naturally declined as the digital landscape has evolved.

On February 10, 2026 the plugins will gracefully degrade by rendering as a 0x0 pixel (i.e., an invisible element) rather than causing errors or breaking your website functionality. This change is intended to only remove the plugin content from your site and should not otherwise impact your website's functionality.

For more information, please see the blog and FAQ about this change.

欧洲地区社交插件的变更

由于系统会向欧洲地区使用 Facebook 产品的用户显示更新过的 Cookie 同意提示,因此可能会发现社交插件受到一些影响。对于欧洲地区的用户,我们将不再支持“赞”和“评论”社交插件,除非这些用户:1) 已登录到他们的 Facebook 帐户中,并且 2) 已同意接受“应用和网站 Cookie”控件。如果已同时满足这两项要求,则用户将能够看到“赞”或“评论”按钮之类的插件,还能与其互动。如果未满足上列任一要求,则用户将不能看到那些插件。

欧洲地区是指列出的一系列特定国家/地区,其中包括:

  • 欧盟 (EU):奥地利、比利时、保加利亚、克罗地亚、塞浦路斯共和国、捷克共和国、丹麦、爱沙尼亚、芬兰、法国、德国、希腊、匈牙利、爱尔兰、意大利、拉脱维亚、立陶宛、卢森堡、马耳他、荷兰、波兰、葡萄牙、罗马尼亚、斯洛伐克、斯洛文尼亚、西班牙、瑞典

  • 仅属于欧洲经济区 (EEA)/属于欧洲自由贸易联盟 (EFTA) 或关税同盟的非欧盟 (EU) 成员:[仅属欧洲经济区/属于欧洲自由贸易联盟] 冰岛、列支敦士登和挪威;瑞士:[欧盟关税同盟] 所有海峡群岛、马恩岛、摩纳哥;塞浦路斯英属基地;[欧洲关税同盟] 安道尔、圣马力诺、梵蒂冈。

  • 属于欧洲外延地区 (OMR) 的非欧盟成员:马提尼克岛、马约特岛、瓜德罗普岛、法属圭亚那、留尼汪岛、圣马丁岛、马德拉群岛、亚速尔群岛、加那利群岛。
  • 英国(所有不列颠群岛)

文档内容

使用社交插件时,请遵循最佳实践

“赞”按钮

将公共主页与内容一键分享至 Facebook 个人主页。

“分享”按钮

将内容分享到 Facebook,与好友或小组分享,或以私信形式分享。

评论插件

使用 Facebook 账户评论相关内容。

公共主页插件

将 Facebook 公共主页的组件嵌入网页。

嵌入式帖子

将公开帖添加到网页内容。

嵌入式视频和直播视频播放器

将公开的 Facebook 视频与 Facebook 直播视频添加到网页。

常见问题

No. The plugins will gracefully degrade to invisible elements, this should not otherwise impact your website.

固定链接

No, we recommend removing the plugin code for a cleaner user experience, but this is optional.

固定链接

No replacement plugins are being provided. This change reflects evolving web development practices.

固定链接

We will send two developer alerts to all applications that have used these plugins recently: the first will provide the initial 3-month announcement, and the second will be sent one week before the discontinuation date. Please ensure your developer account email is up to date to receive these important notifications.

固定链接

The Feburary 10, 2026 date is final to allow us to focus resources on modern platform features.

固定链接

另请参阅