Hi Vijaya,

About what you mentioned: "To retrieve more data for the member(s),
you need to use 'fields' query string parameter in your REST calls"

I'm trying to use a query string, like count=5, but I get an Error
401. Below, I'm posting the REST endpoint i'm using. If you have any
ideas on whats wrong, I'll be glad to hear.

http://sandbox.orkut.com/social/rest/people/08188257677088493439/@friends?count=5&oauth_signature=*************&oauth_consumer_key=orkut.com%3A744365788847&oauth_nonce=7768537923014727384&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1233161444&oauth_token=&oauth_version=1.0&xoauth_requestor_id=08188257677088493439

And just so you know, i do get a successful response when sending a
rest endpoint, with no standard query string parameter, like this:

http://sandbox.orkut.com/social/rest/people/08188257677088493439/@friends?oauth_signature=*************&oauth_consumer_key=orkut.com%3A744365788847&oauth_nonce=7768537923014727384&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1233161444&oauth_token=&oauth_version=1.0&xoauth_requestor_id=08188257677088493439

thanks,
pettersen

On Jan 21, 9:36 am, Vijaya <api.vij...@google.com> wrote:
> Hi Arun,
> orkut REST APIs do not support activities currently.
> In order to get the consumer key and shared secret for your app,
> please follow the instructions in the following section of the
> "Developer's Guide: Server to Server Protocol:
> (http://code.google.com/apis/orkut/docs/rest/
> developers_guide_protocol.html#Authenticating)
> Look under the sub-heading 'Acquiring a shared secret'.
> Use the generated consumer key and shared secret in your REST
> application to retrieve the data.
>
> When you use the Person REST API,  only the default fields (id,
> firstname, thumnail url etc.) are returned to you. To retrieve more
> data for the member(s), you need to use 'fields' query string
> parameter in your REST calls, as shown in section "6.5 Standard Query
> Parameters":http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/re...
> Currently the client libraries do not have support for specifying the
> fields, but you can directly use the REST endpoints and specify the
> query string parameters in your application.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to