Class Post


public class Post extends FBObject
This class represents a Facebook Post Object http://developers.facebook.com/docs/reference/api/post/
  • Constructor Details

    • Post

      public Post()
      Empty Contructor
    • Post

      public Post(Hashtable props)
  • Method Details

    • getFrom

      public User getFrom()

      Gets the from User

      Returns

      from User

    • getTo

      public Vector getTo()

      Gets the to users

      Returns

      Vector of Users

    • getType

      public String getType()

      Get the type

      Returns

      the type

    • getAttribution

      public String getAttribution()

      Gets the Attribution

      Returns

      the attribution

    • getMessage

      public String getMessage()

      Gets the message

      Returns

      the message

    • getLinkUrl

      public String getLinkUrl()

      Gets the link Url

      Returns

      the linkUrl

    • getCommentsCount

      public String getCommentsCount()

      Gets the comments count number

      Returns

      the comments count

    • getLinkName

      public String getLinkName()

      Gets the Link Name

      Returns

      the linkName

      Deprecated

      use getName() instead

    • getLinkDescription

      public String getLinkDescription()

      Gets the linkDescription

      Returns

      the linkDescription

    • getPicture

      public String getPicture()

      Gets the picture id

      Returns

      the picture id

    • getCreatedTime

      public String getCreatedTime()
    • getLikes

      public String getLikes()

      Gets the Link Count

      Returns

      the likes count

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • copy

      public void copy(Hashtable props)

      copies the relevant values from the given hashtable

      Parameters
      • props: an hashtable to copy from
      Overrides:
      copy in class FBObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class FBObject
    • hashCode

      public int hashCode()
      Description copied from class: FBObject
      Overrides:
      hashCode in class FBObject