Our iOS app sends User-to-user requests to invite friends using the FB Request Dialog. The invited fb users get a notification showing the request. When they click the request they land at the following URL:
www.our_url.com/?request_id=XXXX&ref=notif&app_request_type=user_to_user&code=A_LONG_STRING/
I was unable to find the official documentation on how to handle this URL and the definitions of the GET parameters.
request_id is clear but what exactly is the code parameter?
Is it possible to set another URL for this callback? I tried setting redirect_uri in the parameters to [facebook dialog:@"apprequests" andParams:params andDelegate:self] but that didn’t change anything.
Thanks a lot!
For future reference:
https://developers.facebook.com/docs/howtos/login/server-side-login/#step6
Hope this helps somebody…