Hey Davi,

OpenSocial doesn't provide any functionality for dealing with username /
password authentication, because, well, it's what we would call an anti-
pattern, something you shouldn't do.

Giving out your super secret login credentials to random sites on the net is
a great way to make sure that you have no privacy, your account will be used
for spamming and everything you have of worth in your email will be stolen..
what's more, often those same credentials also give access to online web
stores like amazon, and financial systems like paypal. In other words, it's
a really, really, really bad idea to give out your login name & password to
a site!

That's why OpenSocial instead uses OAuth, it has all the benefits (being
able to access resources like friend lists and profile information, that
require authentication), and none of the downsides. Oh and the OpenSocial
Java client library provides the REST & OAuth functionality you need to do
this 'the right way': http://code.google.com/p/opensocial-java-client/

If you would like to use username/password authentication, well as
mentioned, that's something you shouldn't want, but that's often done by
screen scraping: http://en.wikipedia.org/wiki/Screen_scraping (ie: doing the
posts and fetches your self and parsing the web pages in your code) for the
sites that don't have API's for it (and the smart ones have API's that use
OAuth instead of username/passwords).

Hope that helps,

     -- Chris

On Tue, Jun 16, 2009 at 10:49 PM, Davi Pires <inho...@gmail.com> wrote:

> Hi all,
> What part of the REST API is implemented for the orkut network?
> Specifically, I'd like my server to pull the names and email addresses of
> the friends of a user [given username and password] from Orkut. Is it
> already possible? If so, could anybody point me some links?
>
> If not, has anybody already implemented something like that, or knows a
> working library in Java that would accomplish that?
>
> Thanks in advance,
> Davi Pires
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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