Comments (7)
Had this same problem, you need your API key, which is different. Head to https://bitly.com/a/your_api_key to get it.
from bitly.
Hi @philgyford,
Sorry for the huge delay on this. Before recently, the generic API key method didn't work using the gem. However, with version 0.10.0 you can configure the gem like so:
Bitly.configure do |config|
config.api_version = 3
config.access_token = "MYGENERICACCESSTOKEN"
end
and it will authenticate with your access token and not your login and password.
from bitly.
I am getting BitlyError: INVALID_ARG_ACCESS_TOKEN - '500' using latest 0.10.3, any idea?
from bitly.
Don't use the deprecated API key, use oAuth on Bitly settings.
from bitly.
@jianbo : How did you solve it? I am facing same issue that is INVALID_ARG_ACCESS_TOKEN - '500'
with 1.1.1 also.
from bitly.
@philnash : I am facing INVALID_ARG_ACCESS_TOKEN - '500' with bitly 1.1.1 also. Would you please help?
from bitly.
Can you share the code you are using that is generating that error? It looks like an error coming from the Bitly API rather than the gem, though is probably how you are using it. I can't debug without an idea of what you're doing though.
from bitly.
Related Issues (20)
- The oauth2 < 0.9 limit may be outdated HOT 4
- v3.rb file is causing some naming conflicts and load order problems
- Alias to_s on Url objects to short_url HOT 2
- Default to v3 API HOT 3
- warning messages for version 3 API HOT 1
- Use HTTPS not HTTP when communicating with api.bit.ly HOT 2
- Update oauth to >= 1.0.0 HOT 7
- Test passing without actually testing outcome HOT 2
- Can't retrieve the short url in the view?! HOT 7
- passing title when creating link HOT 4
- Incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) HOT 1
- Passing parameters to Bitly.client HOT 1
- Modernise and rewrite this entire library HOT 4
- API V4 support HOT 10
- Undefined method "use_api_version_3" for Bitly:Module HOT 2
- 404 Not found while executing client.expand HOT 1
- Add missing endpoints HOT 1
- Make timeouts configurable HOT 1
- can't create custom bitlink / back half HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitly.