This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Introduction to Twitter's API Forum

View Course » View Exercise

1467 points
5032af7abdb9a4000200de42_948164388
Submitted by
Aaron Williamson
about 3 years ago

Access token explanation

I'm fuzzy on my understanding of the access token provided by Twitter.

Codecademy says that the access token "identifies a user of your app". What exactly does this mean? Is a "user" someone that just navigates to my app and clicks something that interacts with Twitter's API, or is it someone who logs into my app, or is the user just me? I only ask because there's only one access token generated, so I'm having trouble understanding how it identifies multiple users unless a new token is generated for a request coming from a different IP or something. Am I way off base?


2 votes

permalink

The access token generates requests on your behalf. This is only for you, it would be like giving someone your bank pin. Only you can access your bank pin, but if you give someone else the key, now they can.

452 points
2db5c706439444a7b1e648c41ba73a7d?s=140&d=retro
Submitted by
Justin Stear
about 3 years ago