Example usage for twitter4j TwitterMethod DESTROY_FAVORITE

List of usage examples for twitter4j TwitterMethod DESTROY_FAVORITE

Introduction

In this page you can find the example usage for twitter4j TwitterMethod DESTROY_FAVORITE.

Prototype

TwitterMethod DESTROY_FAVORITE

To view the source code for twitter4j TwitterMethod DESTROY_FAVORITE.

Click Source Link

Usage

From source file:com.marpies.ane.twitter.functions.UndoLikeStatusFunction.java

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.DESTROY_FAVORITE) {
        AIR.log("Error removing liked status: " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.STATUS_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }//from  w w w .  j  a  v  a  2  s.c  om
}