开发者

facebook oauth dialog not working in android 2.2(samsung GT-S5830) in a webview and web browser

I am trying to implement facebook Oauth dialog(direct url approach)

http://developers.facebook.com/docs/re开发者_如何学JAVAference/dialogs/oauth/

It works fine at all places except android in samsung GT-S5830 where it stops with the text

window.location.href="REDIRECT URL?code=code

even in the webview as well as in the webbrowser


After a bit of research, figured out that the problem is when display = 'touch'. It works fine with display='wap'.

But display='wap' has the following disadvantages 1) It always shows the allow access screen(even if the user has allowed the app) 2) Design looks distorted as compared to display=touch

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜