admin管理员组

文章数量:1435859

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!

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!

Share Improve this question edited Jun 20, 2020 at 9:12 CommunityBot 11 silver badge asked Sep 5, 2010 at 0:23 GiffaryGiffary 3,14813 gold badges54 silver badges77 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

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./docs/authentication/

本文标签: javascriptcan FBlogin() display as page for facebook iframe applicationStack Overflow