简体   繁体   English

Facebook SDK iPhone,朋友列表

[英]Facebook SDK iPhone, friends list

I have one question. 我有一个问题。 I want to share photos from my application via facebook. 我想通过Facebook分享我的应用程序中的照片。 There is no problem to share it on my wall, but is there any possibility to share it on friend's wall ? 在我的墙上共享它没有问题,但是有可能在朋友的墙上共享它吗? Something like click share button, log in, choose friends and share it on their wall ? 单击共享按钮,登录,选择朋友并在他们的墙上共享之类的东西? I have been searching application in appstore which can do that, but i found nothing. 我一直在appstore中搜索可以执行此操作的应用程序,但是我什么也没找到。

You can post to a user's friend's feed using the Graph API, assuming the user granted you the relevant (publish_stream) permissions. 假设用户已授予您相关的(publish_stream)权限,则可以使用Graph API将其发布到用户朋友的feed中。

POST /[friend]/feed

message=hello&picture=http://...

I should stress strongly that users consider this very spammy behavior for apps, and it is not generally recommended. 我要特别强调,用户认为应用程序的这种垃圾邮件行为非常垃圾,通常不建议这样做。

Source: https://developers.facebook.com/docs/reference/api/post/ 资料来源: https : //developers.facebook.com/docs/reference/api/post/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM