Blog2009 ≫ bit.ly unshorten api call doesn't work :-(

Badly formatted xml, damn.

Here's their example 1 oh yeah works fine in JSON but what if I want xml 2? That's not valid xml, so my xml parser isn't picking it up. Can't have a node 3 starting with a number like that. Why put the value in as one of the node 3 names like that anyway? Wonder if I've done this in my own api work at all? Maybe, to give the option of returning multiple values... Ah good bit.ly/roRyu 4, and neither should you bit.ly 5.

Our new highchair 6 has been dispatched!

  1. Removed old api.bit.ly/expand?version=2.0.1&shortUrl=http://bit.ly/31IqMl&login=bitlyapidemo&apiKey=R_0da49e0a9118ff35f52f629d2d71bf07 link here.
  2. Removed old api.bit.ly/expand?version=2.0.1&shortUrl=http://bit.ly/31IqMl&login=bitlyapidemo&apiKey=R_0da49e0a9118ff35f52f629d2d71bf07&format=xml link here.
  3. Javascript (programming language of the web) on the server side.
  4. Removed old bit.ly/roRyu link here.
  5. Removed old bit.ly link here.
  6. As an Amazon Associate, I earn from qualifying purchases.

💬 @pauly http://bit.ly/3ZKJuK How long will it be before bitly codes start with a letter again? That's how long until their api is fixed

⬅️ :: ➡️

Paulʼs weblog - I live some place you've not heard of in the deep South. Married + dad to two, I am a full-stack web developr, + I do js / node, some ruby, python, php etc. I like pubs, parkrun, restaurants, home automation and other diy stuff, history, genealogy, TV, squirrels, pirates ☠️, lego, + TIME TRAVEL.