What are the updated (2013) Facebook URI Schemes for iOS and Android

别等时光非礼了梦想. 提交于 2019-12-08 09:48:08

问题


I'm working on an application where we need to have the user click on a "Share on Facebook" link/button and launch the Facebook app with the post option (which we can do with fb://composer) and then have the ability to automatically put text in it (so for example we need something like this:

<a href="fb://composer?text="Share this item!">Share on Facebook</a>

In the past it was possible, but Facebook must have changed their URI/URL schemes. Does anyone have an updated list available? Does Facebook have it somewhere that I am not seeing?


回答1:


Prefilling text is against Platform policies.

Documentation about how to use the native share dialogs can be found here: https://developers.facebook.com/docs/ios/share-dialog/



来源:https://stackoverflow.com/questions/19942236/what-are-the-updated-2013-facebook-uri-schemes-for-ios-and-android

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