-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs to reflect correct API key for bitly #77
Comments
Good call that the old documentation might be out of date. I didn't update it when I turned the add-on into a webextension. I'll also make sure to bubble errors into the console so at least you'll know what happened. Side note: I am using bitly with an API key right now with no problems. |
Oh also, OAuth Token (the thing I am linking to in the copy shorturl prefs) is obviously what you need |
To confirm, did you generate a "generic access token" with bitly? |
Yes I originally started to create the Registered OAuth Application via the Bit.ly menu but realized that it seemed overly complicated for what I needed. That was when I discovered via bit.ly that a "generic access token" was more suitable. Perhaps the online documentation could indicated that? |
Yeah has little to do with more suitable -- the implementation I wrote is for what bitly calls "generic access token". |
I'll keep this Issue open to adjust the docs! |
I have used the older style API key and user account in various shortening apps over the years and it worked. I copied the API_Key that I have always used from my bit.ly account and pasted it into the extension and saved the settings.
I then spent 20 minutes wondering why I kept seeing
I gave up using the API_Key and had to to go through the OAuth token generation process and embedding the token into the https://api-ssl.bitly.com/v3/shorten?format=txt&access_token=&longUrl=%URL%
As mentioned in the documentation http://copy-shorturl.readthedocs.io/en/latest/serviceurl.html
The text was updated successfully, but these errors were encountered: