I have 2 questions about a RESTful implementation of OpenSocial using
Shindig 1.0 in PHP.

 

1)       How do I indicate an empty set?  For example, if a request is
made for activities when a user has no activities, how should this be
handled?  I tried returning an empty array but this seems to cause an
exception.

2)       How do I indicate actual errors to Shindig?  Right now, I'm
modifying the HTTP header to indicate code 500, 400 or whatever.  Is
there a better way to do this?

 

Thanks,
Jason

Reply via email to