How to redirect to application page after installing application to one's page or app?
Now I want to automatic redirect to facebook application's index page after user installing the application to his/her facebook page.
My method is use the href tag as below:
<a href='http://www.facebook.com/add.php?api_key=".$APPID."&pages&perms=publish_stream&page=".$paID."' target='_top'>Add APP</a>
I have tried some ways such as add redirect_uri or next or post_authorize_redirect_url as parameter to the add.php link,but they all redirected to the facebook page or application after installing.
Then how to realize it?
Useful link
http://developers.facebook.com/docs/authentication/
I know that it can redirect after authentic开发者_高级运维ation.Such as:
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=https://www.facebook.com/connect/login_success.html&response_type=token
But what is after installing?
You could just use the API to add the app to the page? https://developers.facebook.com/docs/reference/api/page/#tabs
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_URL
Client ID is your app id Redirect uri is your callback page
For more you can look at this page
精彩评论