I am trying to create a “friend invitation” in my application. I am using FB.ui. It seems to work (I am using the standard code from http://developers.facebook.com/blog/post/464/ .
But the iframe, where you can send the request to your friends, just says: "An error has occurred. Please try again later."
I did not forget to use an access token.
echo '<div id="fb-root"></div>';
echo '<script src="http://connect.facebook.net/en_US/all.js">';
echo ' </script>';
echo ' <script>';
echo " FB.init({appId:'215089721847404', cookie:true, status:true, xfbml:true});";
echo " FB.ui({ method: 'apprequests', message: 'Here is a new Requests dialog...', display: 'iframe', access_token: '$token'});";
echo ' </script>';
Has fb stopped resolving query dialogs inside applications? Or am I doing something wrong? Does anyone have another solution? Please, help.
: , , redirect_uri. , , iframe ...
- ?