Export to GitHub

opensocial-resources - CodeSnippets.wiki


| Topic | API | Description | |:----------|:--------|:----------------| |Presenting Unobtrusive Alert Messages|0.7 | Easily display user alert messages without using JavaScript's obtrusive alert() function| |Latency Combat Field Manual|0.7 | Fight Latency (and reduce traffic to your server at the same time)| |Localizing OpenSocial Applications|0.7 |Use message bundles and gadget.Prefs to tailor your app based on your user's native language| |Multiple Content sections|0.7 |Use multiple <Content> blocks in your applications to simplify designing multiple pages| |Navigating between Views|0.7 |Use the new gadgets namespace to navigate between Views (formerly Surfaces)| |Flash Applications|0.7 |SAMPLE NEEDED - Run flash applications on Orkut| |Filtering friends|0.7 |Only 20 friends are returned by default, how do you get the rest?| |gadgets.io.makeRequest|0.7 |Sample calls for the gadgets.io.makeRequest calls| |Validating Signed Requests From Orkut|0.7 |Signing requests and verifying them on Orkut| |Orkut Tabs|0.7 |Creating tabs that look and feel like Orkut's| |Activity Streams|0.7 |Use Activity Streams to post information about the user's actions| |Detailed Profile Information|0.7 |Requesting detailed profile information beyond ID, NAME, and THUMBNAIL_URL| |Sending Messages|0.7 - 0.8|Sending messages and handling responses|

Externally submitted samples

| Topic | Author | Description | |:----------|:-----------|:----------------| | Test flash XML | samuelgames | I have made an example for Flash Apps, for moar info. | | Viewer == Owner sample code | jfahrenkrug | I've posted a small piece of sample code on my blog that shows how to see if the current viewer is the owner of the app and how to construct and post Activity Stream updates with a link to a certain user's canvas page of your app. Enjoy. |