Re: [orkut-developer] Import orkut profile from my website

2011-03-20 Thread Robson Dantas
Hi!

You are really using an old version of the api. You should be using 3legged
oauth instead of 2legged in order to have something similar you have on
Facebook.

So, in this sense, take a look here:

php library (which i developed):
http://code.google.com/p/orkut-os-client-php
java library ( developed by google ):
http://code.google.com/p/orkut-os-client

There is also a working (test) code I created, which is inside the library
too. If you wanna take a look, just follow here:
http://www.dxs.com.br/os-3leg/test/

Best

Robson Dantas
@robsondantas

2011/3/16 Johnny Bergström johnny.bergst...@duego.com

 Coming from facebook connect, I find the documentation for talking to
 the orkut opensocial api confusing.

 I would like to be able to read the profile settings like name,
 gender, birthdate etc and have this in my external webpage.
 I'm trying to use an example equivalent to

 http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkut

 I've created an application xml and got the OAuth params.
 How do I actually add this application to the user? How do I request
 the authorization from this user to get these fields from them?

 I find the documentation a bit dated since I can't find the menus and
 links they are writing about, and it's all focusing on javascript
 application to put in the orkut application directory, I don't really
 want to create an application in this manner I'm only after a way to
 import social data to my website.

 Regards,
 Johnny

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



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



[orkut-developer] Import orkut profile from my website

2011-03-19 Thread Johnny Bergström
Coming from facebook connect, I find the documentation for talking to
the orkut opensocial api confusing.

I would like to be able to read the profile settings like name,
gender, birthdate etc and have this in my external webpage.
I'm trying to use an example equivalent to
http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkut

I've created an application xml and got the OAuth params.
How do I actually add this application to the user? How do I request
the authorization from this user to get these fields from them?

I find the documentation a bit dated since I can't find the menus and
links they are writing about, and it's all focusing on javascript
application to put in the orkut application directory, I don't really
want to create an application in this manner I'm only after a way to
import social data to my website.

Regards,
Johnny

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