Change Player Size
Watch this video in a new window

OpenSocial Tutorial - Part 5: Listing Gifts You've Received

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/code...  
 
Customize

More From: GoogleDevelopers

OpenSocial Tutorial - Part 1: Gadget Basics3:08
141,657 views
OpenSocial Tutorial - Part 3: Giving Gifts1:35
25,668 views
OpenSocial @ Facebook Application Development Meetup 2/13/0828:20
6,712 views
A Tour of OpenSocial Developer Resources3:44
10,738 views
Mission: Possible - Building a Google Gadget7:05
24,493 views
Ning talks about OpenSocial8:54
17,302 views
Gadgets Live Coding5:57
3,687 views
Campfire One: Introducing OpenSocial (pt. 1)7:19
5,062 views
hi5 talks about OpenSocial10:03
17,654 views
Orkut's Policies on OpenSocial Applications3:21
723 views
Google I/O 2008 - Building on the Promise of OpenSocial30:43
2,264 views
Introduction to the iGoogle Sandbox4:40
38,045 views
Developing and deploying an application on Google App Engine9:29
367,881 views
OpenSocial Hackathon: Reinoud Elhorst of Hyves2:58
773 views
Buddypoke on Google App Engine5:32
60,424 views
Google AJAX APIs go RESTful10:22
60,445 views
Adding Google Friend Connect To Sample Website11:41
118,198 views
LinkedIn talks about OpenSocial5:58
2,680 views
Shelfari talks about OpenSocial8:30
2,350 views
Google I/O 2008 - Creating Popular Apps on MySpace34:30
4,313 views

QuickList(0)

Featured Videos

7 ratings
Sign in to rate
14,533 views
Want to add to Favorites? Sign In or Sign Up now!
Want to add to Playlists? Sign In or Sign Up now!
Want to flag a video? Sign In or Sign Up now!

Statistics & Data

Loading...

Video Responses (0)

This video has no Responses. Be the first to Post a Video Response.
Sign in to post a Comment

Text Comments (10)   Options

Loading...
hccrle (1 year ago) Show Hide
 0
Marked as spam
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?
dch101185 (1 year ago) Show Hide
 0
Marked as spam
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
hccrle (1 year ago) Show Hide
 0
Marked as spam
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?
animeshg33k (1 year ago) Show Hide
+1
Marked as spam
To be clear, there are no _real_ gifts being sent. This app only sends virtual gifts.
indianfire301 (1 year ago) Show Hide
 0
Marked as spam
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.......
 0
Marked as spam
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?
dch101185 (1 year ago) Show Hide
 0
Marked as spam
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.
zarathustra2k1 (1 year ago) Show Hide
 0
Marked as spam
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...?

=]
midiwhale (1 year ago) Show Hide
 0
Marked as spam
I appreciate that this is dead simple, but a flowchart of the structure would be helpful.
There are suddenly several back and forth asynchronous connections.
hprof1 (1 year ago) Show Hide
 0
Marked as spam
Hello Dan Holevoet.
Super good.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.