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