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
145,993 views
OpenSocial Tutorial - Part 4: Listing Gifts You've Sent2:16
18,111 views
Google I/O 2008 - What's Next for OpenSocial59:41
60,391 views
OpenSocial Tutorial - Part 2: Listing Friends1:21
50,620 views
OpenSocial @ Facebook Application Development Meetup 2/13/0828:20
6,804 views
OpenSocial at Facebook Application Development Meetup1:13:07
6,902 views
Introducing Google Friend Connect1:35
210,899 views
Google I/O 2008 - OpenSocial Across Containers42:36
1,655 views
Google I/O 2008 - OpenSocial, OpenID, and OAuth: Oh, My!1:00:28
11,893 views
OpenSocial MySpace Application Demo11:53
1,724 views
Google I/O 2008 - Best Practices for Spreading Your App44:17
5,738 views
Intro to REST13:57
39,405 views
Developer Sandbox Interviews: Ning9:36
498 views
Google AJAX APIs go RESTful10:22
62,723 views
Adding Google Friend Connect To Sample Website11:41
118,805 views
Google I/O 2008 - Creating Popular Apps on MySpace34:30
4,414 views
A Different Kind of OpenSocial Container3:49
2,670 views
OpenSocial MySpace Container Update6:24
711 views
Shelfari talks about OpenSocial8:30
2,374 views
Google I/O 2008 - Meet the OpenSocial Containers58:22
1,847 views

QuickList(0)

Featured Videos

7 ratings
Sign in to rate
14,831 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.