I am using facebook sdk for my my iOS facebook application. I want to send app request to multiple users. I am using following method for that purpose.
NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
@"Get Started",@"name",@"http://www.facebook.com/apps/application.php?id=135775646522275/",@"link", nil], nil];
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"Check out this awesome app I am using.",@"message",
@"Check this out", @"notification_text",
@"http://www.facebook.com/apps/application.php?id=135775646522275/",@"link",
appImage,@"picture",
actionLinksStr, @"actions",
nil];
[facebook dialog:@"apprequests"
andParams:params
andDelegate:self];
The problem is, I after calling this method, app request web view appears and app request is submitted successfully. But only app_request count on friends wall increases, Neither he gets any notification for app request, nor he can see the app request. What can be the problem, is there any other alternative way to send app request from iOS facebook app ?
Here is the fix:
Canvas URL is used to redirect your friend if he reviews the request from Web-site iOS Bundle ID and iPhone/iPad App Store ID are used to redirect your friend to App Store if he reviews the request from Native iOS App.