[resolved] FB is not defined (5 posts)

  1. jukum
    Posted 4 years ago #

    I've installed and configured the plugin and now that I'm trying to link my Facebook account to my WordPress account, every browser gives me a JavaScript reference error "FB is not defined".

    Apparently the FB script is not being loaded but how can that be?


  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Contributor

    Posted 4 years ago #

    You'll get that error when some other Javascript code on the page is broken in some way. Javascript is highly page dependent, if one piece is broken, then it tends to break everything.

    Disable other plugins, try the default theme, see if it works then.

  3. nida78
    Posted 4 years ago #

    jukum, could it be that you are running a WordPress 3.1.X?

    I saw the problem that the plugin uses the wp_enqueue_script function that has changed with the update of WP 3.3. I solved this with adding two new add_action hooks...

  4. nida78
    Posted 4 years ago #

    I posted a work-around in my (German) blog! But the code is readable anyway ;-)

  5. jukum
    Posted 4 years ago #

    Thank you both! An update to WP 3.4 solved the problem.

    @nida78: Danke, als Österreicher habe ich den Artikel schon gut lesen können ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic