personAppDataRequest is meant for getting appData. Use os:PeopleRequest for
people.get and OwnerRequest/ViewerRequest for owner/viewer.

Something like this works:

    <os:PersonAppDataRequest key="poked_by" method="appdata.get"
userId="@owner" appId="@app" fields="pk"/>

On Thu, Mar 19, 2009 at 1:58 AM, Jota <jefferson.ru...@gmail.com> wrote:

> Hi Developers,
>
> I'm trying to get data from opensocial using the new template way, but I
> can't get any information stored on OpenSocial.
>
> Actually, I'm using:
> <os:PersonAppDataRequest key="owner_data" method="people.get"
> userId="@owner" groupId="@self" fields="*" />
>
> but I didn't receive any JSON (view source) and I know there are data
> saved, because the canvas-view is still working properly.
>
> At the sametime, using:
> <os:PeopleRequest key="friends" userId="@owner" groupId="@friends"
> filterBy="hasApp" startPage="1" count="20" />
>
> I got the correct owner friends list through JSON.
>
>
> Anybody help?
>
> thanks,
> Jota
>
> >
>

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