WordPress.org

Ready to get started?Download WordPress

Forums

WP-Facebook applications
Fans see featured image after reload (6 posts)

  1. deeluuxe
    Member
    Posted 1 year ago #

    Hello!

    I´m using your plugin for a long time and I´m really happy with it - works great!
    Now I tried to insert a form (using formidable pro) on the page. I want the users to get fans by clicking the Like-Button first. This works and I set the featured image for this.
    After filling the form the user clicks the submit button and the page reloads, now the featured image is shown again although the user is a fan now. Normally the page should display "Thank you for filling the form..." - Formidable does this automatically.

    Any idea what may cause this?

    Best regards,
    Jan

    http://wordpress.org/extend/plugins/wp-facebook-applications/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I'm not sure how Formidable Pro works, so I may not be able to help here.

    I would recommend that you check for Javascript errors when submitting the form, and let me know if you see any errors related to my plugin.

    You can find out how to enable the Javascript console here:
    http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers

  3. deeluuxe
    Member
    Posted 1 year ago #

    The only error I see in Firebug is this:

    The "fb-root" div has not been created, auto-creating
    all.js...xfbml=1 (Line 52)
    FB.getLoginStatus() called before calling FB.init().
    all.js...xfbml=1 (Line 52)
    FB.init has already been called - this could indicate a problem
    all.js...xfbml=1 (Line 52)
    SyntaxError: syntax error
    [Bei diesem Fehler anhalten]
    <div id="fb-root"></div>

  4. deeluuxe
    Member
    Posted 1 year ago #

    Interesting:

    FB.getLoginStatus() called before calling FB.init()

    I check this on an other App without Formidable Pro - same error here. So maybe it´s not the form...

    Best regards,
    Jan

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Do you use any other Facebook plugins on your site? If so, could you try to deactivate them and see if the problem remains?

  6. deeluuxe
    Member
    Posted 1 year ago #

    I didn´t find a solution - every time the iFrame reloads the page gets blocked by the featured image... :-(

    Had to edit your code:

    - <base target="_blank">
    (line 9) had to be removed for forms to work

    - FB.Canvas.setAutoResize(); has to be replaced by
    - FB.Canvas.setAutoGrow(91);
    (line 103) setAutoResize is not supported by FB any more

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic