Hi Shindig Dev, I was just looking at the code and tried to relate things with the spec. I found some inforrmation from API reference and some from Restful Specification. I am a bit confused with what I read.
The point is related to SortOrder parameter in request. Accroding to API (0.8.1) http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.SortOrder SortOrder can be Top_Friends and Name for the People (there is nothing mentioned about activities & AppData sort order.) According to Restful protocol specification (0.8.1) http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/restful-protocol(section 6.5) SortOrder can be Ascending or Descending, default ascending. It does not say anything about service for which this SortOrder can be used(People/Activity/AppData) In PHP code JsonDbOpensocialService::getPeople() uses CollectionObject to get SortOrder and by looking seems that it is meant to work on TopFriends and Name. and in ActivityService->getActivities() uses sortBy parameter but not using sortOrder. by looking at the code it seems that it does not expect anything related to sorting that is supported by the API. So, now my point of confusion is do we need sorting for Activities/AppData ? if not then what is the meaning of sortOrder parameter in Restful Apecification and ActivityService->getActivities(). Is it me who is not getting it right or there is some mismatch in API refernce and resful specification ? Please clarify. Astha

