Think my spanish is not enough to handle this, so will go forward in english
:-)

Differences between 2 or 3 legged oauth:

- In order to have 2legged running, you must have an opensocial app inside
Orkut. 2legged will allow you to send calls without asking the user to
authenticate on Google. But on the other hand, you need to have userid to
make calls - this can be achieved persisting user´s data into your database
when loading the app for the first time.

It is algo good to note that 2legged will not allow you to use all the
features 3legged offers (sending scraps for example). It´s been a long time
without noticing new apps using 2legged, since 3legged was released.

You just need to get keys - type your xml url, and then it will give you
everything you need.
 https://www.google.com/gadgets/directory/verify

A sample configuration (PHP), here:
http://code.google.com/p/opensocial-php-client/source/browse/trunk/src/examples/__init__.php#96


- 3legged looks more robust, but as the name states, authentication process
needs 3 steps (or legs).
1) Your app requests a request token;
2) Container replies with a request token, and the user is redirected to
Google´s website to authenticate
3) When authenticated, Google redirect you to a callback, and then you
request to upgrade your token to an access token, which you will use to send
remote commands.

Access token can be stored, and takes time to expire (dont know exactly how
long on Orkut ).

There are several libraries to use this, and would suggest you to get this
way.

PHP: http://code.google.com/p/orkut-os-client-php/
Java: http://code.google.com/p/orkut-os-client/
.NET: https://code.google.com/p/orkut-oauth-api-csharp/

Let me know if you still have doubts.

Best

Robson Dantas
@robsondantas


2011/3/2 Pablo Mendez <[email protected]>

> Por favor, les ruego me respondan a esta consulta, ya que no quiero tener
> que abrir una cuenta de Google Apps y abonar los costos correspondientes,
> sin saber primero si eso constituye la solución al problema planteado.
> Muchas gracias.
> Saludos.
>
> Pablo Mendez
>
> --
> 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.
>

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