OpenSocial Tutorial – Part 3: Giving Gifts

YouTube Preview Image

Attention! API Garbage (might be unreadable):

gift funds data

So sauce just so you will reduce you to XML file creating a foreign but I was the funds also gives an intriguing to get to the front next to modifier on load funds function and soda instead of listing the funds in the page it creates a menu of them so we can pick one front next recruiting other functions make options menu which takes a list of gifts that we specify and creates a tremendous that we can select a gift to give to her front that we modifier our initialization functions of instead of just letting her friends and also loves to give money when the gadget lets the last and most important step is running against a function this function takes the gift and the fund was to send a gift to and saves them into the persistent data storage of the open social API we do that by creating a new data request object and passing into a new update person update request specified to see the data under the viewer object that was in the request of the open social API which stores the data if you consider gadget in action specifying a list of gifts was the funds and fund to give a gift to the front for more information on what to show you check out the tutorial on code.google.com would be open social section

Tools Demo: OpenSocial Dev App

YouTube Preview Image

Attention! API Garbage (might be unreadable):

actually code data

So is it a good news though it s probably some data into a veto by actually run JavaScript in mine and I actually learned in social and debugger actually really really so I know I wanted on a Google part of Google s developer relations so our goal is to make voters lives easier one of the tools that I started working on because the containers of eventually adding the open social data so if you go to the OSD@aspot.com I actually see this idea of missile give you the to the home page reader can access the data on if you choose a container and loaded up the data side of it I will see versus the path for entering code program by this code is running is the is running inside the container inside the data and settings execute button here in the corner lets you run the code served by my witness now it should print out my name we can do now is from the default we can start looking in single of one of the things you can do is edit the code so if you wanted to say take the response to this print out the ID number of the person can execute in that it opens up a number the software good way to get started in the social program ends a really quick way to discuss how code prototype new apps were China make the software development tools for probing out of it so once you re done testing out a few function calls from the sample here you can move left to right figure out how to write a more sophisticated so I missed it over a couple thousand most examples are in word and get a list of samples that are available in application fees will eventually be fleshed out with a lot more simple rep of exercises that you can use request people are for example the top or near is how to embed flash and an application below to send an e-mail etc. one of the big features were going to integrate the rollout for this happens to have better browsing the sample so that we categorize but for right now if you want a simple exercise is the code to send an e-mail out when I load this in the code that in an what s available is actually the sent e-mail function so I can look at this and the new exam and see how it s sending e-mail to the viewer would execute it reared back outside and takes a little bigger trust elected so you can see the sent message is the is popping up your life in application gives you a platform for developing a quick application of the samples give you a platform for learning more about the APIs and the next time over his date of your good interviewer actually lets you see what s running on the container for example I can fetch the viewer with one click I don t have to write a test to see what is available down here if I scroll down I can see details about the viewer so for example does all the fields that are returning from my profile and market the looking at all these fields you can get an idea of what sort of apps you might be able to write I can see for example gender languages spoken some movies TV shows like that at all that so much of information you might get some motivation to to Red Hat or inspiration to all such friends and your show details about them hopefully some of these people are actually here to the ends was also some paging code so if you have a lot of friends you can still see all of them and then examine what the details are available for your friends so if I check out my friends data insert that if I check out someone who doesn t have the app installed I can see how work it returns a limited set of fields for in that case soon as I just want to jump over and show you that this same gadget runs and went to different containers here is a name and if I look at my death date here same user interface” the date of your top and then I can at least see my name friends here to my main profile and my name friends so I moving on once we ve written a few samples and to give an idea of what s about one or we can hit the export XML pattern is actually lets you fill out a form that will double generate an excellent start for easy enough to really know the XML fields are intricacies you can just fill out the according to this profit so than when you can do is grab features that you put so this requires open social 0.8 views I can add a few elements so if I wanted a good URL I wanted outside and I can copy the code from the contacts of the stuff I was working on in this in this field here you can actually edit HTML said he needed down for your data you can type in XML and Man U. to the export button at the bottom and what that does is actually forget expect that you can copy and save so that is compared with crop up the good work as O Malley copied and I can save it to a file uploaded to my server and I have not so if you have any programs using a possibility even helped out so there s basically an online help browser and this is also available at OSD@aspot.com so if you go here and click the south of the same exact how confident and then finally we have a new staff given these absolutes of blogs from all over the from many open social that containers so that you as a developer don t want to keep up-to-date with all the containers you can check this out for newsgathering on and maybe they ll be some interesting blog posts about changes or features that have been added so for example MySpace announced 0.8 some upcoming features that we have intensely got it but unfortunately I can t get through right now we want to sport of motocross so if you have a localized edit merge if you have spot the spaces in your debt for localization and you need a translation service work and integrate with Google translate to do that automatically so you can just load in your ear and start loading your translated strings in the earlier English strings and the middle class will automatically give your file upload further that would also working on is preview mode for gadgets that so as you re writing your HD or gadget we want to let you put HTML in your own XML and then walk look at the live preview running inside of the container was a little bit of chicken is about the were pretty confident that Gen. M. Diaz figures that if you have any questions about it confined in all or some other features in this I m sure this is sure is where broadcast China and that this chat with your image viewer only a family continues at seven charges less out our MySpace good name high-five on of some of the lockable and there s one more letter to the Iraqis installed for if anyone knows of any containers here aren t listed then please find me a disfigured crypto key support for offensive or conference proceedings against it zero www.Justin.tv/Moon cricket I wanted loads shared physical IP broadcaster

OpenSocial Tutorial – Part 3: Giving Gifts

YouTube Preview Image

Attention! API Garbage (might be unreadable):

gift data function

So exhausted you just have started a small modifications to the XML file creating a form that I was defined as those who gives a button to delete up to the front next to modify or almost friends function and so that instead of listing the front page it creates a menu of them so we can pick one front next recruit another function that make options menu which takes a list of gifts that were specified in creates a tremendous that we can select a gift to give to her front bedroom of our initialization functions of instead of just letting her friends and also loads the gift menu when the gadget lets the last and most important step is running against a function this function takes the gift and the friend was to send a gift to and saves them into the persistent data storage of the open social API we do that by creating a new data request object and passing into a new update person update request specifying to save the data under the viewer object and resend the request of the open social API which stores the data you consider gadget in action specifying a list of gifts a list of friends and a button to give a gift to the front for more information on what to show you check out the tutorial on code.google.com would be open social section

Introduction to Google Data

Gdata Video Introduction

YouTube Preview Image

Attention! API Garbage (might be unreadable):

atom data Google

Him and over interested in working with Google products using the APIs more specifically the APIs are useful to the protocol so that assembled in front of amassing wealth I cannot say that I have to go to some background information I m assuming here that you re familiar already with the technologies of HTC PM XML now for longtime websites of looking at alternative ways of distributing their content in a more computer from the way computers are not very bright so they will help understanding her information as we see it so that a simple example such as on-site superoxide has a number of news articles that are displayed in the list you have a summary of title who wrote them when they wrote it since basic information might represent this in a different way while the first attempt to solve this problem with RSS but they talk about today is the Adam syndication format atom is an XML-based approach to describing data on

Read the rest of this entry »