Welcome Developers!

in

Welcome!

in

how can you get your friends activities via MySpace SDK for Java

Last post 05-16-2011 11:09 AM by Joel. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-15-2011 1:02 PM

    how can you get your friends activities via MySpace SDK for Java

    hi everybody,

    i am new to this topic, researched a lot, but not on the right way?..and thats why no very successfull :(

    this is my code yet:

    OffsiteContext c = new OffsiteContext(key, secret);
    c.setAccessToken(new OAuthToken(accessTokenKey, accessTokenSecret));

    String id = c.getUserId();

    String activities = r.getActivitiesAtom(id);

    out.println(activities);

     

    this enables me to get my own activities.

     

    but how can i get my friends activities?
    i tried to get one friends id, and then using it this way:

    String friendsActivities = r.getActivitiesAtom(friendId);

    out.println(friendsActivities);

    but unfortunatelly this doesnt work :(

    is there any other way to handle this?
    please help!

    thanks a lot!

  • 05-16-2011 11:09 AM In reply to

    Re: how can you get your friends activities via MySpace SDK for Java

     I am not sure if this SDK is using old API url's or not. Can you get an http capture (Wireshark, Fiddler, etc) and post it here (just the api call and the response) - you can send it to developerrelations@myspace-inc.com instead as well.

     

    thanks,

    Joel

Page 1 of 1 (2 items)