Whenever I have only partially retrieved the list of friends or followers, mark this in the graph with friends_incomplete=true.
The best place to do this is in this code. If cursors[1] is not zero after the loop, then it means there was still more to go, but len(ids) was already at the count limit.
Whenever I have only partially retrieved the list of friends or followers, mark this in the graph with
friends_incomplete=true
.The best place to do this is in this code. If
cursors[1]
is not zero after the loop, then it means there was still more to go, butlen(ids)
was already at the count limit.