开发者

can FB.login() display as page for facebook iframe application?

开发者 https://www.devze.com 2023-01-14 16:58 出处:网络
here is my code? FB.login(function(response){ console.log(response) 开发者_如何转开发if(response.session){

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 :

can FB.login() display as page for facebook iframe application?

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/

0

精彩评论

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