1

我正在使用 GraphAPI 发布到朋友的墙上,但我无法做到。我正在尝试以下链接:

http://graph.facebook.com/friendID/feed

谁能帮我把帖子贴到你朋友的墙上?

4

2 回答 2

1

As of february, you can't post content to a friend's wall using the API - see here: https://developers.facebook.com/roadmap/completed-changes/#february-2013

Removing ability to post to friends walls via Graph API We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail.

You can post links using the FB.ui function w/ the 'to' parameter set to a friend's id, however.

于 2013-04-10T08:15:42.710 回答
0

请参阅自 2013 年 3 月 6 日以来的以下更改,发布在 Facebook 开发人员路线图中的已完成更改列表中:

Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail.
If you want to allow people to post to their friends' timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post.
于 2013-09-23T05:50:22.160 回答