Package com.restfb.types.instagram
Class IgMediaChild
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.instagram.IgMediaChild
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IgMedia
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIgId()
Surface where the media is published.Media type.Media URL.getOwner()
Deprecated.with Graph API 12 or December 13, 2021 for all versionsPermanent URL to the media.Shortcode to the media.Media thumbnail URL.ISO 8601 formatted creation date in UTC (default is UTC ±00:00)Username of user who created the media.void
void
setMediaProductType
(String mediaProductType) Surface where the media is published.void
setMediaType
(String mediaType) Media type.void
setMediaUrl
(String mediaUrl) Media URL.void
Deprecated.with Graph API 12 or December 13, 2021 for all versionsvoid
setPermalink
(String permalink) Permanent URL to the media.void
setShortcode
(String shortcode) Shortcode to the media.void
setThumbnailUrl
(String thumbnailUrl) Media thumbnail URL.void
setTimestamp
(Date timestamp) ISO 8601 formatted creation date in UTC (default is UTC ±00:00)void
setUsername
(String username) Username of user who created the media.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
IgMediaChild
public IgMediaChild()
-
-
Method Details
-
getIgId
-
setIgId
-
getMediaType
Media type. Can be CAROUSEL_ALBUM, IMAGE, or VIDEO. -
setMediaType
Media type. Can be CAROUSEL_ALBUM, IMAGE, or VIDEO. -
getMediaUrl
Media URL. Will be omitted from responses if the media contains copyrighted material, or has been flagged for a copyright violation. -
setMediaUrl
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
Surface where the media is published. Can be AD, FEED, or STORY. -
getOwner
Deprecated.with Graph API 12 or December 13, 2021 for all versionsID of Instagram user who created the media. Only returned if the app user making the query also created the media, otherwiseusername
field will be returned instead. -
setOwner
Deprecated.with Graph API 12 or December 13, 2021 for all versionsID of Instagram user who created the media. Only returned if the app user making the query also created the media, otherwiseusername
field will be returned instead. -
getPermalink
Permanent URL to the media. -
setPermalink
Permanent URL to the media. -
getShortcode
Shortcode to the media. -
setShortcode
Shortcode to the media. -
getThumbnailUrl
Media thumbnail URL. Only available on VIDEO media. -
setThumbnailUrl
Media thumbnail URL. Only available on VIDEO media. -
getTimestamp
ISO 8601 formatted creation date in UTC (default is UTC ±00:00) -
setTimestamp
ISO 8601 formatted creation date in UTC (default is UTC ±00:00) -
getUsername
Username of user who created the media. -
setUsername
Username of user who created the media.
-