Paging Facebook Graph Results

Facebook iOS SDK provides FBSDKGraphRequest to get friends, posts, etc. But the results are paged: you only get the first 25 friends (or 5 posts). To get the rest you need to send a new request, not provided by FBSDKCoreKit:

To simplify this, I wrote a simple extension to FBSDKGraphRequest that handles paging: FBSDKGraphRequest+Paging. Feel free to use it.

Usage: