Example usage for twitter4j TwitterMethod FAVORITES

List of usage examples for twitter4j TwitterMethod FAVORITES

Introduction

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

Prototype

TwitterMethod FAVORITES

To view the source code for twitter4j TwitterMethod FAVORITES.

Click Source Link

Usage

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

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.FAVORITES) {
        AIR.log("Error retreiving liked statuses " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.TIMELINE_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }/*from  ww w  .  jav a2 s .c  o  m*/
}