0

I have get my friend id using facebook graph and post message in my friend wall not working.

AppDelegate *getdelegate=(AppDelegate *)[[UIApplication sharedApplication]delegate];

[[getdelegate facebook] requestWithGraphPath:[NSString stringWithFormat:@"%@/feed",fbidstr] andParams:params andHttpMethod:@"POST" andDelegate:self];

I'm using above code. please help me.

San
  • 247
  • 2
  • 12
  • http://stackoverflow.com/questions/12850630/how-to-post-to-a-friends-wall-in-facebook-ios-sdk-3-1 – Rushabh May 08 '13 at 12:20

1 Answers1

1

See the following change from 6th March 2013, posted on the list of completed changes in the Facebook Developers' Roadmap:

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.

Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
Luca Rocchi
  • 6,272
  • 1
  • 23
  • 23