Facebook拥有权限的长期访问令牌

时间:2022-02-11 19:49:42

How get long-lived access token with permission user_posts??? I am using https://graph.facebook.com/oauth/access_token? grant_type=fb_exchange_token&client_id=xxx& client_secret=xxx&fb_exchange_token={short-lived-token}

如何获得具有权限user_posts的长期访问令牌???我使用https://graph.facebook.com/oauth/access_token? grant_type = fb_exchange_token&client_id = xxx&client_secret = xxx&fb_exchange_token = {short-lived-token}

I need to user_posts permissionto gain access to Fb sharedposts, what you need to add to this URL

我需要user_posts权限才能获得对Fb共享邮件的访问权限,您需要添加到此URL

1 个解决方案

#1


You first need to get the short-lived Acces Token via the normal login flow. Once you got it, you can exchange the short-lived one into a long-lived one.

您首先需要通过正常的登录流程获得短暂的Acces令牌。一旦你得到它,你可以将短命的一个交换成一个长寿命的。

See

#1


You first need to get the short-lived Acces Token via the normal login flow. Once you got it, you can exchange the short-lived one into a long-lived one.

您首先需要通过正常的登录流程获得短暂的Acces令牌。一旦你得到它,你可以将短命的一个交换成一个长寿命的。

See