philippec / PhFacebook

MacOSX Interface to Facebook graph API
http://developer.casgrain.com/?p=107
Other
178 stars 44 forks source link

PhFacebook FQL Request #37

Closed pedrovieira closed 11 years ago

pedrovieira commented 12 years ago

Yesterday i decided to decided to try the FQL request and i'm stuck here:

I sent this request: [fb sendFQLRequest:@"SELECT uid, name, pic_square FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())"]; (this gets all the names, pictures and ids of all my facebook friends) On the requestResult method i try to NSLog(@"%@", [result objectForKey:@"result"]) but my Xcode crashes, so i have to put it into an NSTextView to be able to view the result. But here's the problem now. There's so much data of the uid, name and pic_square and i don't know how to get all the data of each field into an array ( all uid to an array, all name to another array and all pic_square to another array). Can some1 explain to me, please?

philippec commented 12 years ago

I'm hoping that https://github.com/evertoncunha can help you, but I don't see his contact email on his page.

pedrovieira commented 12 years ago

i'm not seeing it too... i think the only thing i can do is to wait for him to see this. but, in the meantime, if you see him tell him about this! thanks

philippec commented 11 years ago

Nothing I can do here since I don't support FQL out of the box.