MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

OpenSocial 0.9 REST bug: people @self call returns 401

Last post 10-20-2009 1:46 PM by krunal. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-16-2009 5:30 PM

    • Smart
    • Top 75 Contributor
    • Joined on 02-05-2008
    • Posts 54

    OpenSocial 0.9 REST bug: people @self call returns 401

    When I request @self data of a non-app installed user, if I specify ANY fields what so ever (even thumbnailUrl or displayName) I get a 401 response. This happens for friends and non-friends of the current user.

     If I delete the fields, I get the correct response.

     What gives? Why is this happening?

  • 10-20-2009 1:46 PM In reply to

    Re: OpenSocial 0.9 REST bug: people @self call returns 401

    hey there,

    You can't make request for non-friends data, no matter that person has app installed or not.

    Our current permission model doesn't allow to get non-install friends data unless it's canvas request. Though your suggestion has been considered and change will be made available soon  so you can request public data of the friend as far as friend is not blocking the app and friend has given permissions to non-install app.

    This change will be LIVE in 2-3 weeks, meanwhile you can make it work by passing query parameter opensocial_surface="CANVAS" in all your request.

    This will fix your problem.

    Thanks


     

Page 1 of 1 (2 items)