Orkut

From OpenSocial

Jump to: navigation, search

Contents

Summary

orkut is a social network run by Google. The majority of its users are in Brazil and India, so applications targeting the orkut platform should have English and Brazilian Portuguese translations. Currently, its developer sandbox supports v0.8 of the JavaScript API while the production site only supports apps using v0.7 for now. A RESTful API is planned but not currently available.

Name orkut
Status Live for all users
Main Site http://www.orkut.com
Developer Site http://sandbox.orkut.com
Documentation Site http://code.google.com/apis/orkut
Discussion Group http://groups.google.com/group/opensocial-orkut
Developer Blog http://orkutdeveloper.blogspot.com
JavaScript API Support Production: v0.8; Sandbox: v0.8
Server to Server Support Production: None; Sandbox: None
API Extensions None
Compliance Test Results http://opensocial-compliance.appspot.com/#orkut.com


Back to Containers page

Container-specific Tips

Submission

To reach users on orkut, you need to submit your app to the directory. The orkut team will review your app and get back to you in 1-2 days.

Views

orkut supports the canvas and profile views. The profile view of your app will appear on a user's public profile page. The canvas view of your app will appear on the application page. See the article Anatomy of an orkut App for more info on how to integrate your app into the orkut experience.

Both VIEWERs and OWNERs can see orkut's Profile and Canvas views.

orkut's profile view defaults to 517x280. The height can be expanded up to 567 pixels by calling gadgets.window.adjustHeight.

orkut's canvas view defaults to 818x520. The height can be expanded up to 2000 pixels by calling gadgets.window.adjustHeight.

Profile views

Orkut profiles run in a restricted environment where JavaScript is forbidden. Currently, profile views for apps are disabled by default, so in order to have your application render a profile view, include the following feature:

<Require feature="opensocial-templates">
  <Param name="process-on-server">true</Param>
</Require>

Any JavaScript code in your profile view will be removed, so you will need to render the profile using OpenSocial templates. More information about this is available in the following blog posts:

Implementation Differences

orkut maintains a list of profile fields that your app can access.

TEMPLATE_PARAMS string substitution for activity streams is not supported in orkut.

Adding a MEDIA_ITEMS parameter to an activity stream request will cause orkut to silently fail and ignore the activity message (if a callback is specified, it will be called with a null argument).

orkut does not respect the ModulePrefs tag's height field if the value passed is less than 280 pixels. Above 280 pixels, the field is respected. Gadgets can be made smaller than 280 pixels by calling gadgets.window.adjustHeight. However, this method isn't entirely reliable (some calls to adjustHeight silently fail).

You can not get any info on any user (even the viewer) if they do not have your app installed as well.

Some fields (such as opensocial.Person.Field.PROFILE_URL) on opensocial.Person are not supported by orkut.

<os:PeopleRequest> has no filter hability. <os:ActivitiesRequest> simply return not implemented error.

<os:PersonAppDataRequest> Is not implemented yet. returns only {} on profile View.

if you try to save a integer, it will fail. add quotes to parse it as String. zoom = 13; req.add(req.newUpdatePersonAppDataRequest('VIEWER', 'zoom', ""+zoom));

Policies

orkut's policies are outlined in the Developer Guidelines.


Back to Containers page

Personal tools