Fb.Login() does not popup OAuth Dialog?

Posted by cnz81 on Stack Overflow See other posts from Stack Overflow or by cnz81
Published on 2014-08-20T04:14:19Z Indexed on 2014/08/20 4:20 UTC
Read the original article Hit count: 96

Filed under:
|
|

I'm study fb api recently

and I use fb api to do login,

however, when I use Fb.Login() method, and scope the permission that I needed.

I found the problem that when I use account ( this account is also the fb app admin )

to login, everything is be work including login dialog and oauth dialog ,

but when I use another account ( General account )

the login dialog is work but OAuth Dialog is not work .

I've tried another account ( General account ), it had the same situation,

Only when I use the account which is also the fb app owner account would be work.

Any Ideas ?

Below is the code...

FB.login(function (response) {
    if (response.authResponse) {
        alert('success !') ;
    } else {
        alert(' faild ! ');
    }
}, { scope: "publish_actions" });

© Stack Overflow or respective owner

Related posts about facebook

Related posts about login