Thursday, November 5, 2009

Facebook Application Box Development

To Add application box to Wall and Info Tab/Box Tab:
http://wiki.developers.facebook.com/index.php/Using_profile_setFBML

API: http://wiki.developers.facebook.com/index.php/Profile.setFBML
Future: http://apps.facebook.com/comicbooks/screencasts/New-Profile-1

1. You need to first call the profile.setFBML
http://wiki.developers.facebook.com/index.php/Profile.setFBML

For updating profile box (dynamic content), use
http://fbcookbook.ofhas.in/2009/02/04/updating-profile-box-using-fbref/

More posts:
http://forum.developers.facebook.com/viewtopic.php?id=26910
http://forum.developers.facebook.com/viewtopic.php?id=31613


2. And then add the Add to Profile button for users to click on it
http://wiki.developers.facebook.com/index.php/Fb:add-section-button
Another method to add the "add to profile" button:
http://wiki.developers.facebook.com/index.php/JS_API_M_FB.Connect.ShowAddSectionButton

FB.Connect.showAddSectionButton("profile", document.getElementById("addProfileButton"));

You need to induce users to click on the button:
http://forum.developers.facebook.com/viewtopic.php?pid=153464


3. Show different info. according to whether the user adds the profile box

Still looking at the info below


http://forum.developers.facebook.com/viewtopic.php?id=36196

http://forum.developers.facebook.com/viewtopic.php?id=33809

http://forum.developers.facebook.com/viewtopic.php?pid=49318

http://wiki.developers.facebook.com/index.php/Talk:Profile.setFBML#How_to_update_profiles_of_all_users_who_installed_your_app.3F

No comments: