What is the preferred 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
之前已经讨论过: 在Android应用程序上进行Twitter集成
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.