From the OpenSocial reference section:
opensocial.DataRequest.newFetchPersonAppDataRequest(idSpec, keys)
Creates an item to request app data for the given people.
When processed, returns a Map<
PersonId,
Map<String,
String>> object.
parameters
| Array.<String>, String |
idSpec |
An ID, array of IDs, or a group
reference; the supported keys are VIEWER, OWNER, VIEWER_FRIENDS,
OWNER_FRIENDS, or a single ID within one of those groups |
| Array.<String>, String |
keys |
The keys you want data for; this
can be an array of key names, a single key name, or "*" to mean
"all keys" |
returns
It looks like you can grab data for a friend by id, but you would only be able to grab data saved by this application instance
Okay, a little more digging and I found these
newFetchGlobalAppDataRequest
newFetchInstanceAppDataRequest
I'm assuming that Global allows you to share data between apps. I couldn't find any documentation on it - other than a basic function description - so I'm hoping that is what you are looking for. That's assuming, of course, that the App Data API is working
.