开发者

Help regarding Facebook Connect...!

I have completed the face开发者_Python百科book connect process. I need to address the following issues....

  1. If a user has authorised my application: then on pressing F5, he must automatically be signed in...

  2. If the user logs out of my site, he must log out of faceboook as well, and then display a dialog message.

Please help


You could try to redirect the user to Facebook's logout page. I doubt it works but it might be the only possibility.

Why do you want to log the user out of Facebook anyway? As a user I'd be pretty pissed about that, but then again I don't know what kind of app this is so it might make sense in some custom Facebook interface or something.


You could do something like

<a href="/my_logout" onclick="FB.logout(); return false">logout</a>

However, it's rather user-hostile: unless I (the user) have asked you to do that, why the **** are you logging me out of Facebook?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜