HI, I have creaed button to login with facebook using Oauth in asp.net mvc after logging I have got the user Id and email after login but want to Get PageID of a Facebook user which the user is admin for it and get permissions to post on it.
how can I do that. Thanks
You can get user pages using Graph API. Steps:
manage_pagespermission from the user (extended permissions).
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.
Some more links which may help
The above links should help you if you have knowledge of Graph API, if not you can read this article which may help.
Thanks so much Vinnu your answar help me alot of :) .
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly