Closed jchampemont closed 8 years ago
When a user has followers who have been suspended, there is a TWITTER_ERROR when getting their profile (here: https://github.com/jchampemont/WTFDYUM/blob/master/src/main/java/com/jeanchampemont/wtfdyum/service/impl/CronServiceImpl.java#L146).
This results in the new followers list for this user not being saved, and user getting unfollow notifications in loop.
We should either catch this error, or use the user's bulk API (https://groups.google.com/forum/#!topic/twitter4j/F8VIia1-2h0).
See http://twitter4j.org/javadoc/twitter4j/api/UsersResources.html#lookupUsers-long...- for the bulk API.
When a user has followers who have been suspended, there is a TWITTER_ERROR when getting their profile (here: https://github.com/jchampemont/WTFDYUM/blob/master/src/main/java/com/jeanchampemont/wtfdyum/service/impl/CronServiceImpl.java#L146).
This results in the new followers list for this user not being saved, and user getting unfollow notifications in loop.
We should either catch this error, or use the user's bulk API (https://groups.google.com/forum/#!topic/twitter4j/F8VIia1-2h0).