angularjs - Facebook login callback not called -


i'm trying use fb api login on app built angularjs. i'm using angular-facebook library. works, issue once user authorized app, callback not called. popup window not closed, , solution user reload page. how can fix this?

$scope.login = function() {     facebook.login(function(response) {         // never called ;_;         if (response.status == 'connected') {           // need stuff here         }       }, {scope: 'email,user_birthday,user_likes'}); }; 

if want more detail information on how use angularjs facebookapi, might helpful:

http://www.boynux.com/angularjs-facebook-integration/

regards,


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -