我尝试使用以下权限为Facebook Workplace生成应用访问令牌:
manage_pages,pages_show_list,publish_pages,read_page_mailboxes,business_management,pages_messaging,pages_messaging_subscriptions,public_profile
以下请求成功检索到令牌
但是当我调试令牌时
GET /debug_token?input_token=<token generated from above request> HTTP/1.1
Host: graph.facebook.com
Authorization: Bearer ****
返回以下输出:
{
"data": {
"app_id": "*********",
"type": "APP",
"application": "***",
"is_valid": true,
"scopes": []
}
}
所以我的问题是如何生成具有所需权限(范围)的应用访问令牌?
我指的是: