Library: MyOpenSpace003.Core.v07.js
Overview
Interface for container and associated classes; everything needed to query/update MySpace API data via OpenSocial interface.
Constructors
MyOpenSpace.MySpaceContainer(
)
The MySpace container class, extends opensocial.Container. Use opensocial.Container.get() to retrieve this singleton.
methods
- postTo(os_token, message, opt_person, opt_callback)
Namespaces
The fields for the extended MyOpenSpace.Person
properties
Enum for groups of items, extends opensocial.DataRequest.Group
properties
Enumerates the types of requests that can be made
properties
Enumerates the types of surfaces supported, extended version of gadgets.views.ViewType
properties
MyOpenSpace.Environment.ObjectType
properties
Functions
Returns the container's MySpace environment object
returns
Returns a new MyOpenSpace.Album instance
parameters
| undefined |
opt_params |
Unused at this time. |
returns
| MyOpenSpace.Album |
The album object |
Returns a new MyOpenSpace.Video instance
parameters
| undefined |
opt_params |
Unused at this time. |
returns
| MyOpenSpace.Video |
The album object |
Returns a new MyOpenSpace.Photo instance
parameters
| undefined |
opt_params |
Unused at this time. |
returns
| MyOpenSpace.Photo |
The photo object |
Takes some content from the app and sends it up to the site to be posted.
parameters
| String |
os_token |
The token, this gets passed up so we can verify who's sending the request. |
| opensocial.Message |
message |
The content to be posted, the message type refers to the target of the post. |
| opensocial.Person |
opt_person |
An optional opensocial.Person object, used when a recipient is required, e.g. when posting a comment, this person will get the comment. |
| Function |
opt_callback |
Callback function, right now just for success/fail. |
Objects
A string representing a Person's city of residence.
A string representing a Person's state/province/region of residence.
A string representing a Person's zip/postal code.
A string representing a Person's country of residence.
A string representing a Person's city of birth.
A string representing a Person's locale.
A string representing a Person's headline or shoutout.
A string representing a Person's current job and job history.
A string representing a Person's zodiac sign.
A string representing a Person's current mood.
A string representing a the last tme a Person's mood was updated.
A string representing a list of people the Person would like to meet.
A string representing whether a person is currently online.
The idSpec for a viewer album.
The idSpec for an owner album.
The idSpec for viewer albums.
The idSpec for owner albums.
The idSpec for a viewer video.
The idSpec for an owner video.
The idSpec for viewer videos.
The idSpec for owner videos.
The idSpec for a viewer photo.
The idSpec for an owner photo.
The idSpec for viewer photos.
The idSpec for owner photos.
The idSpec for viewer app data.
The idSpec for owner app data.
The idSpec for viewer friends app data.
The idSpec for owner friends app data.
The idSpec for viewer app data.
The idSpec for owner app data.
The idSpec for global app data.
The idSpec for global app data.
Defines an enum for a fetch person request.
Defines an enum for a fetch people request.
Defines an enum for a fetch global data request.
Defines an enum for a fetch instance data request.
Defines an enum for an update instance data request.
Defines an enum for a fetch person data request.
Defines an enum for an update person data request.
Defines an enum for a fetch activities request.
Defines an enum for a fetch albums request.
Defines an enum for a fetch album request.
Defines an enum for a fetch videos request.
Defines an enum for a fetch video request.
Defines an enum for a fetch photos request.
Defines an enum for a fetch photo request.
The left column on a profile page.
The right column on a profile page.