Facebook is not displaying the same text as PageBuilder

Options

We have deployed our FB application (PreservationNation) but are seeing some odd behaviors. Particularly, when you add the application as a box on a personal profile it looks like it is pulling from the fb_ref_page but edits to that page in PageBuilder do not publish to FB. The PageBuilder shows true content, but FB is showing Lorem ipsum type text. All the other content is displaying correctly so it seems like an interaction problem with just this one part. I have tripled checked things like marking the page published, etc. Has anyone else experienced this? Am I editing the wrong page? Is there a code fix?

Tagged:

Comments

  • If you go into your Convio configuration screens and go to the step labeled "Check your setup" and then click the "Check Setup" button, you should see this message:

    Error: Unable to connect to Facebook using the permanent session key. Either Facebook cannot be reached or the permanent session key is not valid. Please return to that step and generate a new one.

    What most likely happened is that you set the application up using a particular facebook account and then added and removed the application for that account. This is something that happens pretty frequently when people are testing to make sure that the user experience for adding the application is what they expect. Whenever you remove the application, it invalidates the permanent session key that you have stored in Convio. If you go back to that step and generate a new key, then I think it will start working.

    BTW, the reference page has to be pushed to Facebook periodically by an automated task in Convio. The reason for this is that they have a rule that since profile pages are hit so often they want all the content on those pages to come from their servers. This is different from the interior pages where the content is pulled from our systems when it is viewed. I checked to make sure that the task was running for your site, and it is running every 12 hours at ~9:30 central time.

    Dave

  • DavidHart :

    If you go into your Convio configuration screens and go to the step labeled "Check your setup" and then click the "Check Setup" button, you should see this message:

    Error: Unable to connect to Facebook using the permanent session key. Either Facebook cannot be reached or the permanent session key is not valid. Please return to that step and generate a new one.

    What most likely happened is that you set the application up using a particular facebook account and then added and removed the application for that account. This is something that happens pretty frequently when people are testing to make sure that the user experience for adding the application is what they expect. Whenever you remove the application, it invalidates the permanent session key that you have stored in Convio. If you go back to that step and generate a new key, then I think it will start working.

    BTW, the reference page has to be pushed to Facebook periodically by an automated task in Convio. The reason for this is that they have a rule that since profile pages are hit so often they want all the content on those pages to come from their servers. This is different from the interior pages where the content is pulled from our systems when it is viewed. I checked to make sure that the task was running for your site, and it is running every 12 hours at ~9:30 central time.

    Dave

    I got the error you predicted and did as you suggested. I am now getting a "green light " when I check the setup but the application tab on my profile is giving me a runtime error.

    Errors while loading page from application

    Runtime errors:

  • Alison Hinchman:

    I got the error you predicted and did as you suggested. I am now getting a "green light " when I check the setup but the application tab on my profile is giving me a runtime error.

    Errors while loading page from application

    Runtime errors:

    Did you create your application with a "Profile Tab URL" specified? This is a feature that came out in Facebook since I last worked on the integration, so I haven't used it yet. I'm also not aware of any other Convio clients who have created a profile tab for their application. The applications that I have in my profile all appear in the "Boxes" tab of my profile.

    If so, can you let me know what you entered in that value so that I can look at the content?

  • DavidHart :

    Did you create your application with a "Profile Tab URL" specified? This is a feature that came out in Facebook since I last worked on the integration, so I haven't used it yet. I'm also not aware of any other Convio clients who have created a profile tab for their application. The applications that I have in my profile all appear in the "Boxes" tab of my profile.

    If so, can you let me know what you entered in that value so that I can look at the content?

    Yes, I had <fb_homepage> in the Profile Tab URL. It worked fine until I fixed the profile box. When I fixed that, I apparently broke the tab. So I have now taken that out of the set up. A discussion in the FB developers forum turned up this from yesterday. Apparently I'm not the only one with this problem. FB recently made some changes.

    The runtime error is being caused by:

    $user = $facebook->require_login();

    and should be replaced it with:

    $user = $facebook->get_profile_user();

    Trying to find this code in the PageBuilder files!

  • Alison Hinchman:

    Yes, I had <fb_homepage> in the Profile Tab URL. It worked fine until I fixed the profile box. When I fixed that, I apparently broke the tab. So I have now taken that out of the set up. A discussion in the FB developers forum turned up this from yesterday. Apparently I'm not the only one with this problem. FB recently made some changes.

    The runtime error is being caused by:

    $user = $facebook->require_login();

    and should be replaced it with:

    $user = $facebook->get_profile_user();

    Trying to find this code in the PageBuilder files!

    The code that you are referencing is sample PHP code, so you're not going to find it anywhere in Convio. We use the Java API.

    The way that the application works is that it is intended to keep your application content exclusive to only users who have added the application, so it renders an fb:redirect if the user viewing the content has not added the application. It's a relatively minor change to create the concept of a profile tab page in our Facebook application and have it not throw the redirect if that is the page being viewed, but it will require a new drop of the code.

    In the interim, you have a few options:

    1. Don't use the profile tab feature.

    2. Make your entire facebook application visible to the public. This is done bye flipping a configuration setting "Only allow application users to view canvas pages" from TRUE to FALSE. Since this is not a normal configuration setting, it is only available to Convio Support, but they can change it for you.

    3. Have a template customization done to facebook_content_page.tpt that will suppress the fb:redirect for the page that you want to use as the profile tab.

    You might also want to send a friend invitation to and make me a developer on your application.

    Dave

Categories