如何仅在我的页面上使用 Facebook API 到 post?

How do i use Facebook API to post only on my page?

据我所知,我需要验证我的人,等待我的应用审查等。 但是如果我只需要 post 只在我的页面上而不是其他地方怎么办?有人告诉我,我只需要成为应用程序和页面管理员,我什至可以让应用程序处于开发模式,但这对我不起作用。在所有情况下,我都会收到

If posting to a group, requires app being installed in the group, and either publish_to_groups permission with user token, or both manage_pages and publish_pages permission with page token; If posting to a page, requires both manage_pages and publish_pages as an admin with sufficient administrative permission

是否可以跳过所有这些检查并使用 API 进行 posting?如果没有,你能告诉我一些我可以用来达到这个目的的免费服务吗?非常感谢您的回答。

如果您post访问一个页面(任何页面),您需要一个带有 manage_pagespublish_page 的令牌。

您可以使用资源管理器生成测试令牌:https://developers.facebook.com/tools/explorer/ - 但此令牌的有效期很短 (1h)

使用资源管理器中的短期令牌,您可以获得您管理的页面列表(端点:/me/accounts),该列表将包含您管理的每个页面的 page_token .

有了那个 page_token 你可以 post 到页面。

您可以将 page_token 放入访问令牌调试器以查看其权限。 https://developers.facebook.com/tools/debug/accesstoken/

如果您要发布应用程序并允许非开发人员访问它,则需要获得批准。