You mean My app make a request to container and get a response. This
response have a param called "opensocial_viewer_id".
And I use it in every request, don't I?

But I think the authentication and data request is together.

Or anybody can show me a request URL.

Thanks
Tom

On Feb 26, 10:58 am, eduardorochabr <eduardoroch...@gmail.com> wrote:
> Runaway, the process starts by the container making a request to your
> server-side application. This request will contain a parameter called
> "opensocial_owner_id" and also "opensocial_viewer_id".
>
> On 26 fev, 13:19, Runaway <huangguan3112...@gmail.com> wrote:
>
> > I have read the source of Python and Java client.
> > But in the sample, it use "USER_ID = '03067092798963641994'" as the
> > first User ID.
>
> > I mean how I could get the User ID of who is using my app.
>
> > Is there a method to get current user?
>
> > Thanks
> > Tom
>
> > PS:
> > It seems the OpenSocial .NET Client is unavailable. I have deal with
> > it by myself.
>
> > On 2月26日, 下午5时00分, Vijaya <api.vij...@google.com> wrote:
>
> > > You can use one of the REST client libraries
> > > ( OpenSocial PHP Client 
> > > Library:http://code.google.com/p/opensocial-php-client/
> > > OpenSocial Java Client Library 
> > > :http://code.google.com/p/opensocial-java-client/
> > > OpenSocial Ruby Client Library 
> > > :http://code.google.com/p/opensocial-ruby-client/
> > > OpenSocial Python Client Library 
> > > :http://code.google.com/p/opensocial-python-client/)
> > > to help you generate the OAuth parameters.
--~--~---------~--~----~------------~-------~--~----~
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