brafik77 / tweetero

Automatically exported from code.google.com/p/tweetero
Other
0 stars 0 forks source link

number of folllowers/following #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. in userinfo view, you can select a user's list of followers to see who they 
are. That's fine, 
except you do not know how many they are following. For example, if they are 
following a lot of 
users, you probably do NOT want to click on "Followers" and wait and wait for 
the app to build a 
giant list of their followers. The list of followers should be in sections of a 
few at a time with 
ability to load more. But, I think an easier solution right now is to display 
the number of followers 
initially. So, instead of selecting "Followers" you would select "Followers 
(132)" assuming the user 
had 132 followers. 

2. Same idea for "More" screen. The "Following" and "Follwers" selection for 
the current user 
should include the totals in the name. For example "Following (132)" if the 
current user is 
following 132 people on Twitter.

I hope you do not think of this as a feature enhancement, as it is very 
problematic if a user looks 
up a userinfo on someone who has thousands of followers and then selects to 
view their 
followers. They will not want to wait, the way the followers uitable works is a 
high memory usage 
(it does not cache in or out a group of followers from Twitter - it loads them 
all into memory at 
once!) and once loaded, is painfully slow to scroll through. At least if the 
current user knows the 
user has thousands of followers, they can be smart and not try to select 
Followers. 

The way the array is bringing in all the followers is a problem and causes a 
crash of the app and 
the iPhone if the list of followers is too long.

Original issue reported on code.google.com by de...@derekunderwood.com on 12 Mar 2010 at 4:11

GoogleCodeExporter commented 9 years ago
Please read the following documents.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0friends

There is no API to determine a number of "Followers"/"Following".
But we can implement cursor-based pagination as described in the documents.

Original comment by andriy.v...@gmail.com on 15 Mar 2010 at 9:18

GoogleCodeExporter commented 9 years ago
yes, Pagination should be added
other apps get totals (total following, followers, tweets, @) 
quickly by parsing user info page that would be seen at 
Twitter.com and looking for "Twitter followers" css/xml etc...
I think mobile Twitter.com might  also show totals

Original comment by de...@derekunderwood.com on 15 Mar 2010 at 12:07

GoogleCodeExporter commented 9 years ago
Added number of "Followers"/"Following".

Original comment by andriy.v...@gmail.com on 15 Mar 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Please file new issue with request to implement cursor-based pagination.

Original comment by andriy.v...@gmail.com on 15 Mar 2010 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by andriy.v...@gmail.com on 15 Mar 2010 at 3:25

GoogleCodeExporter commented 9 years ago
works.

Original comment by npettas@gmail.com on 17 Mar 2010 at 12:50