Get data from API

Hi everyone,
Could you please help me with this issue about Invalid OAuth token when I tried to get data from “
I used npm module “request” to get the data. However, when I call the request, the terminal shows the status code is 401 because of the “Invalid OAuth token”

Very appreciated that if somebody can help me with this issue

Just guessing based on the name but is ‘mySecretID’ your Client Secret you got from dev console?

Yes, I got it from the Client Secret of dev console.

your secret is not an oauth token :slight_smile:
You can use it to get an oauth token :smiley:

1 Like

Thank you very much, I got the data!!!