Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the documentation on using Client-Side access token generation only (<a href="http://instagram.com/developer/authentication/" rel="nofollow">http://instagram.com/developer/authentication/</a>) and the key thing you need to change is the responsecode in your URL to be: &amp;response_type=<strong>token</strong></p> <p>Client-Side (Implicit) Authentication If you’re building an app that does not have a server component (a purely javascript app, for instance), you’ll notice that it’s impossible to complete step three above to receive your access_token without also having to ship your client secret. You should never ship your client secret onto devices you don’t control. Then how do you get an access_token? Well the smart folks in charge of the OAuth 2.0 spec anticipated this problem and created the Implicit Authentication Flow.</p> <p>Step One: Direct your user to our authorization URL</p> <pre><code>https://instagram.com/oauth/authorize/?client_id=CLIENT-ID&amp;redirect_uri=REDIRECTURI&amp;response_type=token </code></pre> <p>At this point, we present the user with a login screen and then a confirmation screen where they approve your app’s access to their Instagram data. Note that unlike the explicit flow the response type here is “token”.</p> <p>Step Two: Receive the access_token via the URL fragment</p> <p>Once the user has authenticated and then authorized your application, we’ll redirect them to your redirect_uri with the access_token in the url fragment. It’ll look like so:</p> <pre><code>http://your-redirect-uri#access_token=270740070.f59def8.d58713f2c81741c5b3686109306f98b4 </code></pre> <p>Simply grab the access_token off the URL fragment and you’re good to go. If the user chooses not to authorize your application, you’ll receive the same error response as in the explicit flow</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload