|
|
OpenSocial + ClearspringBeta WarningThe OpenSocial standard is still under active development, as are all the sites that support OpenSocial. The current version is 0.7 and APIs may change at any time. Most of the sites require a developer account, special preferences, registration, or some kind of disclaimer. We encourage you to start testing the new open social features, but have to warn you that behavior may vary from site to site. Be patient and we'll update you as features stabilize. What is this OpenSocial URL?All OpenSocial sites require a public URL that returns OpenSocial code. You can use the Clearspring URL to test your widget, or copy the xml to your own public server and use your own URL. Copy the OpenSocial URL into the “Add Application” text field to test a Social Application and submit the URL to OpenSocial galleries when you are ready to have other users test it. What is the XML returned by the OpenSocial URL?It is not part of the OpenSocial specification, but the reference implementations all use Google's Gadget Module as an open standard. Clearspring generates the minimum module file needed to include your widget code and OpenSocial libraries. OpenSocial enabled javascript widgets will be added as content to the OpenSocial gadget xml file so you only have to worry about the Application code, not its packaging. Flash widgets will also be included as content with Javascript access to the open social APIs. Direct Flash access to OpenSocial APIs will be added as soon as it is available. You can use this file to test OpenSocial sites or copy it as a start to your own OpenSocial Application. Clearspring will continue to maintain the OpenSocial URL and xml as the specification and libraries change. What do I have to do to make my existing widgets work with OpenSocial?Good news, they already work! All Clearspring widgets are already OpenSocial enabled. Get a test account at your preferred OpenSocial site and you can add your widget as an OpenSocial Application using the OpenSocial URL. If you want to develop new social features for your widget, see the development tutorial and we'll get you started. How do I develop OpenSocial Applications?The OpenSocial specification defines a set of Javascript requests for retrieving Person, Activity, and Application data from an OpenSocial network. To add friend lists, shared comments, or messages from business associates to your OpenSocial application you need to need to write Javascript methods to handle the requests, parse your application data, and build a user interface. The user interface may also be written in Flash with external calls to the Javascript data.
Resources
Orkut Sandbox ExampleOrkut provides a sandbox for OpenSocial testing within its existing network. Once you have been approved as a developer you can test applications with your developer account or submit applications to their test gallery.
ResourcesOther Open Social Containers |