Scenario: I would want to share the post to the wall of only selected friends.
Prerequisites followed: Out of the entire list of FB Friends, select only the necessary friends and create an Array
Steps Tried:
Trial 1: Use FBWebDialogs
and call method + (void)presentFeedDialogModallyWithSession:(FBSession *)session parameters:(NSDictionary *)parameters handler:(FBWebDialogHandler)handler;
In the Parameters dictionary, set value for "to".
Works perfectly fine when the recipient is only one. Cannot share if the recipient is more than one.
Trial 2: Use FBDialogs
and call + (FBAppCall *)presentShareDialogWithParams:(FBShareDialogParams *)params clientState:(NSDictionary *)clientState handler:(FBDialogAppCallCompletionHandler)handler;
In the FBShareDialogParams
, set the Array of Friends.
works fine. But works only when the Facebook App is installed. Else doesnt work.
...
Can some please help me solve this problem:
- Share on wall of multiple Friends.
- Should work with or without the Facebook App being installed on phone.
Thanks