You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, how is it possible that while getFollowersCount() returns a certain value, actually requesting the followers returns about 10% duplicate names - yielding a 10% lower real number of followers? See code below - the final map will be noticeably smaller than the initial count! Is this an API issue or a Jumblr one?
A lesser issue would be that, although the options say 20, the followers() call will usually return anything between 15-20...
Thank you!
int numFollowers = myBlog.getFollowersCount();
logger.info("Followers: " + numFollowers);
Map<String, JsonObject> mapFollowers = new HashMap<>();
int offset = 0;
do {
options.put("offset", Integer.toString(offset));
List<User> followers = myBlog.followers(options);
int fetched = followers.size();
logger.info(offset + "/" + fetched);
offset += fetched;
for (User follower : followers) {
logger.info("follower: " + follower.getName());
}
} while (fetched > 0);
logger.info("Real map: " + mapFollowers.size());
The text was updated successfully, but these errors were encountered:
Hi all, how is it possible that while getFollowersCount() returns a certain value, actually requesting the followers returns about 10% duplicate names - yielding a 10% lower real number of followers? See code below - the final map will be noticeably smaller than the initial count! Is this an API issue or a Jumblr one?
A lesser issue would be that, although the options say 20, the followers() call will usually return anything between 15-20...
Thank you!
The text was updated successfully, but these errors were encountered: