Welcome Developers!

in

Welcome!

in

REST: filter friends by app installed or not

Last post 03-12-2008 2:46 AM by Jeremy. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 02-15-2008 11:18 AM

    REST: filter friends by app installed or not

    Is there any plan to add more filtering capabilities to the REST friends service?  Specifically, we would like to have the ability to filter the user's friends by those that have the app installed or not... something like:

     /users/{userID}/friends?page=x&page_size=x&list=top|online&has_app=0|1

     Also, the response from the existing xml/json response doesn't appear to have any attribute indicating whether or not the user has the app installed... that would be nice as well. (adding that attribute to /user/{userID}  would make sense too)

    Filed under:
  • 02-15-2008 12:45 PM In reply to

    Re: REST: filter friends by app installed or not

    Follow us on twitter for major updates and announcements:

    http://twitter.com/MySpaceDevTeam

    Friend the MDP Profile!
    http://www.myspace.com/myspacedeveloperplatform
    Filed under:
  • 02-15-2008 1:14 PM In reply to

    Re: REST: filter friends by app installed or not

     That's from the javascript side of things.  We need access to this from the REST side of the world.

  • 02-18-2008 11:02 AM In reply to

    Re: REST: filter friends by app installed or not

    this is something i would like very much also
  • 03-10-2008 11:40 PM In reply to

    Re: REST: filter friends by app installed or not

    One way of doing this is to check for each friend if they are actually friends with the app userId. People that have the app installed become "friends" of the app automatically. Note that the app profile will need to add the application to itself in order to allow the API call to work.

  • 03-11-2008 5:47 PM In reply to

    Re: REST: filter friends by app installed or not

    Joaquin, that sounds like it could be a painfully long and resource-intensive request if you're checking against a list of say, 3000 friends. I'd love to see a has_app filter on the REST side of things.

  • 03-12-2008 2:46 AM In reply to

    Re: REST: filter friends by app installed or not

    I'd like to see it on the JS side of things, since it doesn't actually exist there, either.

    i suspect that when one comes, so will the other, since the JS library is built over RESTful web services, anyway.

    And 3000 is nothing -- find a celeb or band page. Running through a million friends - that would be fun...

Page 1 of 1 (7 items)