Hi Jason, I tried the Activity Generator sample application which you have mentioned, even in this app activity is not sent to my friends. But I was able to see the activity created in my updates. (Activity is created but not sent to friends). Please assist.
Raj *********Snippet of my code*********************** <?xml version="1.0" encoding="UTF-8"?> <Module> <ModulePrefs title="opensocialDataRequestFilterTypeHAS_APP" author="www.abc.com" author_location="Bangalore" author_email="[EMAIL PROTECTED]"> <Require feature="opensocial-0.7" /> <Require feature="dynamic-height" /> <Require feature="views" /> </ModulePrefs> <Content type="html"> <![CDATA[ <script type="text/javascript"> function createActivity() { var title= ''; title = 'Hey, I have added HolidayIQ game. Come on! Join with me'; var activity_params = {}; alert(1); activity_params[opensocial.Activity.Field.TITLE] = title; var activity = opensocial.newActivity(activity_params); alert(activity); opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp); } function getCreateActivityResp(responseItem) { console.log(responseItem); var htmlout = ''; if(responseItem.hadError()){ //htmlout= 'has error: ' + responseItem.ErrorMessage; alert(responseItem.ErrorMessage +'has error'); } else{ alert('create activity good!') } } createActivity(); </script> ]]> </Content> </Module> **********End of code******************* On Mar 28, 10:53 pm, Jason <[EMAIL PROTECTED]> wrote: > Hi Raj. Issue 105 in the tracker has been re-opened as we work to > verify the problem. > > http://code.google.com/p/opensocial-resources/issues/detail?id=105 > > Unfortunately, I was not able to reproduce the issue using the > Activity Generator sample application (http://a.orkuteer.com/AG/ > app.xml). Can you try posting an activity with this app and report > back? And feel free to add your code snippet to the tracker in a > comment. > > - Jason > > On Mar 27, 11:39 pm, Raj <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Problem 1 : > > > Activity created through client code is not sent to the friends, but > > im able to view the created activities in myupdates in sandbox.orkut. > > (i.e it is in my sent updates). > > > Note: In settings I have selected the option to show updates, even my > > friends have there option to show updates selected. > > > *******************Start of Code*********************************** > > > opensocial.requestCreateActivity(activity, "HIGH", function > > (responseItem) { > > > if(responseItem.hadError()){ > > > alert(responseItem.ErrorMessage +'has error');} > > > else{ > > > alert('create activity good!') > > > } > > }); > > > *******************End of Code********************************** > > > Problem 2 : > > In orkut settings i have the option to show profile visits "on", but > > Im not getting recent visitors name in my home page. (which i used to > > get earlier). > > > Please assist ASAP. > > > Thanks in advance > > Raj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---