I make application with only one facebook wall post. It works good for me using FBConnect. but now i want wall post to multiple friends at a time on one button click. Is it possible for post on multiple friends wall? If it is possible then suggest me.
My Code :
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
[NSString stringWithFormat:@"%@",[[arrData objectAtIndex:i] objectForKey:@"id"]], @"to",
@"post on facebook", @"name",
@"facebook wall post", @"description",
@"http://m.facebook.com/apps/myapp", @"link",
nil];
AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[[delegate facebook] dialog:@"feed"
andParams:params
andDelegate:self];
Please reply me.
Thanks in advance for help.
If you are using the feed dialog then you have no choice but to open a dialog per friend.
What you can do though is request the
publish_streamparameter which lets you publish as the logged in user on his or his friends walls.After you get that permission you simply send a request to fb and it gets published, without the use of a dialog, which let’s you send as many requests as you like.
On the ios sdk it’s done with Requests.