Packagecom.facebook.graph.data.api.link
Classpublic class FacebookLink
InheritanceFacebookLink Inheritance AbstractFacebookGraphObject

A link shared on a user's wall.

See also

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


Public Properties
 PropertyDefined by
  caption : String
The caption of the link (appears beneath the link name).
FacebookLink
  created_time : Date
The time the link was published.
FacebookLink
  description : String
A description of the link (appears beneath the link caption).
FacebookLink
  from : FacebookUser
The user that created the link.
FacebookLink
  icon : String
A URL to the link icon that Facebook displays in the news feed.
FacebookLink
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  link : String
The URL that was shared.
FacebookLink
  message : String
The optional message from the user about this link.
FacebookLink
  name : String
The name of the link.
FacebookLink
  picture : String
A URL to the thumbnail image used in the link post.
FacebookLink
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
Public Methods
 MethodDefined by
  
Creates a new FacebookLink.
FacebookLink
  
fromJSON(result:Object):FacebookLink
[static] Populates and returns a new FacebookLink from a decoded JSON object.
FacebookLink
  
toString():String
Provides the string value of the graph object.
FacebookLink
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookLink
Property detail
captionproperty
public var caption:String

The caption of the link (appears beneath the link name).

created_timeproperty 
public var created_time:Date

The time the link was published.

descriptionproperty 
public var description:String

A description of the link (appears beneath the link caption).

fromproperty 
public var from:FacebookUser

The user that created the link.

iconproperty 
public var icon:String

A URL to the link icon that Facebook displays in the news feed.

linkproperty 
public var link:String

The URL that was shared.

messageproperty 
public var message:String

The optional message from the user about this link.

nameproperty 
public var name:String

The name of the link.

pictureproperty 
public var picture:String

A URL to the thumbnail image used in the link post.

Constructor detail
FacebookLink()constructor
public function FacebookLink()

Creates a new FacebookLink.

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

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

Parameters
result:Object — A decoded JSON object.

Returns
FacebookLink — A new FacebookLink.
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.