开发者

How other websites detect that you are logged in facebook?

If a user is logged in facebook how will i detect that im my website? how d开发者_如何学Coes iframe takes care of it. I need methods beside iframe.


From the Javascript SDK:

FB.getLoginStatus(function(response){
    if(response.session){
        //user is logged in
    }else{
        //user not logged in
    }
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜