Part 5 of 5 videos describing how to build your first OpenSocial application.
Dan Holevoet goes over sample code that shows you how to display gifts that you've received.
The entire tutorial/codelab:
http://code.google.com/apis/opensocial/articles/tutorial
I do not list the Gifts I receive they are way too many.
VondaFononono 3 months ago
0:22 forgot a ">"
w3sty92 1 year ago
Depends if you're the 'person' variable, or the 'people' var.
I'd say all users need the app installed - how you gonna share virtual nuts without the api controlling the giving...?
=]
zarathustra2k1 3 years ago
To be clear, there are no _real_ gifts being sent. This app only sends virtual gifts.
animeshg33k 3 years ago
If you look at the example in the tutorial, the gifts being exchanged are not in the form of data or applications, but physical nuts, like cashews and pecans. What data would you put in the storage space? The address and locker number of a warehouse where the nuts are and the combination to the lock? Or some password that can be telephoned to a delivery service so that they will bring them to you?
hccrle 3 years ago
i doubt everyone can see everyone's giving, you can probably only see what your friends gave (though I guess the application might have the power to ignore that 'friends only' restriction).
as for how the gifts are being exchanged, i'm guessing the network implementing opensocial (Orkut in this case), sets aside some storage space for the data of the applications you add
dch101185 3 years ago
well yeah, that's the way all applications work, they only have data on the people that installed them. before you can see the gifts your friends have sent, they have to have installed the application to send them in the first place.
dch101185 3 years ago
I'd like to see an answer to 665neighorofthebeast's question. Seems like a security problem if everybody can see everybody else's giving.
But more basically, are gifts actually being exchanged? How does clicking on a couple of buttons in this gadget cause actual physical nuts to be sent?
hccrle 3 years ago
thank you google for ur wonderfull tutorial...i really appreciate it...this help others to learn coding and inspire them to build thier own opensocial apps..... now i am going to make ma own social app for orkut ....thank you thank you thank you very much google.......
indianfire301 3 years ago
theoretically, can't you see all the gifts that are being exchanged, not just ones that involve you? don't all your friends need to install and run this function (provided it's not a default application) for this to work?
665neighorofthebeast 3 years ago