Friends API

41 views
Skip to first unread message

Mobijack

unread,
Jan 2, 2014, 10:09:33 AM1/2/14
to wallabee-...@googlegroups.com
Hi Ben,

Recently you implemented a limit on friends call /user/#/friends to return no more than 1000 friends, as a short term solution to the amount of data that comes back on a single call.

I've noticed that for some users, yourself included, now return no content for this call.

I haven't analysed it in detail, (just using the api explorer on the website) but it seems to affect users with more than 900-odd friends.

I guess the long term strategy for this is to implement paging similar to the market API.  In which case can you return the pages in alphabetical order?  (With fewer friends per call if that is the issue).

Many Thanks,

Jonathan
@mobijack

Ben Dodson

unread,
Jan 6, 2014, 12:38:02 PM1/6/14
to wallabee-...@googlegroups.com
Hi Jonathan,

This API call is now limited to 500 results and we've added pagination.

Ben

Jonathan Black

unread,
Jan 6, 2014, 12:40:09 PM1/6/14
to wallabee-...@googlegroups.com
Great... We'll get that implemented!

Thanks!
--
You received this message because you are subscribed to the Google Groups "WallaBee Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wallabee-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Tod Cole

unread,
Jul 21, 2015, 6:45:39 PM7/21/15
to WallaBee Developers
Ben,

Does the Friends count as reported in the app include deleted players?  I know it includes hidden players, but I thought the difference between my friend count (903 players, after making sure I had no duplicates) and the number reported by the /users/10369/friends API call (848 players) was too large to just represent hidden users.  I checked a few older players and "extremely friendly" players and noted the problem was more compounded for them.  For example, itsme123 shows 2558 friends in app, but only 1656 in the API call.

Cheers,
Tod

Ben Dodson

unread,
Jul 22, 2015, 5:46:39 AM7/22/15
to wallabee-...@googlegroups.com
Yes, it does include deleted users. This is because we actually count the number of accepted friend requests for efficiency reasons and these aren’t removed when a player is deleted. This won’t be an issue in future updates when we remove the concept of “friends” and switch to a “followers / following” model.

Ben



--
You received this message because you are subscribed to the Google Groups "WallaBee Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wallabee-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages