问题描述
我的工作,我们需要有一个用户点击在Facebook上分享链接/按钮,启动与后选项(我们可以做FB://作曲家)的Facebook应用程序的应用程序和然后还要自动把文字它的能力(因此,例如,我们需要这样的:
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>
在过去,它是可能的,但Facebook也必须改变了他们的URI / URL方案。有没有人有可用的更新列表?实是否有它的地方,我没有看到?
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?
推荐答案
prefilling文字是对平台的政策。
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/
这篇关于什么是更新(2013年)的Facebook URI方案适用于iOS和Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!