Say,i’ve an facebook application.I use facebook request dialog javascript sdk to send invite to my friend.
At my friend account,he get;s notification and clicks the invite and he give’s permission for the app .here how do i get the request id.
I’m using the code that was present in fb docs but it is giving request id only in the second invite but not at first time.
Request id’s are delivered as a comma delimetered array.
You must use code like this to get them:
$rids will now contain an array of your request ID’s.
EDIT / UPDATE:
An example of what to do on your callback:
In the PHP script that it redirects to you can now request the ID’s that the user has invited to your app using
$_REQUEST['req']