The user must have the app for this code to work (replace the 0123...
with the actual id):

var req = opensocial.newDataRequest();
req.add(req.newFetchPeopleRequest(opensocial.newIdSpec({ userId:
'0123456789001234567890', groupId: 'SELF' })), 'person');
req.send(function(r){ console.log(r.get('person').getData().asArray()
[0].getDisplayName()) });


//pp User.all.collect {|a|[ a.statuses.last.text, a.oid] }
// ['09645423951781099519','04498506360887685883',
 '10114471212185745412', '12000235571784578815',
'11613552544187774125']


On 30 mar, 06:20, Raj <rajkishore.upadh...@gmail.com> wrote:
> Hi All,
>
> I have a orkut user id saved into my database. Now I want to retreive
> the information about the user from that user id..... The person does
> not belongs to viewer_friends and owners_friend group
>
> How can I retreive the user's information from the given user id......
>
> Please let me know the answer,
>
> Thanks and Regards
--~--~---------~--~----~------------~-------~--~----~
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