javascript - Adding facebook login to an app in localhost -


i know question have been asked , asked, still cannot manage make work.

to put simply: want integrate facebook login web app i'm building. used fb js sdk , loads successfully, when click "login button" opens me popup asking basic permissions, , then... error.

i went facebook dashboard, set site redirect url to:

http://localhost:8080/myapp. 

the console gives me after allowing:

blocked frame origin "https://www.facebook.com" accessing frame origin "http://localhost:8080" 

and when try access https, get:

blocked frame origin "https://www.facebook.com" accessing frame origin "https://localhost:8080". frame requesting access set "document.domain" "facebook.com", frame being accessed did not. both must set "document.domain" same value allow access.  

i've looked , looked, nothing help.

thanks

in past, had issue using localhost facebook applications. ended doing create entry in host file on computer point fbdev.com localhost , used "fbdev.com" in place of localhost in app settings on facebook


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -