Hi Deepak, Thanks for your response. Here is my sample code i made for get the friends data CODE: --------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Module PUBLIC "-//GOOGLE//DTD GADGET//EN" "http:// code.google.com/apis/gadgets"> <Module> <ModulePrefs title="Sample Opensocial" author="suresh.p" description="Sample code for getData and display the data" > <Require feature="opensocial-0.7" /> <!--<Locale lang="en" country="us" />--> </ModulePrefs>
<Content type="html"> <![CDATA[ <!-- Your html elements go here --> <script type="text/javascript"> // Your JavaScript code goes here function reqData() { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER),'viewer'); req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.VIEWER_FRIENDS),'viewerfriends'); req.send(onLoadFriends); }; function onLoadFriends(dataResponse) { var viewer = dataResponse.get('viewer').getData(); var viewerfriends = dataResponse.get('viewerfriends').getData(); var html = '<br/><ul>'+viewer.getDisplayName(); viewerfriends.each(function(person) { html +='<li>'+ person.DisplayName() +'</li>'; }; ); html +='</ul>'; document.getElementById('message').innerHTML(html); }; gadgets.util.registerOnLoadHandler(reqData); </script> <div id='message'></div> ]]> </Content> </Module> ------------------------------------------------ My problem is how to publish mycode in GGE, i mean Add to my igooglepage,publish to igooglepage directory..I am very confused here. Please explain the procedure how to get the URL to add in sandbox.orkut. please help me. Thanking u sure. On Apr 11, 12:34 pm, deepak <[EMAIL PROTECTED]> wrote: > hi > sure > > If you get the permission form sandbox > then use this URL to loginhttp://sandbox.orkut.com > after that go to this page if u will not get this page then paste this > URL directly into address barhttp://sandbox.orkut.com/MyApps.aspx > On this page get the option for the uploading the API > where u have to use your application URL and add it. > > Regards > Deepak Suryawanshi > > On Apr 11, 12:02 pm, sure <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am new to this orkut forum. Now i would like to create a > > opensocial application in orkut. Aleady i get the permission from > > orkut sandbox. But the thing is I am very confused ,where can i upload > > my files in code.google.com site. There is no any option to upload or > > write code. please help me to do this. > > Thanking u > > sure. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---