Was this article helpful?

Photo

Last modified 11:38, 15 Sep 2014
Table of Contents

Description

This object represents a photo of the current user. Photo objects may be retrieved using the socialize.getPhotos method. 

Note: Different providers supply different data. Thus, the availability of the data members of the Photo object depends on the specific provider.

 

Data Members

Field Name Type Description
photoID string A unique ID for the photo represented by this object.
albumID string The ID of the album to which this photo belongs.
title string The caption of the photo.
photoURL string The URL to the album view version of the photo.
photoWidth integer The width in pixels of the album view version of the photo.
photoHeight integer The height in pixels of the album view version of the photo.
thumbnailURL string The URL to the thumbnail version of the photo. This URL may be blank.
thumbnailWidth integer  The width in pixels of the thumbnail version. This field may be blank. 
thumbnailHeight integer  The height in pixels of the thumbnail version. This field may be blank.
created string The time when the photo was uploaded. The time is represented by the following string format: "yyyy-mm-dd hh:mm:ss". For Example: "2009-12-06 14:05:24".
provider string The name of the provider from which this photo is retrieved. The value of this field may be: "facebook" or "myspace".
providerPhotoID string The ID of this photo, as defined by the photo's provider. This ID is unique within the scope of the specific provider, but may not be unique in a larger scope.
Was this article helpful?
Pages that link here
Page statistics
10 view(s) and 1 edit(s)
Social share
Share this page?

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attachments