admin管理员组

文章数量:1392094

I'm developing a Python daemon application intended to run continuously in the background and interact programmatically with an internal Facebook page using the Meta Graph API. I've been struggling to find a reliable method for obtaining a permanent access token — or at least establishing a token-refresh strategy that doesn't require manual renewal every 60 days.

The official Facebook documentation isn't very clear or helpful in this specific scenario. Ideally, I'd like a solution that:

  • Doesn't need frequent manual intervention.
  • Provides a stable, long-term authentication mechanism suitable for unattended scripts/daemons.

Has anyone tackled a similar problem or found best practices for handling long-lived or permanent tokens with the Meta Graph API? Additionally, are there recommended developer communities specifically for Meta Graph API development where I could seek further advice?

本文标签: pythonMeta Graph API How to get a Permanent Access Token for Internal Daemon AppStack Overflow