Welcome Developers!

in

Welcome!

in

problem with status

Last post 08-05-2009 6:27 AM by qedejavu. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-05-2009 6:27 AM

    problem with status

    hi, 

     i'm working with the opensocial-java-client library and i'm able to get my id, nickname and other information like drinker, age, ... but i can't get my status (and it's set)

    the code is:

    Map<String, OpenSocialRequestParameter> parameters = new HashMap<String, OpenSocialRequestParameter>();
    parameters.put("fields", new OpenSocialRequestParameter(new String[ { "gender", "name", "status", "sexualOrientation", "drinker" }));
             
    OpenSocialPerson person = client.fetchPerson(parameters);

    request and response:

    Request URL:
    http://api.myspace.com/v2/people/@me/@self?oauth_signature=##################&oauth_version=1.0&oauth_nonce=##################&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=##################&oauth_token=##################&oauth_timestamp=##################&fields=gender%2Cname%2Cdrinker%2CsexualOrientation%2Cstatus
    Request body:
    null
    Container response:
    {"entry":{"id":"myspace.com:492078013","displayName":"qedejavu","gender":"Male","drinker":{"value":"yes","key":"yes"},"sexualOrientation":"Hetero"}}

     am I doing something wrong? (probably)
     what am I doing wrong?

     tia, josch

    and since i'm already asking - is there a way to change my status? (with myspaceid/oauth/the way i'm using above?)

    Filed under: , , ,
Page 1 of 1 (1 items)