如何使用Facebook SDK仅共享文本

时间:2016-07-10 14:47:06

标签: android facebook sdk

我想知道我是否可以使用facebook android SDK将文本(没有任何链接,图像,视频)分享到Facebook墙/时间线?

我试图在Facebook开发者网站上找到它,但没有例子只共享文本。这是文档的链接

https://developers.facebook.com/docs/sharing/android

2 个答案:

答案 0 :(得分:4)

See section 2.3 of Facebook's Platform Policies. https://developers.facebook.com/policy/

Typically sharing of text only (that your app provides) would violate that policy.

It's possible with ShareContent if you have publish permissions and use the Graph API, but in order to not violate policy you'd need to let the user fill in the text string rather than providing it yourself.

答案 1 :(得分:0)

这个问题已在这里得到解答! 这是你要找的答案吗?

share only text using facebook SDK