List of usage examples for twitter4j AsyncTwitter retweetStatus
void retweetStatus(long statusId);
From source file:com.marpies.ane.twitter.functions.RetweetStatusFunction.java
License:Apache License
@Override public FREObject call(FREContext context, FREObject[] args) { super.call(context, args); long statusID = Long.valueOf(FREObjectUtils.getString(args[0])); mCallbackID = FREObjectUtils.getInt(args[1]); AsyncTwitter twitter = TwitterAPI.getAsyncInstance(TwitterAPI.getAccessToken()); twitter.addListener(this); twitter.retweetStatus(statusID); return null;// w w w . j a v a 2 s . c om }