List of usage examples for twitter4j TwitterMethod CREATE_FRIENDSHIP
TwitterMethod CREATE_FRIENDSHIP
To view the source code for twitter4j TwitterMethod CREATE_FRIENDSHIP.
Click Source Link
From source file:com.marpies.ane.twitter.functions.FollowUserFunction.java
License:Apache License
@Override public void onException(TwitterException te, TwitterMethod method) { if (method == TwitterMethod.CREATE_FRIENDSHIP) { AIR.log("Error trying to follow user: " + te.getMessage()); AIR.dispatchEvent(AIRTwitterEvent.USER_QUERY_ERROR, StringUtils.getEventErrorJSON(mCallbackID, te.getMessage())); }/*from w w w. j ava 2 s .c om*/ }