Twitter Integration in Blackberry: Login Page not in English

时间秒杀一切 提交于 2019-12-09 19:13:50

问题


I am trying to integrate twitter using Twitter Api me 1.8 . When i try to authorize using OAuth the login Screen look like below .Some invalid charecters are showing.please help me to identify the problem

thanks


回答1:


If the login page content is not displayed properly in BlackBerry, then follow this link.

Please, use BrowserFieldOAuthDialogWrapper in place of BrowserContentManagerOAuthDialogWrapper class. It works fine for me. http://kenai.com/projects/twitterapime/forums/forum/topics/523812-A-test-for-invalid-characters-on-Blackberry#p571144

I got this success by the help of @ernandesmjr Ernandes Mourao Jr

If any find any issue. please let me know.




回答2:


Try with BIS. It works fine with BIS. Else you can call HTTP GET and POST methode to the following urls.

For request token call https://api.twitter.com/oauth/request_token (HTTP GET with key , secret, and signature).Then you will get the request token

For Authorization call this link in your browser https://twitter.com/oauth/authorize?oauth_token=your request token

For access token call https://twitter.com/oauth/access_token (HTTP POST with key , secret, signature , token) . Then you will get the access token and secret.



来源:https://stackoverflow.com/questions/8091900/twitter-integration-in-blackberry-login-page-not-in-english

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!