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;
}}
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]];
Yes, this was announced months ago and took effect on Feb 6th 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 thetarget_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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With