0
votes

I'm developing a c# application that uses Graph api to interact with facebook platform. Now I'm trying to post a message on wall of a friend and I 've this error

(OAuthException) (#200) Feed story publishing to other users is disabled for this application

I used this code (csUserId is string with id of a valid user, if I put "me" it works, with a user code it gives exception=

dynamic cRes = m_cFB.Post("/"+csUserId+"/feed", new
                {
                    message = "Final Test",
                    link = "http://www.test.it"
                });

I found on net several solutions, like Disable "February 2013 Breaking Changes", but I didn't find it in my application settings. I found only those ones July 2013 Breaking Changes: October 2013 Breaking Changes and I disabled them. As authorizations I set

User & Friend Permissions: user_birthday user_likes friends_birthday friends_likes

Autorizzazioni aggiuntive: publish_stream read_stream read_friendlists

But exception still occurrs. Could you help me? Thanks

1

1 Answers

0
votes

The ability to post on friend's wall has been depreciated by the Facebook. Quoting from the Developer Roadmap

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.

Also the ability to disable the breaking change will not be available as this has already gone into effect permanently for everyone.