Hello,

I am a newbie at OpenSocial development.
I tried out the sample application given in the tutorial, but it won't
load the friends list.
I put alert() in the init() of the js file as follows:

function loadFriends() {
alert("loadFriends()");
 var req = opensocial.newDataRequest();
 alert("req: "+req);
 req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER),
'viewer');

It showed me the loadFriends alert but not the "req: " alert
Is this a known issue with opensocial.newDataRequest?

Also, when I tried the gadgets.Tab example, if i put the code inline
in gadets.xml, it worked fine; but as soon as I put it in js file, it
stopped working.

Do I need to explicitly include something in the js file?

I have the <Require feature="opensocial-0.9" /> tag and all my inline
java script code is in <script> tags.

Please help me.

Thanks in advance,
Gayatri

--

You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" 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-container?hl=en.


Reply via email to