Refresh Access Token in Facebook API

Tiempo de lectura: 2 minutoshtml Copy code Reading Time: < 1 minutes Today, we’re going to learn how to refresh the Facebook API token. To refresh it, we’ll use the Facebook library. pip install facebook-sdk And this code: def get_user_token(app_id, app_secret): graph = facebook.GraphAPI() token = graph.get_app_access_token(app_id, app_secret) return token If we need to extend the current token, we … Read more








