Facebook FB.Connect.requireSession() stopped working
I've got this page that calls:
FB.Connect.requireSession(callback)
and in the callback are all the things I 开发者_Go百科need to do after I know the user has a working FB session. It used to pop up a new window, which would ask for permission (or to log in, or whatever) then close and call my callback function. Now, however, it opens a window, asks for permission, and then sends the user to the canvas page on Facebook IN THE POPUP WINDOW. I have no idea what could be going wrong because I'm just using the documented JS apis, and not even doing anything fancy.
You are using the old Javascript SDK which is deprecated, FB.Connect is no longer supported. Use the new Javascript SDK and the FB.Login
method
精彩评论