I got same problem with same error message. Any ideas?
Thx.
Hadrien
On Jan 5, 10:20 pm, Dale Hopkins <ultraw...@gmail.com> wrote:
> I get a failure every time when I try to run the following:
>
> function loadUser(uid) {
>         var req = opensocial.newDataRequest();
>
>         //Request the viewer information
>         req.add(req.newFetchPersonRequest("118217731596339939291"), 'user');
>
>         //Send the request
>         log('request UID ' + uid);
>         req.send(loadUser_callback);
>
> }
>
> function loadUser_callback(data) {
>         log('got result');
>
>         if (data.get('user').hadError()) {
>                 alert(data.get('user').getErrorMessage());
>         }
> ...
>
> The alert message I get is:
> internalError: Unknown error getAppDataItem expects exactly one user
> id.
>
> Note that "118217731596339939291" is my User ID.
>
> Thanks,
> Dale Hopkins
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to