Code Monkey home page Code Monkey logo

Comments (7)

ttringas avatar ttringas commented on June 7, 2024 1

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.

philnash avatar philnash commented on June 7, 2024

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.

jianbo avatar jianbo commented on June 7, 2024

I am getting BitlyError: INVALID_ARG_ACCESS_TOKEN - '500' using latest 0.10.3, any idea?

from bitly.

vincentcordel avatar vincentcordel commented on June 7, 2024

Don't use the deprecated API key, use oAuth on Bitly settings.

from bitly.

sachinswagh-opcito avatar sachinswagh-opcito commented on June 7, 2024

@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.

sachinswagh-opcito avatar sachinswagh-opcito commented on June 7, 2024

@philnash : I am facing INVALID_ARG_ACCESS_TOKEN - '500' with bitly 1.1.1 also. Would you please help?

from bitly.

philnash avatar philnash commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.