Class Photo


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

    • Photo

      public Photo()
      Empty Contructor
    • Photo

      public Photo(Hashtable props)
  • Method Details

    • getCreated_time

      @Deprecated public String getCreated_time()
      Deprecated.

      Get created_time

      Returns

      created_time

      Deprecated

      Use #getCreatedTime().

    • getCreatedTime

      public String getCreatedTime()

      Get created time.

      Returns

      created time

    • getFrom

      public User getFrom()

      Get from

      Returns

      from

    • getHeight

      public int getHeight()

      Get height

      Returns

      height

    • getIconUrl

      public String getIconUrl()

      Get iconUrl

      Returns

      iconUrl

    • getLink

      public String getLink()

      Get link

      Returns

      link

    • getPictureUrl

      public String getPictureUrl()

      Get pictureUrl

      Returns

      pictureUrl

    • getPosition

      public int getPosition()

      Get position

      Returns

      position

    • getSourceUrl

      public String getSourceUrl()

      Get sourceUrl

      Returns

      sourceUrl

    • getUpdated_time

      @Deprecated public String getUpdated_time()
      Deprecated.

      Get updated_time

      Returns

      updated_time

      Deprecated

      Use #getUpdatedTime().

    • getUpdatedTime

      public String getUpdatedTime()

      Get updated time.

      Returns

      updated time

    • getWidth

      public int getWidth()

      Get width

      Returns

      width

    • getImages

      public Vector getImages()

      Get images vector where each entry is a String of a url

      Returns

      images

    • getComments

      public Vector getComments()

      Gets the comments on this Photos, where each entry is a Post Object

      Returns

      a Vector of Post Objects

    • 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