Facebook recently notified they are deprecating support for app profile pages.
Apps created after Dec 10th no longer have the app page option, together with the
“add to my page” functionality, and must use the new Add page tab dialog.
After the user selects which page to add the application to, is there any way to
redirect the user to the selected page?
Similar functionality existed in the “old” add to page dialog, e.g.
https://www.facebook.com/add.php?api_key=MY_ADD_ID&pages=1
Activating the dialog with a response function seems to bring no result.
`
// Add app to page function addToPage() {// calling the API ... FB.ui({ method: 'pagetab', redirect_uri: 'MY_URL', },function(response) { alert(response); });}
`
So, two questions:
a) Is there any possibility for the app using the dialog to “know” which page was selected?
b) Is there any way to redirect the user to the selected page.Thx!
Use above code…you will get page id of pages selected by the user