On 19 Nov, 12:39, anand <[EMAIL PROTECTED]> wrote: > dear Jonny > > can u suggest me how to make container for our web page and how it > intract with the others social apps?? > > plz help me out. > > anand
Hello Anand, what I did was that I took Google's reference implementation and modified it so that it would fetch the users from my backend along with relevant information. Exactly how you do this will be very different from what I did, but if you take a look at my blog there is a link to a zip file with my complete container. Compare this to Googles reference and you can see what I had to do. You would typically have to issue XmlHttpRequests instead to fetch the same information if you run a social web-site. Look at http://www.peeraware.com/blog and you will find the zip. I believe it was samplecontainer.js I had to modify. Personally I run a distributed application where users will see the same OpenSocial applications and be able to see an agregate activity stream in real-time. And since I have users stored inside my application I just load them locally without xmlhttprequests. Just look for the isPeerAware() function calls in the code. Interaction with other people will for a normal social site be based on what activities a social app inject into a friend's activity stream if I understand correctly. Regards, Jonny --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Implementing OpenSocial Containers" 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-container?hl=en -~----------~----~----~----~------~----~------~--~---
