How to Create OpenSocial Application – Part 6

Contrary to what I thought about Hi5’s approval process, I had terrible experience with Hi5. Entire review process in Hi5 is screwed up. My app did get approved, but after many days of struggle. I submitted my app in Hi5 on July 18th. I got the email from a reviewer in Mexico within a day. He asked me to add a favicon image to the XML file and re-submit it. When I re-submitted the app, it triggered a chain of events that were not pleasant…to put it mildly. Every time I submitted my app to Hi5, I got the message…

Bookmark and Share
Read more

How to Create OpenSocial Application – Part 5

I was waiting for good news from Orkut. The moment arrived on Friday evening. Our application “iConnect” is approved! The app is installed more than 1800 times in the last 3 days. Please check out the app and let me know your feedback. Now, coming back to Hi5… If you have Hi5 account, signing up for Hi5 sandbox is pretty easy. Visit this page for more information. After you signup for sandbox, logon to your account and click “Developer”. You will see “Create sample app” under Quick Start. Once you have sample app added to your account, you can use…

Bookmark and Share
Read more

How to Create OpenSocial Application – Part 4

If you want to modify the sample XML given in part 3, but don’t have access to server, there is always GGE. It’s the acronym for Google Gadget Editor. Basically Google gives you space to save your XML. You can get the URL for your XML file and add the application in Orkut sandbox. You can use the same technique for other open social containers too. If you are puzzled with the term “container”, you may want to check this out. Orkut is an opensocial container. Hi5 is an opensocial container. Any platform that enables you to develop opensocial applications…

Bookmark and Share
Read more

How to Create OpenSocial Application – Part 3

Code Runner is available only in Orkut and has its own limitations. You can test some functions in Code Runner. But, you can’t test your entire application there. If you want to go beyond the basic testing, you need to create the XML file with your application code and store that in your server. I created a simple application to get some information from my server and to display the data in Orkut. Then, I added the application in Orkut sandbox. When I added the application I made sure that my friends can’t see the application in my profile. I…

Bookmark and Share
Read more

How to Create OpenSocial Application – Part 2

You can get viewer’s address information from Orkut thru opensocial APIs. Hi5 doesn’t support this feature yet although it would give you name and ID information. In Orkut Code Runner application, try the following code. /** * CODERUNNER CODE TO GET Name, Opensocial ID, City and Profile URL */ function response(data) { output(data.get(“req”).getData().getDisplayName()); output(data.get(“req”).getData().getId()); var addresses = data.get(“req”).getData(). getField(opensocial.Person.Field.ADDRESSES); var viewerLocality = addresses[0].getField(opensocial.Address.Field.LOCALITY); output(viewerLocality); output(data.get(“req”).getData(). getField(opensocial.Person.Field.PROFILE_URL)); gadgets.window.adjustHeight(); }; function request() { var req = opensocial.newDataRequest(); var opt_params = {}; opt_params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] = [opensocial.Person.Field.PROFILE_URL, opensocial.Person.Field.ADDRESSES]; req.add(req.newFetchPersonRequest (opensocial.DataRequest.PersonId.VIEWER, opt_params), “req”); req.send(response); }; request(); You can download the above code from here. Google code…

Bookmark and Share
Read more

How to Create OpenSocial Application – Part 1

Good or bad, I got bitten by opensocial bug few weeks ago. I don’t remember how it started. May be some article praising the virtues of opensocial. Few months ago, Orkut announced that it was implementing opensocial few months ago. I didn’t pay much attention then. Three weeks ago, I wanted to try it out. I started my journey to develop an application for Orkut. I haven’t coded for many months. I wanted some tips to start with. My first stop was OpenSocial Articles. This page from Google is a good starter for anyone that wants to develop opensocial applications.…

Bookmark and Share
Related Posts Plugin for WordPress, Blogger...Read more