ueu2715 / weibo4j

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

Paging on getFriendsStatuses #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Weibo weibo = getWeiboClient(accessToken); 
2. List<User> friends = weibo.getFriendsStatuses(new 
Paging(pageNumber).count(numberOfItemsPerPage));

What is the expected output? What do you see instead?
expect to get friends according to the Paging details
Paging(1).count(50) ==> return all the 28 friends
Paging(1).count(20) ==> return the first 20 friends
Paging(2).count(20) ==> return the same first 20 friends when expected to get 
the last 8 users

What version of the product are you using? On what operating system?
weibo4j-20110622

Please provide any additional information below.

Thanks
Yosef
Email: yosef.arraf@mailvision.com

Original issue reported on code.google.com by yosef.ar...@mailvision.com on 30 Apr 2012 at 8:10

GoogleCodeExporter commented 9 years ago
Hi,
My solution was to override the getFriendsStatuses method see the attached class

Original comment by yosef.ar...@mailvision.com on 22 May 2012 at 7:27

Attachments: