I am working on a application where i am asking for appid, secret and page access token from user. I do not want to ask Page Id. so how can i get Page Id from page_access_token.?
1 Answer
I do not want to ask Page Id. so how can i get Page Id from page_access_token?
You can either debug the access token via an API call - but that would require that the token was issued for your app.
Or you simply make an API call for /me using the page access token - that will return the page id.
You must provide an app access token or a user access token. I think may be because i am providing page_access_token/merequest using the page token.