开发者

How other websites detect that you are logged in facebook?

开发者 https://www.devze.com 2023-02-09 08:59 出处:网络
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:

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

精彩评论

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

关注公众号