Update: The problem only happens if using REST, it works properly with
RPC.

On Mar 25, 12:07 pm, Badaro <[email protected]> wrote:
> Hello,
>
> I'm having a strange problem when using the client library to access
> the REST API.
>
> This works:
>         var person = c.fetchPerson("15852577531273657289");
>
> This doesn't (401- Not Authorized):
>         var parameters = new Dictionary<string,
> org.opensocial.client.OpenSocialRequestParameter>();
>         parameters.Add("fields", new
> org.opensocial.client.OpenSocialRequestParameter("gender", "name"));
>         var person = c.fetchPerson("15852577531273657289",
> parameters);
>
> This is all taken from the sample code of the C# client library. Any
> ideas what may be wrong here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to