user.getTopTags return with no result

 
  • user.getTopTags return with no result

    Hi, I try to get user's top tags. It is working for the user on the api page example: Rj's top tags

    But, if I replace the username with my own, nothing returns. What's the problem?

    Thank you.

    • JRoar said...
    • Alumni
    • 7 Mar 2012, 16:20
    Well, you haven't tagged anything.

  • JRoar said:
    Well, you haven't tagged anything.

    I thought user top tags includes tags of all the music that user listened. So what's the difference between getpersonaltags and gettoptags?

    • JRoar said...
    • Alumni
    • 7 Mar 2012, 16:59
    getPersonalTags returns everything you ever tagged (artists, tracks, albums), getTopTags returns only the tags you've used.
    You'll have to user user.getTopArtists and artist.getTopTags to retrieve what you want.

  • JRoar, I'll go with the methods you said. Thank you very much.

Anonymous users may not post messages. Please log in or create an account to post in the forums.