OpenSocial RESTful APIs Supported by YAP

Important Notice

YAP will stop supporting OpenSocial RESTful APIs from 15th April 2012 onwards. We recommend using Yahoo! Social Profile APIs for OpenSocial People REST endpoints (/people) and Yahoo! Social Updates APIs for Opensocial Activity endpoints (/activities).

The YAP supports the OpenSocial 0.8.1 RESTful API. The details of this support follow.

OpenSocial REST Endpoint: http://appstore.apps.yahooapis.com/social/rest

Authentication: 3 Legged OAuth. For more information, see Yahoo! OAuth and OAuth Authorization Flow.

Supported APIs: People, Friends

Supported Data formats: JSON

Supported People Endpoints:

  • /people/{guid}/@all- Collection of all people connected to user {guid}.
  • /people/{guid}/@self- Profile record for user {guid}.
  • /people/@me/@self- Profile record for requester.

Supported Activities Endpoints:

  • /activities/{guid}/@self- Collection of activities generated by given user.
  • /activities/{guid}/@self- Collection of activities generated by an app for a given user
  • /activities/{guid}/@self/{appid}/{activityid}- Individual activity resource, usually discovered from a collection.

If you want to use the OpenSocial APIs in languages other than JavaScript, see the OpenSocial REST/RPC client libraries.

Table of Contents