从2013年2月6日起,通过“feed”连接发送到朋友的墙上,使用Graph API [英] Posting to friends' wall with Graph API via 'feed' connection failing since Feb 6th 2013

查看:171
本文介绍了从2013年2月6日起,通过“feed”连接发送到朋友的墙上,使用Graph API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程式开始未能在朋友的资讯提供上发布商品。
我收到这个错误:

My app started failing to post items on friends' feeds. I am getting this error:

Facebook request error: The operation couldn’t be completed.
(facebookErrDomain error 10000.), details: Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0xa26e990 {error={
    code = 200;
    message = "(#200) Feed story publishing to other users is disabled for this application";
    type = OAuthException;
}}

我没有更改任何应用程序。也许与Facebook升级有关?
这些是我连接到Facebook的权限:

I didn't change anything in the app. Maybe it is related with Facebook upgrade? These are the permissions that I connect to Facebook with:

[appDelegate.facebook authorize:[NSArray arrayWithObjects:@"publish_stream", @"friends_birthday", nil]];


推荐答案

是的,这是宣布个月前,并于2013年2月6日生效:

Yes, this was announced months ago and took effect on Feb 6th 2013:


删除通过Graph API发布到朋友墙壁的能力

我们将删除发布到用户的朋友的墙壁的能力通过Graph API。具体来说,针对[user_id] / feed其中[user_id]与会话用户不同的帖子,或者在 target_id 用户与会话用户不同的stream.publish调用中,失败。如果你想允许人们发布他们的朋友的时间表,请调用 feed对话框<一>。通过用户提及标记动作标记将显示在朋友的时间轴上(假设朋友批准标签)。有关详细信息,请参见此博客帖子

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.

解决方法是使用 Feed对话框,允许用户发布相同的内容,但选择要发布的用户。

The workaround is to use the Feed Dialog which allows users to post the same content, but choose the user they want to post it to.

这篇关于从2013年2月6日起,通过“feed”连接发送到朋友的墙上,使用Graph API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆