Packagecom.facebook.graph.data.api.photo
Classpublic class FacebookPhoto
InheritanceFacebookPhoto Inheritance AbstractFacebookGraphObject

An individual photo within an album.

See also

http://developers.facebook.com/docs/reference/api/photo


Public Properties
 PropertyDefined by
  created_time : Date
The time the photo was initially published.
FacebookPhoto
  from : Object
The profile (user or page) that posted this photo.
FacebookPhoto
  height : int
The height of the photo in pixels.
FacebookPhoto
  icon : String
The icon that Facebook displays when photos are published to the Feed.
FacebookPhoto
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  link : String
A link to the photo on Facebook.
FacebookPhoto
  name : String
The caption given to this photo.
FacebookPhoto
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
  source : String
The full-sized source of the photo.
FacebookPhoto
  tags : Array
The tagged users and their positions in this photo.
FacebookPhoto
  updated_time : Date
The last time the photo or its caption was updated.
FacebookPhoto
  width : int
The width of the photo in pixels.
FacebookPhoto
Public Methods
 MethodDefined by
  
Creates a new FacebookPhoto.
FacebookPhoto
  
fromJSON(result:Object):FacebookPhoto
[static] Populates and returns a new FacebookPhoto from a decoded JSON object.
FacebookPhoto
  
toString():String
Provides the string value of the graph object.
FacebookPhoto
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookPhoto
Property detail
created_timeproperty
public var created_time:Date

The time the photo was initially published.

fromproperty 
public var from:Object

The profile (user or page) that posted this photo.

heightproperty 
public var height:int

The height of the photo in pixels.

iconproperty 
public var icon:String

The icon that Facebook displays when photos are published to the Feed.

linkproperty 
public var link:String

A link to the photo on Facebook.

nameproperty 
public var name:String

The caption given to this photo.

sourceproperty 
public var source:String

The full-sized source of the photo.

tagsproperty 
public var tags:Array

The tagged users and their positions in this photo.

updated_timeproperty 
public var updated_time:Date

The last time the photo or its caption was updated.

widthproperty 
public var width:int

The width of the photo in pixels.

Constructor detail
FacebookPhoto()constructor
public function FacebookPhoto()

Creates a new FacebookPhoto.

Method detail
fromJSON()method
public static function fromJSON(result:Object):FacebookPhoto

Populates and returns a new FacebookPhoto from a decoded JSON object.

Parameters
result:Object — A decoded JSON object.

Returns
FacebookPhoto — A new FacebookPhoto.
setPropertyValue()method 
protected override function setPropertyValue(property:String, value:*):void

Parameters
property:String
 
value:*
toString()method 
public override function toString():String

Provides the string value of the graph object.

Returns
String — The string value of the graph object.