Frequently asked questions (FAQ) for Web Services API

 
    • tburny sa...
    • Forum Moderator
    • 28 sep 2011, 12:10

    Frequently asked questions (FAQ) for Web Services API

    Hey,
    I thought it might be useful to build up an FAQ for common problems.
    Most issues in this forum seem to be related to authentication or character encoding, but maybe I'm missing some points. So if you see users facing a problem really often, please post the problem or a link in this thread :).

    What is this forum about?
    This forum is about help and issues related to the last.fm API. With the API, last.fm enables other (third party) developers to do some awesome stuff with all the scrobbles, tags, artist information, events and much more.

    What it's not about: Feature requests(not related to the API), web site support,... Please check the forums for that.

    I created a cool application, what now?
    You might want to submit your application to http://build.last.fm. To draw even more attention to what you did, create a topic in the Development Discussion forum. This way, users will have a central point to ask for help or give you feedback. If you're even more wise, additionally create a group and link it in the topic. In the group, you'll be the master of the forum (aka admin or root) and you can do some realease notes, "what do you like on app xy" and forum games stuff.

    Is there an implementation of the API for my programming language?
    Over the time, some users created lots of awesome programming librarys/modules for the API(like Java, VB.net, C#, JavaScript, ...).
    Check out http://last.fm/api/downloads

    If you wrote your own library/module, you can send ben-xo a message and he might add it to the downloads page :)

    Can I have multiple API keys per account?
    Yes, see http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/2089404 for more details.

    Which encoding do I have to use?
    All strings, like artist names, tags, etc. should be encoded in UTF-8. Especially when creating the signature string for an api call.

    Url encoding? Never heard of it
    All parameters must be url-encoded. This rule especially applies for ampersands(&) and spaces.
    When using XML-RPC you have to url-encode all ampersands, too, as they are not allowed in the XML specification.

    Invalid method signature supplied
    It is important that you read the documentation carefully. If you skip even the tiniest bit, you might run into traps, especially if it comes to authentication.
    In case you face some trouble, it's better to take a long walk and read it all over again.

    The response XML is broken
    This is a known bug and might seldom happen.

    I cannot find XY via MusicBrainz ID(MbId)
    The catalogue of last.fm is larger than the one of MusicBrainz. That means it is possible that no mbid exists for the requested artist/album/track.

    Migration vom Scrobbling Protocol 1.2.1 to 2.0
    See this post for a quick migration guideline(What changed?).

    Why is the radio subscribers only for me or other users?
    Please check out this page - or this forum post if you want to know more of the details.

    My Application uses the old 1.1 API. Why doesn't it work anymore?
    http://www.lastfm.de/group/Last.fm+Web+Services/forum/21604/_/2193354

    I have a problem with auth.getMobileSession
    If you are sending the user's password as a query string parameter instead of in a POST response body, please see http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/2207309


    Moderator(s) responsible for this forum: tburny

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    Redigerad av tburny den 15 nov 2013, 23:36
    • Ananfu sa...
    • Användare
    • 7 okt 2011, 06:28

    [spam]

    [spam]

    Redigerad av Knapster01 den 7 okt 2011, 16:04
    • Ananfu sa...
    • Användare
    • 7 okt 2011, 06:28

    [spam]

    [spam]

    Redigerad av Knapster01 den 7 okt 2011, 16:04
  • Invalid method signature supplied

    It is important that you read the documentation carefully. If you skip even the tiniest bit, you might run into traps, especially if it comes to authentication. In case you face some trouble, it's better to take a long walk and read it all over again.

    this is the most impertinent recommendation I have read for long time.
    so we are a bunch of idiots, who don't read carefully ?

    this api has by far the worst documentation I have ever seen in my life.

    Excellent time to become a missing person.
  • i agree with ChrEichert. i've run through all the steps twice and am still getting the same invalid signature error. i've asked a friend to run through all the steps, completely independent of me, and he gets the same error. where on earth do we go to get help with this?

    • jobgurus sa...
    • Användare
    • 19 jan 2012, 11:30

    [spam]

    edit by tburny: never spam my topics

    Redigerad av tburny den 8 feb 2012, 15:05
  • No reply for nearly three months. That's definitely how you support your developers.

    • tburny sa...
    • Forum Moderator
    • 24 mar 2012, 19:47
    Can you open a new topic for that? Maybe I can help you. Sadly I'm not able to make changes to the documentation, but if you post *what* you send and *how* (e.g. http headers), I will try my best :)

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
  • [spam]

    [spam]

    Redigerad av Knapster01 den 13 jul 2012, 12:13
    • adc002 sa...
    • Användare
    • 29 apr 2012, 07:24

    [spam]

    [spam]

    Redigerad av Knapster01 den 13 jul 2012, 12:14
    • attbmk sa...
    • Användare
    • 16 jun 2012, 20:32

    [spam]

    [spam]

    Redigerad av tburny den 17 jun 2012, 15:22
  • Beginner

    I'm quite new to all this API stuff and I'm frustrated because the documentation is horrendous. I don't know how to use the API, what languages are used, what IDE to use - nothing. Someone needs to write a beginner-friendly tutorial. For example, I would like to know how to integrate a Last FM player into a Flash program using Action Script 2.0.

    Even if my wants are too specific or untraveled, Last FM should still have a practical beginner's guide to getting started with API development. It's almost like they expect everyone to be seasoned professionals. Are you familiar with any online/offline resource to facilitate this learning process?

    --

    Regards,
    Greg G.
    California State University, Monterey Bay
    Computer Science and Information Technology
    • xindirru sa...
    • Användare
    • 31 mar 2014, 21:01

    [spam]

    [spam]

    Xindir.Ru Mobil Porno Indir
    Redigerad av Lastfmsupport den 1 apr 2014, 10:25
    • VISUyume sa...
    • Användare
    • 19 maj 2014, 08:08
    Hi.
    Could You change it? Infinite -> 인피니트

  • [spam]

    [spam]

    Redigerad av Jester-NL den 9 sep 2014, 10:18
Anonyma användare kan inte skriva inlägg. Vänligen logga in eller skapa ett konto för att göra inlägg i forumen.