更新时间:2023-12-02 16:53:52
应用访问令牌是最基本的,不允许您发布任何内容。为了向Facebook页面(作为页面)发布某些内容,您需要获取页面访问令牌。
The App Access Token is the most basic one, and will not allow you to post anything. In order to post something to a Facebook Page (as a Page), you need to get a Page Access Token.
该过程有点复杂,因为您实际需要要授权用户首先使用manage_pages权限,使用用户访问令牌,您可以调用API获取页面访问令牌(/ me / accounts)。
The process is a bit complicated, because you actually need to authorize the user with the "manage_pages" permission first, with the User Access Token you can call the API to get a Page Access Token (/me/accounts).
看到这些链接:
Btw,REST API已弃用: https:// dev elopers.facebook.com/blog/post/616/
Btw, the REST API is deprecated: https://developers.facebook.com/blog/post/616/
您还可以尝试客户端令牌(开发人员设置>高级),我从来没有工作与那个,但它可能是最简单的解决方案。无论如何,App Access Token是错误的。
You can also try the "Client Token" (Developer Settings > Advanced), i never worked with that one but it could be the easiest solution. In any case, an App Access Token is the wrong one.