When you get response from “me/friends” it has a “next” field with an URL. Does this imply I might have to page through a users friend list? This next url has parameter offset=5000, implying it is only needed if user has more than 5000 friends in which case I can’t be bothered. Is this a correct assumption?
If you have less than 5000 friends you can ignore the “next” entry. me/friends will only return up to 5000 people in a single call. You could parse off the rest of the URL to pass as keys to your next me/friends call to get the next batch of 5000.
If you have less than 5000 friends you can ignore the “next” entry. me/friends will only return up to 5000 people in a single call. You could parse off the rest of the URL to pass as keys to your next me/friends call to get the next batch of 5000.