Click here to view this site's accessibility statements.
This is simply great.i had searched for the same problem but didn’t found any where.i tried out your suggestion and worked simply great.Thanks a lot
Hey mate thx for the code but how to code $ProfileContent :(
it is not taking img tag nor a href tag :( any idea???
admin said on November 14th, 2008 at 3:10 pm :
A sample $Profile Content is attached here.
This cleared things up for me. Thanks for the posting. I don’t think the API test console (http://developers.facebook.com/tools.php?api) exposes the profile_main parameter.
Thanks for those explanations. It worked great for me!
I’m having another problem now. This might be, because I haven’t understood the whole facebook development yet.
Content of a profile box is cached according to http://unfake.it/RA4 until the Canvas page is called again. And it seems to me, there’s only ONE UNIQUE cache?!
I have an app, which gets content from a DB on my host, depending on the fb UID:
SELECT […] FROM […] WHERE uid = $facebook->require_login() […];
User A installed the app, calls the Canvas page and gets HIS content. He than puts the app to his profile, where he can see HIS content in the box. Okay!
Now, user B installed the app, calls the Canvas page and gets HIS content. He than puts the app to his profile, where he can see HIS content. Okay!
BUT: if user B looks at the profile of user A, he also gets the content of himself (user B).
AND: user A also has the content of user B on his profile.
What am I doing wrong?
Is there a way to avoid caching, so that the app on my host is called every time, a profile with a box is visited?
Yes, I have read about fbml.refreshRefUrl(), but that doesn’t work somehow.
Thomas I am running into exactly the same problem you are, were you ever able to find a solution? Thank you!
Hello… thanks for the post. It helped me a lot !!! you save my day… I will re-post this on my blog and link to you :)
Hi, greettings for South América (I’m speak Spanish) sorry for myy errors. Can you help me? I need post the context in profile box in an iframe please i need your help
encounter also the same problem but dont know what to do with the codes
Sorry for my ignorance but what do you put instead of blah_n and blah_w
To all those who may have suffered in the same way I have with regards to the new Facebook format:
Issue: When you set the FBML content for displaying content to the profile (specifically the Wall Tab), you get the following error:
Cause: The Facebook developer wiki suggests using the following format to accommodate the wide and narrow formats (for the Boxes) as well as a main FBML tag string for the profile box:
$fbml = "
$fbml .= "
$fbml_main = "This is the Wall tab profile data";
$facebook->api_client->profile_setFBML(NULL, $user, $fbml, NULL, NULL, $fbml_main);
Fix: Use the setRefHandles instead, setting $ProfileContent and $ProfileContent2 respectively as you wish. (Get it in a txt file)
Just as a reminder, you use
<fb:add-section-button section="profile" /> as a way to display the button so that people can add your box to their profile.
This entry was posted on Wednesday, October 29th, 2008 at 2:29 pm, EST under the category of Coding. Both comments and pings are currently closed.