Facebook’s Add APP to PAGE Bookmarklet
Facebook is removing App Profile Pages. Unfortunately for many developers that means that the “Add to Page” link that allowed new APPs to be added to Fan Pages as a Tab is also gone. Here’s a simple bookmarklet that will provide the same functionality.
Update: It looks like Facebook has put a fix in place that will enable Adding an APP to any page from the APP itself
Follow this link for the best solution to this issue: https://developers.facebook.com/blog/post/2012/03/14/platform-updates–operation-developer-love/
The Bookmarklet
This bookmarklet will remove the need to do any further custom development on your app/tab.
How to use Drag the link above to your toolbar (duh!) and visit your APP page (Eg: https://developers.facebook.com/apps/YOUR_APP_ID/
). The bookmarklet will generate a dialog box to add the App to any of your PAGES:
How does it work Behind the scenes all the bookmarklet does is redirect your browser to a url like the one below:
https://www.facebook.com/dialog/pagetab?app\_id=YOUR\_APP\_ID&next=YOUR\_URL
Note: Facebook’s official workaround to add your own app to your own page in a tab is anything but simple. There is along discussion here explaining the process in great detail: Facebook Removing App Profile Pages on Feb 1, 2012
Questions? Reach out to me in twitter @omarrr
January 20, 2012 ☼ code