objective c - Managing and storing data of facebook friends with xcode and facebook API -


here context. have class in project represents trophy. trophies objects loaded core data , local application. in view controller, user sees list of trophies , can modify/create new ones. need add facebook functionality in trophies. ideally in list of trophies (which tableview 1 section) see trophies of friends when logged in. similar done in paid version of map run app, in can see facebook friends' planned tracks.

i'm new xcode development , never touched facebook api. i've seen, there isn't real remote storage facebook app (there data storage api deprecated in 2010 i've read). there's thing called open graph api, lets create , manage objects use in app, understand not support mobile yet , can used in web apps (and i'm not sure if that's i'm looking for).

so question is, structure of app implements such functionality? i've searched samples, examples , tutorials i've not seen regarding specification. i've seen stuff posting/share image, link, etc. profile.

my first guess create own database (since right handled locally core data) , upload trophies people share , attach facebook userid in column of trophy table , load trophies match userid of friends. there in api i've missed can handle this?

if trophies aren’t objects in facebook graph you’re managing them yourself, easiest way save people’s facebook id when giving them trophy.

then query graph api /me/friends, user’s friends fb ids – , intersect list list of awarded trophies fb id.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -