php-snapchat icon indicating copy to clipboard operation
php-snapchat copied to clipboard

Is there a max limit on getAddedFriends?

Open jghazally opened this issue 11 years ago • 1 comments

I can't seem to get more than 49 rows from getAddedFriends. When I know I have more than 49 friends..

jghazally avatar Aug 15 '14 00:08 jghazally

Yep - it seems that getAddedFriends only ever returns up to 49 rows, however getFriends does not appear to have a limit.

I believe this is because of the way the Snapchat uses the data within the app. On the "My Friends" screen, it lists all the friends you have using getFriends to get this list. On the "Add Friends" / "Snapchatters who added me" screen, it uses getAddedFriends to retrieve 49 of the the most recent people to have added you so you can quickly add them back.

Please note this is all an assumption/theory and hasn't been tested - but it does make sense. Might just be an idea to mention this in the documentation (if it's not already there?).

dylannz avatar Aug 15 '14 03:08 dylannz