开发者

android app cannot connect to twitter

开发者 https://www.devze.com 2023-01-14 10:09 出处:网络
My android application uses jtwitter and doesn\'t see api.twitter.com host Twitter twitter = new Twitter(\"user\", \"pass\");

My android application uses jtwitter and doesn't see api.twitter.com host

    Twitter twitter = new Twitter("user", "pass");
    System.out.println(twitter.getStatus("somebody"));
    twitter.setStatus("my stat");

But java desktop application works pretty good. What is the problem can b开发者_JAVA技巧e with android? I added even uses-permission INTERNET


Igor read this :: Twitter finally deciding to deprecate the existing Basic Authentication by June 2010

now you must use Twitter OAuth for Android

this is a very good and useful example:: How to use SignPost and Twitter4J with OAuth

Jorgesys

0

精彩评论

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