javascript - can FB.login() display as page for facebook iframe application? - Stack Overflow

here is my code?FB.login(function(response){console.log(response)if(response.session){connectFacebook(

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/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745656977a4638600.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信