Get instagram Acces_Token

Hi! I need help to get Instagram Acces_Token, when i open the “CMD” to insert the code i have a problem

i insert:

curl -F ‘client_id=My client ID’ -F ‘client_secret=My secret client’ -F ‘grant_type=authorization_code’ -F ‘redirect_uri=My Twitter acount’ -F ‘code=My code’ https://api.instagram.com/oauth/access_token

the CMD say:

{“error_type”: “OAuthException”, “code”: 400, “error_message”: “You must provide a client_id”}

Please help me.

Thanks for support. 

2 Likes

Hi @carlosac78,

Thanks for being part of the GitHub Community Forum! We’re glad you’re here.

I wanted to jump in here, and mention that if you don’t get the help you’re looking for from this particular community, you might want to try getting help somewhere that focuses on Instagram Support. It’s definitely possible another GitHub user might have run into this same issue and can help, but the GitHub Community Forum focuses primarily on topics related to GitHub itself or collaboration on project development and ideas. We want to make sure you’re getting the best support you can, but this forum may not be the right place for this particular topic.

Best of luck!

1 Like

Shouldn’t you be inserting the client ID where it says: client_id=My client ID???

Is client ID supposed to be a number? Or their username?

Try something like client_id=abeluna333

I hope this helps, let me know if you need anything.