I have used Twitter4j 1.7 to develop my application so far. However, I
found a big problem there.
I have got the following list of a user by using this.

IDs friendsIDs = twitter.getFriendsIDs(userID);

and Also I'm trying to know who does the user retweet to:

 LinkedList<Status> tweets = twitter.getUserTimeline(userID);
for(int i = 0; i != tweets.size(); ++i)
 {
        if(tweets.get(i).isRetweet())
        {
             System.out.println("the user has retweeted to user
"+tweets.get(i).getRetweetedStatus().getUser().getId());
        }
 }

However, I found that the people who are retweeted by the user are all
not in the following list!
How does this happen? The user retweets the people who are not his
following? Why?

Is there any error I have made?
Thanks very much!

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk

Reply via email to