开发者

facebook wp7 login button not working

开发者 https://www.devze.com 2023-01-28 02:26 出处:网络
On my WP7 app, I am trying to authenticate with Facebook using OAuth 2.0 and can get to the login screen of facebook. When I enter the username and password and try to click Login, the button doesn\'t

On my WP7 app, I am trying to authenticate with Facebook using OAuth 2.0 and can get to the login screen of facebook. When I enter the username and password and try to click Login, the button doesn't get clicked for some reason. 开发者_Go百科(This is in the emulator). I am not sure why I am not able to click the Login button.

Here is the link that I navigate to for facebook login page to show up https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&display=touch&scope=publish_stream - where the {0}, {1} are substituted accordingly before navigating.

Thanks, Pratik


Well, I figured it out.

The browser control has a property IsScriptEnabled which seems like it is false by default. Set that property to true and I can click the button. This is pretty strange because I was able to click other button for Cancel even before setting this property.

At least, for anyone else who runs into this issue, please try setting IsScriptEnabled = true and give it a shot.

Pratik

0

精彩评论

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

关注公众号