开发者

Post to Twitter in Android

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜