Example usage for twitter4j TwitterMethod CREATE_FAVORITE

List of usage examples for twitter4j TwitterMethod CREATE_FAVORITE

Introduction

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

Prototype

TwitterMethod CREATE_FAVORITE

To view the source code for twitter4j TwitterMethod CREATE_FAVORITE.

Click Source Link

Usage

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

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.CREATE_FAVORITE) {
        AIR.log("Error liking status: " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.STATUS_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }/*from   ww  w .j a  v a2s. c  o m*/
}