facebook-python-business-sdk icon indicating copy to clipboard operation
facebook-python-business-sdk copied to clipboard

Non-Expiring Long-Lived Page Token

Open dendihandian opened this issue 7 months ago • 1 comments

Is it possible we can generate a non-expiring long live page token? or there is a workaround to do that? so we are no longer to requests token generation to a page's owner?

dendihandian avatar Jun 19 '25 02:06 dendihandian

Hi @dendihandian

Depends on your setup. If you access pages linked to or owned by your business manager, you can generate a page access token directly with the SystemUser / AdminSystemUser AccessToken.

https://developers.facebook.com/docs/graph-api/reference/page

ex : PAGE_ID?fields=access_token&access_token=SYSTEM_USER_TOKEN

Image

Just1B avatar Jun 19 '25 08:06 Just1B