FB.UI params doesn't affect to dialog window

笑着哭i 提交于 2019-12-06 13:55:15

Since the API v2.9, this is no longer possible to customise the content of the feed dialog : https://developers.facebook.com/docs/sharing/reference/feed-dialog#deprecated-params

The only part you can customise is the "quote" content, which look like that :

Your code doesn't work because even if you force the API v2.5 or v2.8 with the "FB.init" call, each new Facebook APP is using the v2.9 :

If you don't have any old Facebook APP in your own repository (< v2.9), you can't use the good old feed dialog.

You have to use the Feed Dialog for that, not the Share Dialog. The Share Dialog basically only accepts the URL to share and gets the OG Data from that URL.

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