Posting Activity Stream on Install

2 views
Skip to first unread message

sharath

unread,
May 4, 2008, 7:07:25 AM5/4/08
to Orkut Developer Forum
Hello,

Is there any way we could post into activity stream on application
install?

Thanks and Regards
Sharath

Rohit Ghatol (Google)

unread,
May 4, 2008, 8:21:32 AM5/4/08
to Orkut Developer Forum

Antonio Rangel da Silva Rangel

unread,
May 4, 2008, 8:27:59 AM5/4/08
to opensoci...@googlegroups.com
Hello, Sharath

Good morning! How are you?

Which would the text translator be more adapted to Translate its Language?
: A hug and until more!

Respectfully,

Mask Of Iron



2008/5/4, sharath <shara...@gmail.com>:

sharath

unread,
May 4, 2008, 11:39:43 PM5/4/08
to Orkut Developer Forum
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)"
<api_rohitgha...@google.com> 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...

Rohit Ghatol (Google)

unread,
May 5, 2008, 4:45:02 AM5/5/08
to Orkut Developer Forum
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#activitystreampolicies

"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

sharath

unread,
May 5, 2008, 9:57:33 AM5/5/08
to Orkut Developer Forum
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)"
<api_rohitgha...@google.com> 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...

Marc Wessely

unread,
May 5, 2008, 3:35:52 PM5/5/08
to opensoci...@googlegroups.com
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 <shara...@gmail.com>:

sharath

unread,
May 7, 2008, 2:47:50 AM5/7/08
to Orkut Developer Forum
Hi Marc,

Thanks for the reply.
Could you let me know the approach to be followed.

Regards
Sharath

On May 6, 12:35 am, "Marc Wessely" <wessely.m...@googlemail.com>
wrote:
> 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 <sharath2...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages