I am trying to get a long-lived access token from the Instagram graph API through a python script. No matter what I do, I keep receiving the following error:

{"error":{"message":"Missing client_id parameter.","type":"OAuthException","code":101,"fbtrace_id":"AogeGpzZGW9AwqCYKHlmKM"}} 

My script is the following:

import requests refresh_token_url = 'https://graph.facebook.com/v19.0/oauth/access_token' payload = {     'grant_type': 'fb_exchange_token',      'client_id': '1234567890123456'     'client_secret': '1234abcd1234abcd1234abcd',         'fb_exchange_token':'abcd1234' } r = requests.get(refresh_token_url, data=payload) 

I am for sure passing the client_id parameter. I verified also by printing r.request.body

On the contrary, the request is successful if I send it with the Postman app:

Why do I keep getting that error message? Thank you!

Hello, I'm trying to use the /me/leadgen_forms route but it's giving me the error "Requires pages_manage_ads permission to manage the object, the app may have the permission but in order to use this API, the app needs to be owned by a verified business" on specific pages, there are pages that work normally, but on some it gives me this error, my application already has the permission mentioned and my business is verified (I use it to send the official WhatsApp api)

My Google OAuth refresh token expires after one hour, even though both my OAuth and Google Ads API applications are verified and approved.

  • Both OAuth and Google Ads API apps are verified and approved.
  • Created a new client_credentials.json file after approval.
  • Using the provided Laravel example for the PHP Google Ads API.
  • Added the developer token with basic access and populated clientId and clientSecret in the google_ads_php.ini file.

For the refresh token i used command ~/go/bin/oauth2l fetch --credentials CLIENT_SECRET.json --scope adwords to obtain a refresh token. And added this token to google_ads_php.ini too.

Despite these steps, I consistently encounter a "token has been expired or revoked" error after 60 minutes.

Dear Meta Support Team,
I am writing to urgently address a critical issue with the Data Use Checkup for my app, which integrates Facebook login. Despite numerous attempts and reaching out through your community forums, there has been no assistance or response from your team. My application is now restricted, preventing user logins and significantly disrupting my business.
The process has been consistently buggy, displaying an error message "Something went wrong. We're working on getting it fixed as soon as we can" every time I attempt to initiate the checkup. This is unacceptable, especially given the tight deadline imposed, which has now passed, further compounding the issue.
Immediate attention and resolution are imperative. The lack of support and the malfunctioning system are not only frustrating but also damaging to my business. I require direct intervention to resolve these checkup issues and restore functionality as soon as possible.
Please treat this matter with the urgency it demands.
Regards,

For approximately two weeks now, our webhook has ceased to send us messages.
Despite successful authentication, no messages are being echoed through the webhook. Interestingly, when testing with Postman, I am able to retrieve logs, indicating that the issue may be specific to interactions with Meta.