Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Invalid API Key #7

Closed
fraserxu opened this issue Aug 31, 2013 · 1 comment
Closed

Invalid API Key #7

fraserxu opened this issue Aug 31, 2013 · 1 comment

Comments

@fraserxu
Copy link

Hi, I'm trying to use it on my machine. But when I register an app at imgur.com and use imgur -k ********, and then run imgur test.png, it returned me:

{
  "error":{  
    "message":"Invalid API Key",
    "request":"\/\/2\/upload.json",
    "method":"post",
    "format":"json",
    "parameters":"key = cca0e9d41a2d7c7, type = file"
  }
}

I've try to apply two different apps in a OAuth 2 authorization without a callback URL and Anonymous usage without user authorization. And it send me an email:

Thanks for signing up for the Imgur API.

Here are your API keys for your application: nodeImgur

client_id: 373556488501843
client_secret: bcdd71d81e9b6a16ffc2defd89c4147e6d992b29

I don't know what I should use to set the api_key, should I use the client_id or client_secret? Please help, thanks.

@fraserxu
Copy link
Author

It's because imgur has new api version. Thanks anyway. Closing...

kaimallea pushed a commit that referenced this issue Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant