Skip to content

fix bug call function isLoggedIn in facebookAgent return wrong result#170

Open
thuydx55 wants to merge 1 commit intococos2d-x:v3from
thuydx55:fix_call_fb_isLoggedIn
Open

fix bug call function isLoggedIn in facebookAgent return wrong result#170
thuydx55 wants to merge 1 commit intococos2d-x:v3from
thuydx55:fix_call_fb_isLoggedIn

Conversation

@thuydx55
Copy link

I used this code in my project

ctor: function() {
    this._agent = window.facebook || (window["plugin"] ? window["plugin"]["FacebookAgent"]["getInstance"]() : null);
},

isLoggedIn: function() {
    return this._agent.isLoggedIn();
},

when i call isLoggedIn function, it always returns false even if i logged in before

@thuydx55
Copy link
Author

@minggo @pandamicro pls check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant