com.restfb.types
Class Link

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.NamedFacebookType
          extended by com.restfb.types.Link
All Implemented Interfaces:
Serializable

public class Link
extends NamedFacebookType

Represents the Link Graph API type.

Since:
1.5
Author:
Mark Allen, Patrick Alberts
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
Link()
           
 
Method Summary
 Date getCreatedTime()
          The time at which this object was created, if available.
 String getDescription()
          The link description.
 NamedFacebookType getFrom()
          An object containing the name and ID of the user who posted the link.
 String getIcon()
          The link icon.
 String getLink()
          The actual URL that was shared.
 String getMessage()
          The link message content.
 String getPicture()
          The picture associated with the link.
 
Methods inherited from class com.restfb.types.NamedFacebookType
getName
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link()
Method Detail

getFrom

public NamedFacebookType getFrom()
An object containing the name and ID of the user who posted the link.

Returns:
An object containing the name and ID of the user who posted the link.

getMessage

public String getMessage()
The link message content.

Returns:
The link message content.

getPicture

public String getPicture()
The picture associated with the link.

Returns:
The picture associated with the link.

getLink

public String getLink()
The actual URL that was shared.

Returns:
The actual URL that was shared.

getDescription

public String getDescription()
The link description.

Returns:
The link description.

getIcon

public String getIcon()
The link icon.

Returns:
The link icon.

getCreatedTime

public Date getCreatedTime()
The time at which this object was created, if available.

Returns:
The time at which this object was created.
Since:
1.6.3


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.