Facebook Friends Fetched
Aug 26, 2017 · 1 min read
Problem: Retrieve friends from Facebook.
Answer:
I’ll try to give the shortest possible answer:
Longer answer, if needed
This fetchFriends function is a demo that can be used in a swift project with Facebook SDK integrated:
If you already have a code login you to the Facebook, this function creates the Facebook graph request for taggable friends and parse the response in a primitive way. If the user has many friends the response will contain many parts and so the function is recursive.
My demo project is located on Git.
