I have created an app in Facebook How to get details of all users of this app
if they I am not a Facebook friend. I need a PHP SDK query
Can anyone help me?
You can use FQL with PPD sdk:
< / P>
Below is the query that you should get the desired result.
$ config = array ('appId' = & gt; YOUR_APP_ID ',' secret '=>' YOUR_APP_SECRET ',); $ Facebook = new Facebook ($ config); $ Facebook- & gt; API (select array '(' method '=' gtc: 'fql.query', 'query' = & gt; "user WHYE is_app_user = '1'")); For users' table, you can see:
Although this has not been tested but I hope it will tell you in the right direction.
Comments
Post a Comment