Ultimate Facebook Comments Email Notify
FB is not defined (3 posts)

  1. joshuaadrian
    Posted 3 years ago #

    Getting this error and not sure why 'FB is not defined'. I'm using the Facebook Comments plugin and everything is working.

    Here is a link to the site livingaveda.com


  2. joshuaadrian
    Posted 3 years ago #

    But none of the notifications from this plugin are triggering

  3. GreatBlakes
    Posted 2 years ago #

    I'm having the same problem. What is happening is you are loading the Facebook SDK asynchronously (which is the proper way), but this plugin is calling it before it initializes.

    The quick and dirty fix would be to go into the plugin and edit ultimate-facebook-comments-email-notify.php and on line 81 (inside that <script> opening, add the code:


    and then right before the </script> around line 118 add the code:

    }, 3000);

    Basically this delays the load of this FB call by 3 seconds which is plenty of time for the asynch FB to init. It is not a good way to fix it, but will stop the JS error.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Facebook Comments Email Notify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic