Find all the pages for which a user is an admin using Facebook Graph API -
until now, using fql. i've seen it's going removed (when, don't know).
when have obtained rights query user profile, can find out pages manages. next example. page_admin, details of pages.
$fql = "select talking_about_count, access_token, description, emails,fan_count,general_info, location, page_url, pic_square, username, page_id,name page page_id in (select page_id page_admin uid = ".$user['fbuid'].')';
$fql = 'https://graph.facebook.com/'.$user['fbuid'].'/fql?access_token='.$user['token'].'&q='.urlencode($fql);
i cannot find equivalent using graph api.
/me/accounts manage_pages
permission need
facebook facebook-graph-api facebook-php-sdk
No comments:
Post a Comment