×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    2

    GetUserTopArtists & GetUserPlayHistory - Server Error?

    Hi there. I'm tying to collect MixRadio user data using the leatest MixRadio API but I have encountered some problems.

    First, i cannot authenticate the app to get user top artist. Here's my simple code:

    Code:
    MusicClient client = new MusicClient(Client_ID);
    var response = await client.AuthenticateUserAsync(Client_Secret, Nokia.Music.Types.Scope.ReadUserTasteProfile, myWebBrowser);
    Analyzing response, i get a Server Error. Is there any bug maybe?

    Also, authentication works fine with the scope ReadUserPlayHistory but the results i get are incorrect even though I have played several songs with Nokia MixRadio.

    Are there any server related problems?

    Thanks a lot,
    Giacomo.

  2. #2
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    27

    Re: GetUserTopArtists & GetUserPlayHistory - Server Error?

    ReadUserTasteProfile is the wrong scope that shouldn't be available to you. It will be removed from the next release.
    The play history is only sent from the MixRadio app when the user has it open in the foreground, after a certain number of tracks have been played and there is connectivity, so the results may be a bit out of sync with what's playing currently.
    Can you explain "incorrect" a bit please
    - do you get any results (i.e. you have a signed-in user in MixRadio)?
    - are they just older results (hpoefully the above explains that)?
    Regards,
    Steve

  3. #3
    Registered User
    Join Date
    Feb 2014
    Posts
    2

    Re: GetUserTopArtists & GetUserPlayHistory - Server Error?

    Thank you Steve.
    Yes, I've signed-in within the app. I always get just two (the same) results, but yes, as you said the results may be out of sync and I'll have more testing going on on this.

    So, to GetUserTopArtists I simply need to use the scope read_userplayhistory, right? Because I've tried that and I always get an ampty list. I'll have more testing also on this one. Maybe, as you said, it does get a bit of time to sync

    Thanks a lot,
    Giacomo.

  4. #4
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    27

    Re: GetUserTopArtists & GetUserPlayHistory - Server Error?

    Yes, the same scope is required. For the top artists call, it looks for the top artists over a week period where tracks have played to completion, so skipping around will not be counted.
    Regards,
    Steve

Similar Threads

  1. MWS on N80 - Internal Server Error
    By ErikSchmidt3001 in forum Mobile Web Server
    Replies: 1
    Last Post: 2008-07-23, 20:13
  2. Replies: 1
    Last Post: 2008-06-03, 13:38
  3. Replies: 13
    Last Post: 2006-12-01, 01:30
  4. error sending data to the server. SymbianOS error -1
    By dihex in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-15, 18:55
  5. WAP PPG Server Error
    By apleamon in forum WAP Servers
    Replies: 0
    Last Post: 2002-11-22, 15:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×