How Can I Update My Facebook Access Token Using the REST API?
Question
How can I update my Facebook access token using the REST API?
Environment
- Connector: Facebook Ads
- Authentication method: System user token
Answer
You may be required to update your access token when it is no longer valid. To reset a Facebook access token through the REST API, do the following:
- Generate a new access token on Facebook.
- Use the REST API to retrieve the connector details.
- Use the REST API to modify the connector with a
PATCH
request.- Include all connector objects retrieved in step 2.
- Update the new
access_token
in theauth
object.
See our documentation for an example of a Facebook Ads authentication PATCH
request.