MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Urgent - friends rest api broken....

Last post 09-22-2009 11:59 PM by Eddie. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 08-23-2009 1:53 AM

    Urgent - friends rest api broken....

    I use

    api.msappspace.com/opensocial/v1/OWNER/friends

    in two of my apps which are now broken.

    The xml returned includes a a friends count -

    <friends count="1">

    This used to be the total number of friends the user had

    but now appears to be the number returned in the xml.

    My two apps rely on knowing the total number of friends

    profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=105324

    profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=106734

     - I already have over 100 messages saying the apps are broken... and there are 50,000+ current installs between the apps....

    Please fix asap

    Thx

    Eddie

     

    Edit - make that three apps - 

    profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=104439

    also needs total friends.....

    Eddie

     

     

     

     

  • 08-25-2009 10:40 AM In reply to

    Re: Urgent - friends rest api broken....

     Hi Eddie,

     We are aware of the issue and have a fix in progress. We'll update the thread once it goes out.

     Nikita

  • 08-27-2009 8:18 AM In reply to

    Re: Urgent - friends rest api broken....

    Appears to be fixed now - hope so

    Cheers

    Eddie

  • 09-18-2009 11:16 AM In reply to

    Re: Urgent - friends rest api broken.... part 2

    Not sure if this is / was linked but (pointed out by a user)

    The call for the users top friends does not pull back all the top friends - it is just pulling back the top 20.

    It used to pull them all back in one go - up to 40.

    Could you fix it back to how it used to work?

    This is possibly affecting up to 100,000 with my apps alone

    Thanks 

    Eddie

     

  • 09-18-2009 12:04 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

     Hi Eddie,

    When did this start happening? Also, where in your applications are you making this call, i only see calls to get all friends. By the way your "flash random apps" is making a call per friend to the friends end point with page size set to 1. That's probably not the most efficient way of doing things.

  • 09-18-2009 12:07 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

    I mean "Flash Random Friends Slider", not "flash random apps" :).

  • 09-18-2009 12:58 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

    So it appears the default page size has changed from 40 to 20. You could specify an explicit page size of 40, which should resolve your issue.
  • 09-18-2009 11:45 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

    Apps making the top friends call are:

    Don't know when it started but was pointed out by a user yesterday.

    Getting 40 may not help as not everyone has the full 40 top friends- will it only give me top friends? Or will it give me 40 friends regardless?

     

    Cheers

    Eddie

     

  • 09-20-2009 1:02 AM In reply to

    Re: Urgent - friends rest api broken.... part 2

    Half a dozen new messages last night / yesterday so I'd say this bug was brought in very recently

    Pls fix ASAP

    Cheers

    Eddie

     

  • 09-22-2009 11:10 AM In reply to

    Re: Urgent - friends rest api broken.... part 2

     Hi Eddie,

    If you specify the page size to be 40 and filter criteria to be top friends, you will get up to 40 of only top friends. Not a full page that includes top friends and backfills with non-top friends. Does that answer your question?

     

    Nikita

  • 09-22-2009 9:50 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

    Hi Nikita

    Thanks but still don't see why I should have to change my code that has been live for 18 months due to a myspace error....

    Eddie

     

  • 09-22-2009 11:59 PM In reply to

    Re: Urgent - friends rest api broken.... part 2

    Relunctantly changed the code (*4) adding page to the call - seems to work

    Eddie

Page 1 of 1 (12 items)