>Facebook Profile Box Showing No Content to Display

>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:

No content to display error on Facebook Profile tab
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 = "blah“;

$fbml .= “blah“;

$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.
Add to Profile

From : Source


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s