user784625
user784625

Reputation: 1938

post on friends wall, graph api IOS

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

Answers (2)

KarenAnne
KarenAnne

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

Amit
Amit

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

Related Questions