客户端凭据以获取Facebook的令牌

本文关键字:Facebook 令牌 获取 客户端 | 更新日期: 2023-09-27 18:34:41

此页面没有解释我们必须使用哪些客户端凭据。

https://developers.facebook.com/docs/authentication/applications/

https://graph.facebook.com/oauth/access_token?
    client_id=YOUR_APP_ID
   &client_secret=YOUR_APP_SECRET
   &grant_type=client_credentials

知道那是什么吗?

https://developers.facebook.com/docs/authentication/permissions/也有意义吗?

谢谢!

客户端凭据以获取Facebook的令牌

grant_type=client_credentials

只是您应该在请求中使用的硬编码字符串。您只需将应用的 ID/机密插入该字符串即可。