Hi Sharath,
 
they are working on posting only the most recent activity through the app in a 
day..right now there is no limit neither in sandbox nor main orkut,
Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com 



> Date: Sun, 4 May 2008 08:29:22 -0700> Subject: [OpenSocial] Re: Posting into 
> Activity Stream> From: [EMAIL PROTECTED]> To: 
> [email protected]> > > Hi Rohit,> > Thanks for your reply, Its 
> working well.> Another query, I need to write into activity stream once a day 
> when> specific activity is performed.> I have got the code to write into 
> activity stream, need help to limit> it once per day or week something like 
> this.> > Regards> Sharath> > On Apr 30, 9:30 am, "Rohit Ghatol (Google)"> 
> <[EMAIL PROTECTED]> wrote:> > HiSharath,> > Sorry about the late response. 
> What I really meant here was to use> > PersonAppData to store a field named 
> "installed". Check this field to> > see if the application was installed, if 
> not do installation tasks and> > then set a field named "installed" in the 
> PersonAppData.> > Try out this example, this will make things lot clearer.> 
> >> > 
> http://hosting.gmodules.com/ig/gadgets/file/115537651881774373169/app...> >> 
> > In this example, you have to replace the contents of install function> > 
> with your code of writing to the activity stream.> >> > Regards,> > Rohit> >> 
> > On Apr 23, 7:22 pm,sharath<[EMAIL PROTECTED]> wrote:> >> > > Hi Rohit,> >> 
> > > Thanks for the reply.> > > Is there any class defined in opensocial to 
> check the installed field> > > or what is the approach?> >> > > Thanks and 
> Regards> > >Sharath> >> > > On Apr 22, 10:24 am, "Rohit Ghatol (Google)"> >> 
> > > <[EMAIL PROTECTED]> wrote:> > > > HiSharath,> >> > > > This is an 
> interesting concept. In order to achieve this may be you> > > > can use app 
> data. You could check if the field, say "installed"> > > > exists, and if 
> not, then do any installation tasks and set the> > > > "installed" field.> >> 
> > > > I hope this helps.> >> > > > Regards,> > > > Rohit> >> > > > On Apr 22, 
> 6:23 am,sharath<[EMAIL PROTECTED]> wrote:> >> > > > > Hi,> >> > > > > Thanks 
> for the reply.> > > > > Presently there is no activity created 
> oninstallautomatically in> > > > > orkut.> >> > > > > RegardsSharath> >> > > 
> > > On Apr 21, 10:39 pm, Aakash Bapna <[EMAIL PROTECTED]> wrote:> >> > > > > 
> > As far as i know, in orkut an activity is automatically created when user 
> adds a app.> > > > > > Otherwise this will be possible only when there is a 
> option for onInstall, onUninstall callback urls in future OpenSocial release, 
> for now only hi5 has this feature..Thanks ~@@[EMAIL 
> PROTECTED]://aakash-bapna.blogspot.com> >> > > > > > > Date: Mon, 21 Apr 2008 
> 06:18:41 -0700> Subject: [OpenSocial] Posting into Activity Stream> From: 
> [EMAIL PROTECTED]> To: [email protected]> > > Hello,> > I am 
> using the below code to post activity> > <script type="text/javascript">> 
> function createActivity() {> var title= '';> title = 'Hey, I have added 
> MyVideos. 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>> > This code posts 
> activity for every page load, but i want to post> activity only once when the 
> user adds the application for first time.> > How to achieve it?> > Thanks and 
> regards>Sharath> 
> _________________________________________________________________> >> > > > > 
> > Get in touch in an instant. Get Windows Live Messenger 
> now.http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_...> 
> _________________________________________________________________
Make Windows Vista more reliable and secure with Windows Vista Service Pack 1.
http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to