Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FQL facebook query language: how can i query the list of friends of a specific user that has my application installed?

When a user logs in to my facebook application, i want to show him a list of all of his friends that has my application installed.

can I use FQL to query who's of his friends have my application installed? and if so how ?

thanks!

like image 373
ufk Avatar asked Aug 03 '10 16:08

ufk


1 Answers

Actually, you can do pull list of friends who installed an app through FQL.

SELECT uid, name, pic_square FROM user WHERE is_app_user  AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
like image 58
Manto Avatar answered Jan 03 '23 18:01

Manto