Explanation aboute newFetchPersonAppDataRequest on Orkut needed

2 views
Skip to first unread message

Sergi Adamchuk

unread,
Nov 9, 2007, 5:47:58 PM11/9/07
to OpenSocial Developers
Can I use this request type to request specific data by key and any
person id (not necessary owner's or viewer's friend)?

When I do
req.add(req.newFetchPersonAppDataRequest(opensocial.DataRequest.Group.OWNER_FRIENDS,
"location"), "flocation");

I retrieve null in responce.get("flocation").getData()

When I do
req.add(req.newFetchPersonAppDataRequest("15483875053207561407",
"location"), "flocation");

("15483875053207561407" is id of owner's friend, and owner=viewer)
I am getting error when sending request:
Internal Server Error
Error 500

What I need is retriviing data item by data's key and user id.

sergi

unread,
Nov 12, 2007, 11:58:35 AM11/12/07
to OpenSocial Developers
Does anybody have experince with newFetchPersonAppDataRequest method?

Arne Roomann-Kurrik (Google)

unread,
Nov 12, 2007, 5:21:51 PM11/12/07
to OpenSocial - OpenSocial Developers
In Orkut, these requests are only working with the named groups
(VIEWER, OWNER, VIEWER_FRIENDS, OWNER_FRIENDS). Eventually you'll be
able to request data by ID, but this will be ACLd so that you can only
see data if the ID belongs to one of the above groups.

~Arne

Logan Green

unread,
Nov 13, 2007, 2:46:45 PM11/13/07
to OpenSocial - OpenSocial API Definition (was OpenSocial Developers)
Arne,

Can you give more information on how this will work. It has the
potential to kill my entire app if it is done in an overly restrictive
way. Will users of the same application be able to see at the very
least a thumbnail picture, link to profile, and the name of other
people using the same application? Usually this information appears
in the user directory anyway. Also, what is the ballpark time frame
for being able to request info by ID?

Thanks,
Logan

On Nov 12, 2:21 pm, "Arne Roomann-Kurrik (Google)"

> > > What I need is retriviing data item by data's key and user id.us

Reply all
Reply to author
Forward
0 new messages