| Package | com.facebook.graph.data.api.link |
| Class | public class FacebookLink |
| Inheritance | FacebookLink AbstractFacebookGraphObject |
See also
| Property | Defined 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 | ||
![]() | id : 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 | ||
![]() | rawResult : Object
The raw decoded JSON result data for the graph object.
| AbstractFacebookGraphObject | |
| Method | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
setPropertyValue(property:String, value:*):void
| FacebookLink | ||
| caption | property |
public var caption:StringThe caption of the link (appears beneath the link name).
| created_time | property |
public var created_time:DateThe time the link was published.
| description | property |
public var description:StringA description of the link (appears beneath the link caption).
| from | property |
public var from:FacebookUserThe user that created the link.
| icon | property |
public var icon:StringA URL to the link icon that Facebook displays in the news feed.
| link | property |
public var link:StringThe URL that was shared.
| message | property |
public var message:StringThe optional message from the user about this link.
| name | property |
public var name:StringThe name of the link.
| picture | property |
public var picture:StringA URL to the thumbnail image used in the link post.
| FacebookLink | () | constructor |
public function FacebookLink()Creates a new FacebookLink.
| fromJSON | () | method |
public static function fromJSON(result:Object):FacebookLinkPopulates and returns a new FacebookLink from a decoded JSON object.
Parametersresult:Object — A decoded JSON object.
|
FacebookLink —
A new FacebookLink.
|
| setPropertyValue | () | method |
protected override function setPropertyValue(property:String, value:*):voidParameters
property:String |
|
value:* |
| toString | () | method |
public override function toString():StringProvides the string value of the graph object.
ReturnsString — The string value of the graph object.
|