开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜