且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从页面访问令牌获取Facebook页面ID

更新时间:2023-12-03 08:44:46


我不想问页面ID。那么我如何从page_access_token获取页面ID?

I do not want to ask Page Id. so how can i get Page Id from page_access_token?

您可以通过API调用调试访问令牌,但这将需要该令牌是为您的应用发出的。

You can either debug the access token via an API call - but that would require that the token was issued for your app.

或者您只需使用页面访问 / me 令牌 - 将返回页面ID。

Or you simply make an API call for /me using the page access token - that will return the page id.