Retweet using Twitter4j Android

I am trying to make a simple twitter application, and I am using twitter4j library, and I have a good tutorial on how to log in and post twitter. my application display graphics and retweets button, my question is, how to rephrase using twitter4j library?

+5
source share
1 answer

You can call Status#retweet()either TwitterStream#retweet()with the original tweet id.

You can also use Twitter#retweetStatus(), for example:

Twitter twitter = new TwitterFactory().getInstance();
twitter.retweetStatus(idOfStatusToRetweet);
+10
source

All Articles