Its simple with Graph API. Steps:
- Get the
manage_pages
permission from the user (extended permissions). - Call the Graph API – https://graph.facebook.com/me/accounts
You can test this procedure in the graph explorer -> Just click on ‘Get Access Token’ button-> under ‘Extended permission’ check ‘manage_pages’ & submit it. It will give you the admin-page-details JSON.