Hi Christer,

http://code.google.com/p/opensocial-java-client/ might be a good starting
point, it allows you to talk to the OpenSocial end points and supports both
2 legged and 3 legged oauth.

Now that OAuth bit is actually quite relevant to your question:

2 legged OAuth is ideal for situations where there is an gadget installed on
the SNS, and the gadget's back-end service wants to get social information
from the SNS ... in this case you would use the consumer token and key to
'authenticate' without the need for going through what is often referred to
as 'the oauth dance' (having redirects and 'grant access' buttons and
confusing UI's).

3 legged OAuth is what you want to use in this situation, it does mean
you'll have to open up the web browser on the mobile phone to show the
'grant access' page of the SNS, but with the access token and key that it
results in you can then access the social resources until the end-user
revokes that right.

Now not all social networks support 3 legged oauth yet, actually most don't
yet but there is progress being made in implementing this. The best place to
find out the status (and possibly poke them that they should hurry along!:P)
is on the individual container's forums.

   -- Chris

On Sun, Jan 18, 2009 at 4:40 PM, cnordvik <cnord...@gmail.com> wrote:

>
> Hi!
>
> I tested the Android demo and it worked fine for Plaxo with anonymous
> access but not so lucky with others like Orkut and MySpace. So I have
> some questions regarding how to implement a client that I hope someone
> here can answer for me! :-)
>
> 1. Can I make an application that allows the users to post things to
> his profile without having the user download a separate gadget? I only
> want the user to download my Android program, authenticate against
> i.ex. Orkut and post his reviews to his profile.
>
> 2. Can I build the authentication inside the Android GUI so I don't
> have to let the users go to their browser to authenticate? Is there
> any examples of doing this somewhere?
>
> I am just starting out looking at integrating my application with
> OpenSocial and I am unsure how much can be done without making a
> gadget that the users installs...
>
> -Christer
> >
>

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

Reply via email to