Is the Facebook “Share” button being deprecated?

后端 未结 6 1634
温柔的废话
温柔的废话 2020-12-17 10:29

I have a business requirement to add a Share on Facebook button to a site. There are a lot of links on the web that point to this page but that just points to the page about

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-17 11:17

    2014: The sharer.php has been well..undeprecated. It figures, as this method has been used on millions of sites and was still being used even when the docs were previously saying that it was deprecated. Links in the old format will use the new share button functionality:

    https://developers.facebook.com/docs/plugins/share-button/

    This new Share Button works with a new version of our web-based Share Dialog. When using the sharer.php method of invoking the Share Dialog, this dialog will also display the new version without any changes required.

    And:

    Can I use the Share Dialog without using the Share Button? Yes, although we recommend using the Share button to offer the simplest and most consistent experience for people using your site, you can invoke the Share Dialog using a link:

提交回复
热议问题