How to Get Instagram Access Token in 1 Minute

Instagram plugins use the special API that requires authentication – specific requests made on behalf of a user. This procedure will be realized only with the help of Instagram Access Token. Thus, our article will explain to you the purpose of Token and how you can get it. Let’s go!

What is Instagram Access Token – Brief Description

Authenticated requests need Instagram Access token. Access Token is an opaque string that identifies a user, app, or page. It can be used by the app to make graph API calls and is unique to each user.

Instagram Access Token is essential for the usage of most Instagram based apps.

Step-by-Step Guide for Getting Instagram Access Token

You have to complete the following 3 simple steps to get Instagram Access Token:

  • Sign in Instagram as a developer
  • Register a new Client ID
  • Get Instagram Access Token using Client ID and Client Secret
We have prepared the detailed video and text instructions describing the process of connecting to Instagram API.

1. Sign in Instargam as a developer

Visit the Instagram Developer Page

Before getting your Access Token you have to register as a developer in Instagram and to receive Client ID and Client Secret. That’s why you should follow the link to the Instagram developer web page.

Instagram Developer Register Page
Instagram developer register page

Log in Instagram

To get a Client ID and Client Secret you need to be registered in Instagram. Create an account or log in using the existing account to pass on to the next step.

Instagram Login Form
Instagram login complete

Fill in the Developer Signup

Instagram demands to be registered as a developer from everyone, who wants to display Instagram feed on his website. After you log in Instagram the next window will appear.

Instagram Developer Signup
Fill in your developer signup

Check all the fields on the web page:

  • your website – the URL of your website
  • phone number – any phone number
  • what do you want to build with API – any short description

After this signup, the Instagram Developer Documentation will appear. There you will see greetings and the following overview.

Register Instagram Application
Welcome, new developer!

Now, as a developer, you can register your application. To do that click on the link marked above. Instagram will notify you that at the moment you don’t have any apps and will offer you to create a new one.

Manage Instagram Clients
Now register a new client

The next step is to authorize your new application and new client.

2. Register a New Client ID

The next page has 4 obligatory fields for filling so be attentive!

Register New Instagram Client ID
New client ID signup

Check the fields on the web page:

Now confirm your data and proceed to the next page. Here you can see received Instagram Client ID and Client Secret.

Get Instagram Client ID and Client Secret
Here is your Client ID and Client Secret
Note that if you are going to work with square photos on your website then turn on the non-square media option. Just edit your client and find “Migrations” section. Don’t forget to click “Update Plugin” so that changes will take effect.
Instagram Non Square Media
Instagram non-square media section

3. Get Instagram Access Token using Client ID and Client Secret

Сopy your all-new Instagram Client ID and Client Secret and paste here.

Ger Instagram Access Token
Instagram Access Token page

We created this page so that you will be able to get your Instagram Access Token in the fastest way. Note that Instagram will request your authorization as a sandbox user. That’s why click “Authorize” on the next page in order to complete the task.

Instagram Sandbox Authorization
Sandbox authorization window

Copy the Generetad Access Token

Congratulations! You’ve achieved the task and get your Instagram Access Token. Feel free to use it and display Instagram photos on your website with the help of our Instagram plugins InstaShow or InstaLink.

Instagram Access Token Received
You’ve received your Access Token

You Don’t Feel Secure?

You might have another question about your newly achieved Instagram plugin and its security: “What if someone will get my Access Token?”. Simply – nothing terrible. Here’s why.

If someone gets your Access Token then don’t worry.

You can’t do anything with Instagram Access Token except browsing photos. This token doesn’t give any access to your personal data. Moreover, it doesn’t allow making any action from your name.

Keep going and share your Instagram feed on the website!

Still Have Questions about Authorization Process?

Feel free to contact us by submitting a ticket in Elfsight Support Center. We are ready to help you with any emergent issue. By the way, stay tuned to our blog and get more useful articles and plugins’ guides!

Try the Instagram Feed that works 100%!

Try out all the advantages and construct the perfect Instagram Feed for your website.
  • Vasily Pilipeyko

    I followed all the steps, generated token, however when I paste it in plugin it doesn’t show anything! When I check the error it shows the following:
    “This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions.”

    • Hi, Vasily!

      Unfortunately, we don’t provide support in comments. Please, reach us via email and we will help you solve the issue!

      Regard, Elfsight

  • ikskisisi


    “{“code”: 400, “error_type”: “OAuthException”, “error_message”: “Redirect URI does not match registered redirect URI”}”

  • Marit Simons

    I have the new access token, but my feed doesn’t show up..

  • Stephanie Dubin

    I followed these steps, I have the URLs correct, I was able to obtain a new token. The problem is in WordPress dashboard, I click the link to “Connect to Instagram” and I get this error:

    {“code”: 403, “error_type”: “OAuthForbiddenException”, “error_message”: “You are not a sandbox user of this client”}

    Is there any other way to input my access token? Please help, I love the plugin. Thank you.

    • Hi Stephanie Dubin,

      Please, contact with us via Our support team will help you solve your issue.

      Regards, Elfsight

  • Alesja Uglova

    hey, why should i use elfsight username to create access token for me? can’t I do it through my username?

    • Hi, Alesja!

      Please, make more exact which step of the article you are talking about. You mean website URL and URI or elfsight_instashow login?

      • Alesja Uglova

        I mean, when I generate access token it seems that I’m registering it through elfsight_instashow … this seems not very secure to me

  • gregory gerla


    I’m getting the error:

    [#InstaLink_0: OAuthPermissionsException | This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions.]
    I’m guessing it’s because the blog is only for setting up a sandbox website? If I want it to be live I need to submit the app for review? Is this correct?


  • I followed the instructions and it worked perfectly. Thanks a lot, Your tutorial is on point, easy to follow and clearly stated. Well done.

    • Hello, Mary!

      It’s great to know that our guide does really help and everything is working fine! We will keep publishing useful articles to keep our customers in the loop.

      Regards, Elfsight

  • Felix Kimanthi

    Can i use this token in my android app

    • Hello, Felix!

      Yes, you can. It will allow you to display 20 Instagram photos from your account.

      Regards, Elfsight

  • Monk me

    “You Don’t Feel Secure?”
    It’s not the access token I’m worried about. If I were to use this I would have to give you my app secret.

    • Hello, Monk me!

      App secret doesn’t allow doing anything with your Instagram account. We don’t store it anywhere and use it only for generating Access Token.

      Regards, Elfsight

  • Ketevan

    {“code”: 400, “error_type”: “OAuthException”, “error_message”: “Redirect URI does not match registered redirect URI”}
    thank you

  • W Vito Montone
  • Can I get all photos of single user using this method? I mean not my Instagram account. Someone else account.

    • Hello, bCliks!

      Instagram Access Token allows you to show only the latest 20 photos from your own account.

      Regards, Elfsight

  • Md Shaddam Hossain

    wow ! this is very helpful post . my work successfully done. thanks to admin.

    • Hi, Shaddam!

      Thanks for your feedback. We are very glad that everything works fine!

      Regards, Elfsight

  • Md Shaddam Hossain

    Those who couldn’t get it done ……. i will suggest them to watch the above video.


  • Inderdeep singh

    I was follow points but when i try to get token then is show error {“code”: 400, “error_type”: “OAuthException”, “error_message”: “Redirect URI does not match registered redirect URI”}

    Please help

  • sharon wu

    Hi, ever since the new IG algorithm update, it looks like my IG feed is not synced up and showing weird error characters on my home page: I followed your instructions exactly and still am not getting the results as expected 🙁 Any help would be appreciated! Thanks.

    • Hello, Sharon!

      Please, clarify for us what Instagram plugin you use on the website.

  • Worked, very helpful.

    • Hello, wiSe!

      We are very glad that our article came in handy for you!

      Regards, Elfsight

  • Dominique

    We used this same method to get an access token to our own page, but after 2-3 weeks the token was not accepted anymore by instagram, any explanation about this considering the dic state the tokens theoricallh have no expiration date?

    • Hello, Dominique!

      According to Instagram documentation, Access Token can expire at any time. So we aren’t able to affect its activity time.

      Regards, Elfsight

      • Dominique

        Then in that case in means we can’t show our own Instagram Feed on our website (with a customized html display) with the assurance it will work more than a few weeks? If so, it’s quite disappointing !

        I would recommend a small note in the article warning about this problematic.

        Thanks for your quick reply!

        • Our customers face very rarely such situation. Instagram Access Token works well in most cases, so your situation might be an exception. We apologize for inconveniences and recommend you to get a new token and use it instead of the previous one.

          If there is any issue again, you can always submit a ticket in our Support Center: Our team will help with pleasure.

  • Luis Troya

    Does Instagram access token expire?

    • Yes, your Instagram access token gradually expires, so you’ll have to update it.

  • boomshakalako3

    Someone got api key with the permissions:
    And want to sell it to me?

    Send me a message and offer for it:

  • Jayvee Acar

    Does the access token expire?

    • Andrey Kozinskiy

      The access token can expire, and there is no way we can change this behavior, as it depends on Instgram. However, we can say from experience that it happens very seldom.

    • Yes, your Instagram access token gradually expires, so you’ll have to update it

  • Kartik Downey Jr.

    Do we have chance to edit website uri and redirect uri later when we develop some app ? And thanks for this blog post!

    • Andrey Kozinskiy

      You can edit the website uri any time you need.

  • Adam Phillips

    Hi, I just get the following message whenever I try to use the service:
    error_type”OAuthForbiddenException”code403error_message”You are not a sandbox user of this client”

    I am not sure what I’m doing wrong as I have followed your steps to the letter.

    • I’m afriad that you’re making a mistake when registering a new Instagram Client ID. Try to follow all the steps mentioned in the article.
      I’ve just followed this tutorial, and it worked for me.

  • disqus_F1y2U4SX1m

    Thankyou this was so simple and helpful!
    Worked perfectly, and made me feel like a tech wizz developer (which I’m definitely NOT) appreciate it!

    • Thanks so much for appreciating our article! Keep on reading our blog, we hope you’ll find more useful information here! 🙂


  • portalXHD

    for those getting error msg {“code”: 400, “error_type”: “OAuthException”, “error_message”: “Redirect URI does not match registered redirect URI”}

    *** website URL – has to be
    valid redirect URIs – have to be

  • damian amkowski

    🙂 You can record what ever been typed. Thats not secure

  • damian amkowski

    Yandex.Metrika counter
    🙂 You can record what ever been typed. Thats not secure

  • Đình Lâm

    My Token is not work
    There is error on Generetad Access Token: {“error_type”: “OAuthException”, “code”: 400, “error_message”: “Redirect URI does not match registered redirect URI”}

    • Hello Đình Lâm,

      Thank you for reaching out! Our Support Team has just reported that your issue has been fixed. Please, let us know if it’s the case.


  • Marissa Smith

    {“error_type”: “OAuthException”, “code”: 400, “error_message”: “Redirect URI does not match registered redirect URI”}

    This is the error message I am getting. Can anyone help?

    • Hello Marissa,
      Unfortunately, we cannot get the track of this error, since for us it all works well. It might be useful to read into the instruction more carefully and try again.
      We hope it will work for you, too!

      Best regards,

    • David Abiodun Ifechukwude Ever

      I’m having this same issue

  • Christian

    What a joke. You should tell people that you need to be able to a) have write access to your hosting or b) have an instagram dev account.

    People buy this to simply add a username and embed.

    Sick of deceiving developers like you.

    • Hello Christian!
      It is very frustrating that you got a negative experience with our guide! We still want to assure you that getting access token doesn’t require neither write access nor dev account. Could you please specify where you stumbled while getting the access token and we will try to help you with this.

      We hope it will change the situation.


  • David Abiodun Ifechukwude Ever

    Hi I got this error message {“code”: 400, “error_type”: “OAuthException”, “error_message”: “Redirect URI does not match registered redirect URI”}