Reputation: 1938
I searched a lot over the web but I didn't fine a working way to post on friends wall over the graph api.
I want to post message on friends wall through the app.
Upvotes: 2
Views: 2754
Reputation: 2824
Also make sure that you have the publish_stream
permission enabled. Here are the other permissions https://developers.facebook.com/docs/authentication/permissions/#user_friends_perms
Upvotes: 2
Reputation: 1795
first time get friend get friend list
[_facebook requestWithGraphPath:@"me/friends" andDelegate:self];
then select friend and post his/her wall
[_facebook requestWithGraphPath:@"frined_ID/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];
Upvotes: 6