开发者

Facebook FB.Connect.requireSession() stopped working

开发者 https://www.devze.com 2023-01-15 19:10 出处:网络
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 u

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号