Wednesday, September 8, 2010

How to Insert “Add Profile Tab” Buttons In Facebook Application

As described in an official blog post from Facebook, you can now put an “Add Profile Tab” button in your application or site to prompt users to add your application tab to their profiles for easy re-engagement. All implementations using the JavaScript API can call FB.Connect.showProfileTabDialog or use the fb:add-profile-tab XFBML tag to render the button, while FBML applications can call Facebook.showProfileTabDialog or use the fb:add-profile-tab FBML tag to render it.


Using Java Script API for Connect-


FB.Connect.showProfileTabDialog(callback);


Renders a button that lets a user add your application or site’s application tab to his or her profile. Make sure you specify a Tab Name and a Tab URL in your application settings (on the Profiles tab).


Article Link-

http://thefacebookjournal.com/2010/04/08/how-to-insert-add-profile-tab-buttons/

No comments:

Post a Comment