here is my code?
FB.login(function(response){
console.log(response)
if(response.session){
connectFacebook();
}
},{perms:'email,read_stream,publish_stream,offline_access'});
I need to permission user to use my application.
The problem is FB.login show in popup style but i need it to show in page style like :
how can i do it? how do i change my code?
thank you!
If you don't want popup you will have to go with Facebook OAuth 2.0 for web apps. Read about it here: http://developers.facebook.com/docs/authentication/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.