Most of my friends who are eager on developing facebook application ask me about how to create add profile box to their profile.
Here, i’m gonna show you how to make it. Lets assume that you already understand the basic steps to create facebook application using php platform.
setFBML – That’s what we’re gonna use to add the profile box, you can read more about it on Facebook Developer Wiki
Sets the FBML for a user’s profile or Facebook Page, including:
The content for the profile box on the Wall tab
The profile box for the Boxes tab, both narrow and wide
The FBML for a mobile device
There are several steps to add content to a User’s profile with profile.setFBML:
interact with the user to gather compelling content
induce the user to click on an Add to Profile button
(optional) induce the user click on an Offline Access button or otherwise grant this permission
Interacting with the user to gather compelling content is highly dependent on your application.
You may achieve this in one session, or it might require several interactions with the user.
You must pass NULL between 'profile' and 'mobile_profile' to account for the deprecated 'profile_action' parameter.
Facebook will deprecate this tag in late 2009/early 2010. In the other word, we can only add it to boxes tab later when it happen.@amol
Happy developing facebook application ;)