Hello Guys I am facing a small trouble while working on twitter integration. I have used Fabric .
private void loadTweet(){
final List<Long> tweetIds = Arrays.asList(510908133917487104L);
TweetUtils.loadTweets(tweetIds, new Callback<List<Tweet>>() {
@Override
public void success(Result<List<Tweet>> result) {
for (Tweet tweet : result.data) {
tweeterLayout.setTweet(tweet);
}
}
@Override
public void failure(TwitterException e) {
Log.v("Exception","TwitterException");
}
});
}
This method works fine for me if I pass a tweet ID. But I want to get public tweets of a particular user. any way around if I pass someone's ID ("@user_id") then I can fetch his tweets?