Is Facebook sharer.php endpoint NOT deprecated anymore?

南楼画角 提交于 2019-12-04 04:28:32

问题


Is Facebook sharer.php endpoint NOT deprecated anymore ?

I have been doing a lot of digging and researching on whether OR not , we can still use the Facebook share dialog URL for sharing : http://www.facebook.com/sharer/sharer.php?u=[URL]

But, the official Facebook docs DO NOT reference it anywhere.

Facebook encourages developers to use the more modern Share Dialog that can be invoked using the JavaScript SDK or using a URL link (https://developers.facebook.com/docs/sharing/reference/share-dialog)

But this will require developers to register a Facebook App ID.

Therefore, it is easier to use the sharer.php approach. But, want to know if it is still safe to use sharer.php without the functionality breaking in the near future.

Appreciate your help in advance.


回答1:


According to this post from January 2014 (which points to this documentation), sharer.php is officially no-longer deprecated.

I couldn't find the text they quoted in the documentation they linked to, but when I hover over the "Share" sample button on the documentation page the URL they are using -- it pops up in the lower left-hand corner of Firefox -- is the sharer.php URL.

Also, see this answer, which gives the same information as the above post.



来源:https://stackoverflow.com/questions/27973009/is-facebook-sharer-php-endpoint-not-deprecated-anymore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!