I have created some custom tabs for facebook pages, like when the user clicks on the add custom tabs, im fetching the user pages but how can i make them to install the custom tab to the particular page on which he clicks.
li.innerHTML = "Name: <a href='http://facebook.com/"+page.id+"'>"+page.name+"</a>";
From the above code, i could get only the list of user pages, among them when the user clicks on a particular page (i.e.,page1), it should direct them to their page1 profile by adding the custom tab. How can i make them to install the custom tabs?
preguntado el 08 de noviembre de 11 a las 10:11
Si usted tiene la
manage_pages permission from the user, you can add your app to their page via the API - see here:
There's no other way to automate it, and using static links are you're suggesting above is prone to break if the Facebook web interface ever changes.