Skip to content Skip to sidebar Skip to footer

Retweet Using Twitter4j Android

i'm trying make simple app twitter and i use twitter4j library and i got good tutorial how to login and post twitter used that library. my app display timeline and had retweet butt

Solution 1:

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

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

Twittertwitter=newTwitterFactory().getInstance();
twitter.retweetStatus(idOfStatusToRetweet);

Post a Comment for "Retweet Using Twitter4j Android"