@Jota : Yes, you need to migrate your profile view to use templates.
This is the solution our team has come up with, to deal with the
security issues.
@Jango: You need to use the templates only in the Profile view. Canvas
view can stay as is.
For fetching app data with templates, please use the following:
<os:PersonAppDataRequest> - request to get app data
* @key {string}
* @userId {list<string>} Comma delimited IDs of the users to use
with "@groupid". Each item can be one of "@me", "@viewer", "@owner",
or a user ID.
* @groupId {string} The group of users to get app data for.
Defaults to "@self", which returns the actual users listed in @userid.
Other values are "@friends" to get friends, or any other string to get
an arbitrary group. Optional.
* @fields {list<String>} List of fields for which to get data.
returns a map of OpenSocial app data objects, keyed by useId
Example:
<os:PersonAppDataRequest key="MyFriendsPets" userId="@viewer"
groupId="@friends" fields="pets,petNames"/>
Thanks,
Vijaya
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---