Generic-user-small pan li 6 posts

Hi, I could not figure out how to add a box to the profile.

In PHP, it is as simple as
$fbml = “Weell?
$fb->api_client->profile_setFBML(null, $uid, $fbml, null, null, $fbml);

I tried @user.profile_fbml = xxxx
It seems that it did set something to facebook, but the profile box still doesn’t show.

Is it supported by facebooker? I didn’t find anything related in the book.

Pan

 
Head_small Mike Mangino 310 posts

Chapter 6 talks quite a bit about updating profiles, especially the section called “Updating Profiles with a Publisher”

You can also check out the Facebooker::User#set_profile_fbml method

Mike

 
Generic-user-small pan li 6 posts

thank you, now it works.

In the case of anyone doesn’t know how to do it, don’t forget to add this to your Callback page:
<fb:add-section-button section="profile" />
after you set the profile_fbml.
Yes the book does metion this.

Pan

3 posts, 2 voices