开发者

Post to Twitter in Android

开发者 https://www.devze.com 2023-02-17 09:51 出处:网络
What is the pre开发者_C百科ferred way to post something to your Twitter? Earlier you could use: Twitter twitter = new Twitter(username, password);

What is the pre开发者_C百科ferred way to post something to your Twitter?

Earlier you could use:

Twitter twitter = new Twitter(username, password);
twitter.updateStatus("Ohai, I can haz cheeseburger?!");

However, that doesn't work now. What is the alternative way?


Try using the twitter4j API:

http://twitter4j.org/en/index.html

And here is an O'reilly tutorial with sample code:

http://creativelive.com/courses/developing-android-applications-java-part-1-partnership-oreilly


This has been discussed before: twitter integration on android app

0

精彩评论

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