Hiển thị các bài đăng có nhãn Mã truy cập dài hạn. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Mã truy cập dài hạn. Hiển thị tất cả bài đăng

Renewing Facebook Graph API token automatically?

 

Mã truy cập dài hạn

https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived/

https://community.n8n.io/t/renewing-facebook-graph-api-token-automatically/12867/2

Hi @tomato_planet, I am not aware of a way to automate the renewal of your personal token I am afraid.

However, in many cases this shouldn’t be required. Are you using your token to post on a FB page by any chance? If so, you can first send a request to me/accounts like so:

💡 Double-click a node to see its settings, or paste  into n8n to import it

This returns a page-specific token for each page I have access to for me:

This page-specific token does not expire as per Facebook’s token debugger:

Using this new token you should then be able to interact with your page for an extended period of time via the API.

Renewing Facebook Graph API token automatically?

  Mã truy cập dài hạn https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived/ https://community.n8n.io/t/re...