List of usage examples for twitter4j Paging setCount
public void setCount(int count)
From source file:tientx.supercode.myproejectdemov3.service.TwitterServiceImpl.java
@Override public ResponseList<Status> getTwUserHomeTimeline(Long idUser, Integer count) throws TwitterException, InterruptedException { Paging pg = new Paging(); pg.setCount(count); overError88(TwitterConfig.USER_HOME_TIMELINE); return twitter.getUserTimeline(idUser, pg); }
From source file:tientx.supercode.myproejectdemov3.service.TwitterServiceImpl.java
@Override public ResponseList<Status> getTwFavorites(String screenName, Integer count) throws TwitterException, InterruptedException { Paging pg = new Paging(); pg.setCount(count); overError88(TwitterConfig.USER_FAVORITES_LIST); return twitter.getFavorites(screenName, pg); }
From source file:tientx.supercode.myproejectdemov3.service.TwitterServiceImpl.java
@Override public ResponseList<Status> getTwFavorites(Long idUser, Integer count) throws TwitterException, InterruptedException { Paging pg = new Paging(); pg.setCount(count); overError88(TwitterConfig.USER_FAVORITES_LIST); return twitter.getFavorites(idUser, pg); }