Klasse IgMediaChild

Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
IgMedia

public class IgMediaChild extends FacebookType
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getIgId

      public String getIgId()
    • setIgId

      public void setIgId(String igId)
    • getMediaType

      public String getMediaType()
      Media type. Can be CAROUSEL_ALBUM, IMAGE, or VIDEO.
    • setMediaType

      public void setMediaType(String mediaType)
      Media type. Can be CAROUSEL_ALBUM, IMAGE, or VIDEO.
    • getMediaUrl

      public String getMediaUrl()
      Media URL. Will be omitted from responses if the media contains copyrighted material, or has been flagged for a copyright violation.
    • setMediaUrl

      public void setMediaUrl(String mediaUrl)
      Media URL. Will be omitted from responses if the media contains copyrighted material, or has been flagged for a copyright violation.
    • getMediaProductType

      Surface where the media is published. Can be AD, FEED, or STORY.
    • setMediaProductType

      public void setMediaProductType(String mediaProductType)
      Surface where the media is published. Can be AD, FEED, or STORY.
    • getOwner

      Veraltet.
      with Graph API 12 or December 13, 2021 for all versions
      ID of Instagram user who created the media. Only returned if the app user making the query also created the media, otherwise username field will be returned instead.
    • setOwner

      @Deprecated public void setOwner(IgUser owner)
      Veraltet.
      with Graph API 12 or December 13, 2021 for all versions
      ID of Instagram user who created the media. Only returned if the app user making the query also created the media, otherwise username field will be returned instead.
    • getPermalink

      public String getPermalink()
      Permanent URL to the media.
    • setPermalink

      public void setPermalink(String permalink)
      Permanent URL to the media.
    • getShortcode

      public String getShortcode()
      Shortcode to the media.
    • setShortcode

      public void setShortcode(String shortcode)
      Shortcode to the media.
    • getThumbnailUrl

      Media thumbnail URL. Only available on VIDEO media.
    • setThumbnailUrl

      public void setThumbnailUrl(String thumbnailUrl)
      Media thumbnail URL. Only available on VIDEO media.
    • getTimestamp

      public Date getTimestamp()
      ISO 8601 formatted creation date in UTC (default is UTC ±00:00)
    • setTimestamp

      public void setTimestamp(Date timestamp)
      ISO 8601 formatted creation date in UTC (default is UTC ±00:00)
    • getUsername

      public String getUsername()
      Username of user who created the media.
    • setUsername

      public void setUsername(String username)
      Username of user who created the media.