Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute FQL query #23

Open
mionstar opened this issue Dec 22, 2012 · 1 comment
Open

Execute FQL query #23

mionstar opened this issue Dec 22, 2012 · 1 comment

Comments

@mionstar
Copy link

Hi. Thanks for creating great plugin.

I'd like to use FQL query with this plugin.
If is there way to it, could you tell me how to do it.

I thank you for reading it through.
(If there are some mistakes in English, I'd like to apologize.)

@bperin
Copy link

bperin commented Feb 22, 2013

You can execute a FQL query with the graph api, for example this will find all friends of the logged in user who also are using the app

      var query = 'select uid,name,pic_square from user where uid in (select uid2 from friend where uid1=me()) and    is_app_user=1';

        facebookConnect.requestWithGraphPath("fql", {q: query}, function(result) {

        });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants