Posting to friends' wall with Graph API via 'feed' connection failing since Feb 6th 2013
Asked Answered
C

1

15

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]];
Callboy answered 9/2, 2013 at 21:58 Comment(3)
Yes, this was announced months ago and took effect on Feb 6th - developers.facebook.com/roadmap/completed-changesHisakohisbe
But was is the problem? I cannot post on a friend feed anymore? Are you sure Facebook blocked that?Callboy
How can I enable my App for publishing stories on other users?Callboy
H
21

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 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.

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.

Hisakohisbe answered 10/2, 2013 at 16:2 Comment(5)
This is so sad... :( Took me quite a while to make this feed work properly back then... Now I will have to make it again...Callboy
Can you please help me here ?Meredeth
@Hisakohisbe is it possible to post something via the feed dialog to multiple users, instead of just one?Wholesome
No; the send dialog supports choosing multiple recipients but the feed dialog allows one friend onlyHisakohisbe
Working correctly in iphone and ipad but facing this issue when try to publish on friend,s wall using android.Typhus

© 2022 - 2024 — McMap. All rights reserved.