you could also store using persistence api that the activity has been created, then you check the value of it before you create it again..
2008/5/5 sharath <[EMAIL PROTECTED]>: > > Hi Rohit, > > I went through it. > In my application I need to show only one activity per day.(only one > of the user interactions) > The same activity can be repeated by the user few times in a day/week > but i need to post only once in a day/week to the stream. > This will maintain a better user experience instead of writing into > stream many times. > > Thanks and Regards > Sharath > > On May 5, 1:45 pm, "Rohit Ghatol (Google)" > <[EMAIL PROTECTED]> wrote: > > Hi Sharath, > > I need to understand your use case better in order to help you. A user > > can interact with a OpenSocial application on Orkut say 10 times in a > > day. I am assuming right now there are 10 activities posted for these > > 10 interactions. When you want to limit the activities to say once per > > day, what do you want to show in the activity, 1) summary of user > > interactions or 2) only one of the user interactions > > > > In case, your platform is Orkut and you are worried about Spamming, > > please read the following note > > > > http://code.google.com/apis/orkut/docs/orkutdevguide.html#activitystr... > > > > "To avoid applications spamming the activity stream, applications will > > be limited to posting three activity stream updates per application > > per user per day. Note that this limit will only be in place on > > production orkut (www.orkut.com). To make development easier, the > > sandbox will not have any limits on activity stream updates." > > > > regards, > > Rohit > > > > On May 5, 8:39 am, sharath <[EMAIL PROTECTED]> wrote: > > > > > Hi Rohit, > > > > > Thanks for the reply, Its working fine. > > > 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. > > > > > Thanks and Regards > > > Sharath > > > > > On May 4, 5:21 pm, "Rohit Ghatol (Google)" > > > > > <[EMAIL PROTECTED]> wrote: > > > > Hi Sharath, > > > > > > You will find your answer on this older thread - > http://groups.google.com/group/opensocial-api/browse_thread/thread/1b... > > > > > > This is the link to the example. > > > > > > > http://hosting.gmodules.com/ig/gadgets/file/115537651881774373169/app... > > > > > > regards, > > > > Rohit > > > > > > On May 4, 4:07 pm, sharath <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > > > > > > Is there any way we could post into activity stream on application > > > > > install? > > > > > > > Thanks and Regards > > > > > Sharath > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---