(My Original Blog Post:
-*http://api-madness.com/post/opensocial-tutorial-part-5-listing-gifts-youve-received/)
[youtube]http://www.youtube.com/watch?v=uGxGsb5tG-4[/youtube]
Attention! API Garbage (might be unreadable):friends list gifts
Or simple application that gives
gifts to our
friends and also shows it is reviewing her to show me just other
friends have joined us Thursday to do is make a small change to and XML soda place to insert our
list of received
gifts next week to make two small changes one to load
friends and wanted to give to function so that we have a request for a friend s data as well as our own first to modify load
friends so that in addition to requesting information on the viewer of your
friends as well as the viewer s personal application to the alternate request viewer
friends application next we make the same change and give gift so the request currently to third update on load
friends so that in addition to pulling out information with your viewer
friends image of data report information on your friend it which is the
list of
gifts and all her
friends and dysfunction then iterates through the
list of
friends displays the menu so you may select a front to give a gift to abuse the gift
list which shows a
list of
gifts that you ve sent finally calls the new function update received
list which shows the
list of
gifts that you receive from your
friends update received
list closely parallels update gift
list but instead of iterating just wants the
list of
gifts that you sent it iterates through each of your
friends hold up the application data just for that friend specified by her
friends ID then converts the data that pulls out into JavaScript object once it has this
list of
gifts to your
friends is given it iterates through each of them comparing different idea that the gift was sent to majority if the IDs match it adds that gift is a gift that was given to you once the
list of
gifts of documents used in completed they are inserted into the page you can see the newly created version of art at the display is not just options for sending
gifts for
friends and
list of
gifts that we have Artie sent our
friends at the
list of
gifts that are
friends of sent us for more information on what I ve showed you as well as information on the open social API check out the tutorial and code.google.com under the open social such
No comments:
Post a Comment