Resolved: FB.Login pop-up blocked

Posted on 20 May 2013 in D.I.Y Website Help, Tips and Tricks | 0 comments

Hey everyone!

If you have stumbled upon this post it is most likely because you are having issues developing an application with the Facebook JS SDK!

My Issue and how I Resolved it after all attempts failed:

When developing an App for Facebook, I had trouble with the pop-window when calling FB.login(). It worked fine on PC *browsers, but not on Mac.

Upon further documentation reading, I learned you must call FB.login() from a user event such as onClick etc.


<a href=”#” id=”signin” onClick=”
FB.login(function(response) {
},{scope: 'email,user_likes'});

“>Login with Facebook</a>

Well, that method didn’t work. Nor did jQuery .click, or any other implementation of user action initialization.


I went to Facebook and on the App setting, I noticed “SANDBOX MODE” was toggled ON…  This prevented the use of the app on any other computer not recently logged in by the admin!

Short story shorter… If you are having issues with Facebook Login for Websites, make sure SANDBOX MODE is OFF!

If you need further help, do not hesitate to contact Your Local Webmaster!