开发者

Get count(tweet) for my all follower in twitter using java api

I m java developer and i know 开发者_如何转开发some of twitter api components as below

  1. twitter4j-2.2.2.jar
  2. jtwitter.jar

Get count(tweet) for my all follower in twitter using java api

do you have any idea about it and get it better way implementation ?

pankaj


  1. List all followers (twitter.getFollowersIDs(..))
  2. For each user use twitter.showUser(id) and then sum their tweet counts (user.getStatusesCount())


It is possible.....You can find count of any public twitter user's tweet by using below twitter api...

https://api.twitter.com/1/users/show.json?screen_name=twitterapi&include_entities=true

which returns a JSON object. You then parse that with your favorite JSON parser, and extract the "statuses_count" field...:)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜