MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

newFetchPersonAppDataRequest not working

Last post 06-10-2009 12:54 AM by Ilya. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-08-2009 7:02 AM

    • Ilya
    • Not Ranked
    • Joined on 04-19-2009
    • Posts 9

    newFetchPersonAppDataRequest not working

    Hi !

    I use "newFetchPersonAppDataRequest" to get the scores of user's friends and display a top scores table.

    This is how I've done it so far (it worked on MySpace untill yesterday and it works on Orkut, iGoogle, Hi5):

    var idSpecOwnerFreinds = opensocial.newIdSpec({ "userId" : "OWNER", "groupId" : "FRIENDS" });
    var owner_fields = ["stats"];

    req.add(req.newFetchPersonAppDataRequest(idSpecOwnerFreinds, friends_fields), "owner_friends_data");    req.send(process_data);      
                   
     Now, the obejct "owner_friends_data" just returns empty.

     I have tried another approach, but with the same result - "owner_friends_data" returns as an empty object:

         
    var fr_params = {};
    fr_params[opensocial.IdSpec.Field.USER_ID] = opensocial.IdSpec.PersonId.OWNER;        
    fr_params[opensocial.IdSpec.Field.NETWORK_DISTANCE] = 1;       
    var idSpecOwnerFreindsNew = opensocial.newIdSpec(fr_params);        
    req.add(req.newFetchPersonAppDataRequest(idSpecOwnerFreindsNew, friends_fields), "owner_friends_data");

    req.send(process_data);   

    Is this a container issue or am I missing something?

     Thanks

  • 06-08-2009 7:26 AM In reply to

    Re: newFetchPersonAppDataRequest not working

    You're saying this worked up till yesterday? are you using os8? What is your appID?

    Nothing has changed that I am aware of (on our end)

    Rhonda

     

  • 06-10-2009 12:54 AM In reply to

    • Ilya
    • Not Ranked
    • Joined on 04-19-2009
    • Posts 9

    Re: newFetchPersonAppDataRequest not working

     Hello Rhonda

     Yes, I'm using os8

     My app id is 134758

     Thanks

     

Page 1 of 1 (3 items)