Code Monkey home page Code Monkey logo

Comments (8)

haydenbleasel avatar haydenbleasel commented on August 14, 2024

Same with INVALID_APIKEY, should return as an error.

from node-bitly.

tanepiper avatar tanepiper commented on August 14, 2024

@haydenbleasel Can you provide a test case for this showing the issue? My apologies but I haven't updated this module in a while. Happy to look at fixing it

from node-bitly.

haydenbleasel avatar haydenbleasel commented on August 14, 2024
var Bitly = require('bitly');
var bitly = new Bitly('haydenbleasel', 'XXXXXXXXXXXXXXXX');
bitly.shorten('https://github.com/tanepiper/node-bitly', function(err, response) {
  console.log(err); // null
  console.log(response); // { data: [], status_code: 500, status_txt: 'INVALID_APIKEY' }
});

Same goes for @oveddan's issue I think.

from node-bitly.

tanepiper avatar tanepiper commented on August 14, 2024

@haydenbleasel @oveddan Hi folks, this should be resolved now.

The callback (and new promise api) returns an error on this now.

from node-bitly.

oveddan avatar oveddan commented on August 14, 2024

Thanks @haydenbleasel

from node-bitly.

tanepiper avatar tanepiper commented on August 14, 2024

@oveddan Apologies for it taking so long - hopefully this new version will fit your needs.

from node-bitly.

meddey-tech avatar meddey-tech commented on August 14, 2024

I have same issue when using this api on web application..

from node-bitly.

tanepiper avatar tanepiper commented on August 14, 2024

@meddey-tech The version discussed before was for Bitly API v3 - the API is now v4, are you using the correct version of the library?

from node-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.