MySpace Open Platform

A Place For Developers

Welcome Developers!

Welcome!

Return to Developer Documentation.

Library: MyOpenSpace003.Engine.js
Overview
Interface for container and associated classes; everything needed to query/update MySpace API data via OpenSocial interface.
  • source: MyOpenSpace003.Engine.js
  • desc: Copyright 2007 Fox Interactive Media
  • author: mnewbould@myspace.com (Max Newbould)
  • author: crussell@myspace.com (Chad Russell)
  • author: ccole@myspace.com (Chris Cole)
Constructors
Namespaces
Functions
MyOpenSpace.DataRequest.newFetchPhotoRequest(id, photo_id, opt_params)
Creates an object to be used when sending to the server.
parameters
String id The ID (VIEWER or OWNER) of the person who owns the photo
Number photo_id The ID of the photo to fetch
undefined opt_params Not used at this time.
returns
Object A request object
MyOpenSpace.DataRequest.newFetchPhotosRequest(id, opt_params)
Creates an object to be used when sending to the server
parameters
String id The ID (VIEWER or OWNER) of the person who owns the photos
Map<opensocial.DataRequest.PeopleRequestFields.FIRST, opensocial.DataRequest.PeopleRequestFields.MAX> opt_params Optional parameters specified when creating the photos.
returns
Object A request object
MyOpenSpace.DataRequest.newFetchAlbumRequest(id, album_id, opt_params)
Creates an object to be used when sending to the server
parameters
String id The ID (VIEWER or OWNER) of the person who owns the album
Number album_id The ID of the photo to fetch
undefined opt_params Not used at this time.
returns
Object A request object
MyOpenSpace.DataRequest.newFetchAlbumsRequest(id, opt_params)
Creates an object to be used when sending to the server
parameters
String id The ID (VIEWER or OWNER) of the person who owns the albums
Map<opensocial.DataRequest.PeopleRequestFields.FIRST, opensocial.DataRequest.PeopleRequestFields.MAX> opt_params Optional parameters specified when creating the albums.
returns
Object A request object
MyOpenSpace.DataRequest.newFetchVideoRequest(id, video_id, opt_params)
Creates an object to be used when sending to the server
parameters
String id The ID (VIEWER or OWNER) of the person who owns the album
Number video_id The ID of the photo to fetch
undefined opt_params Not used at this time.
returns
Object A request object
MyOpenSpace.DataRequest.newFetchVideosRequest(id, opt_params)
Creates an object to be used when sending to the server
parameters
String id The ID (VIEWER or OWNER) of the person who owns the albums
Map<opensocial.DataRequest.PeopleRequestFields.FIRST, opensocial.DataRequest.PeopleRequestFields.MAX> opt_params Optional parameters specified when creating the videos.
returns
Object A request object
Objects
Generated by JsDoc Toolkit 1.4.0 on Fri, 04 Apr 2008 20:04:38 GMT.