Hi Jason, Thanks for the reply. That helps a lot. This looks like a good quick solution. If we decided to use the persistent storage, how would you recommend storing multiple activities per friend? I think this solution would work best if we want to display the most recent activity from each of the user's friends.
Thanks, Swapnil. On Mon, Oct 6, 2008 at 3:18 PM, Jason <[EMAIL PROTECTED]> wrote: > > Hi Swapnil. Since orkut doesn't support newFetchActivitiesRequest, you > will have to manage the data on your own. The good news is that you > should be able to do this using app data. So, when a user takes a > certain action (e.g. adding a favorite or writing a comment), you can > store a description of this activity using > newUpdatePersonAppDataRequest. Then you can display a user's friends' > activities by calling newFetchPersonAppDataRequest using > 'VIEWER_FRIENDS' as the 'id' parameter (or the appropriate IdSpec > object if you're building an OpenSocial v0.8 app), and inspecting the > returned object. You can do this more elegantly using a server-side > database, but it isn't required. > > Let me know if you have any more questions on this. > > - Jason > > On Oct 3, 7:17 pm, Swaps <[EMAIL PROTECTED]> wrote: > > Hi Jason, > > > > I wanted to ask you if you have any recommends as to what approach > > developers should follow for storing, retrieving and displaying > > activity feeds for user operations in the application. So if someone > > would install the application we would like to display what other > > users or user's friends have been doing in the application. Can we use > > persistent storage for the same? Or has this to be stored on our > > backend servers? > > > > Please throw some light on the highlevel design. I am sure this can > > help a lot of developers out there. > > > > Thanks > > Swapnil. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---