To help you get started using the OpenSocial REST and RPC protocols, we have assembled a set of client libraries for PHP, Java, Ruby and Python. Each library enables developers to retrieve profile information and persistent data from supporting containers without having to concern themselves with managing network connections, signing requests, or other lower-level details. To check out the code, point your browsers to the Source tab linked from each project's home page:
- OpenSocial PHP Client Library
- OpenSocial Java Client Library
- OpenSocial Ruby Client Library
- OpenSocial Python Client Library
To help get you started, we have assembled a set of sample applications, linked from the project wiki pages, which you can run directly from the command line or your favorite IDE. As an added bonus, the Ruby and Python libraries have accompanying full-featured sample applications which you can run inside containers supporting the OpenSocial REST protocol. These larger samples are checked in to the Subversion repository under "Samples" and include a bootstrap mechanism for securely retrieving the ID of the current viewer before the core application loads, which you can use as a template for your own container-based applications.
For general questions and commentary, we have set up a discussion group to help build the developer community around the libraries. The original engineers of each library are already members of the group, so feel free to ask the tough questions. :) We will also be hosting a special session of IRC office hours next Monday, December 22 from 1:00 to 3:00 (PST) so you can share your feedback with us directly. The official OpenSocial IRC channel is located at irc://irc.freenode.net/#opensocial.
We're really excited to see the next generation of social applications that the OpenSocial server-to-server APIs enable, and we hope the client libraries ease you along your development journey. Please give the libraries a spin, file any issues you see, and stop by the IRC channel next week to get your questions answered. See you there!