?

Log in

Fun with facebook API - brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Fun with facebook API [Jul. 10th, 2007|12:44 pm]
Brad Fitzpatrick
[Tags|]

Playing with FQL...

SELECT uid, pic_big FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=500033387)
LinkReply

Comments:
[User Picture]From: haran
2007-07-11 01:36 am (UTC)
So they actually rolled out their own query language parser which (presumably) generates sql statements as output?

If so, that's a pretty clean concept actually. You give more flexibility to developers while maintaining security.


(Reply) (Thread)
[User Picture]From: brad
2007-07-12 06:27 pm (UTC)
I think it does something a lot, lot fancier than generate SQL on the backend.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2007-07-11 06:59 am (UTC)

Oooh, neat. I didn't think to try sub-selects.

(Reply) (Thread)
From: ext_54839
2007-07-12 06:08 pm (UTC)
Wow, it's great to see so many smiley people!
(Reply) (Thread)