Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查用户是否已授予权限且未禁用 (publish_action) 权限以使用开放图形 API 进行发布 (publish_action)?
/me/permissions使用用户的访问令牌或/USER_ID/permissions应用访问令牌进行调用。它显示您对该用户拥有的权限。
/me/permissions
/USER_ID/permissions
示例输出为:
{ "data": [ { "installed": 1, "manage_pages": 1, "user_actions.music": 1 } ] }