Fb.Login() does not popup OAuth Dialog?
- by cnz81
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" });