I\'m developing a game for Facebook. I need a way for users to invite others to the game. For that, I use the apprequests dialog. I redirect the user to the dialog URL, whic
Try replacing the redirect
parameters with redirect_uri
So, turns out the solution is to use redirect_uri
and not to escape the URL to redirect to, so the code I wrote before should read:
$url = "http://www.facebook.com/dialog/apprequests?app_id=".$id."&message=".urlencode("foobar")."&redirect_uri="."http://some.arbitrary.url.com";
From my experience with this error; facebook gives you same error whatever the parameter which caused the error.
my problem that I didn't use encodeURIComponent(contentParam);
for all the parameters so any special character in any parameters gave me the above error.