Package com.restfb.types.instagram
Klasse IgMedia
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.instagram.IgMediaChild
com.restfb.types.instagram.IgMedia
- Alle implementierten Schnittstellen:
Serializable
Represents the instagram media type
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
boolean
addChild
(IgMediaChild child) adds a new child to the children listboolean
addComment
(IgComment comment) returns the list of child media objects, only available if the media_type is a carousalreturns the comments of this mediaCount of comments on the media.Indicates if comments are enabled or disabled.Reels only.Count of likes on the media.Media thumbnail URL.IGTV media title.boolean
removeChild
(Insight insight) boolean
removeChild
(IgMediaChild child) removes a new child from the children listboolean
removeComment
(IgComment comment) void
setCaption
(String caption) void
setCommentsCount
(Long commentsCount) Count of comments on the media.void
setIsCommentEnabled
(Boolean isCommentEnabled) Indicates if comments are enabled or disabled.void
setIsSharedToFeed
(Boolean isSharedToFeed) Reels only.void
setLikeCount
(Long likeCount) Count of likes on the media.void
setThumbnailUrl
(String thumbnailUrl) Media thumbnail URL.void
setVideoTitle
(String videoTitle) IGTV media title.Von Klasse geerbte Methoden com.restfb.types.instagram.IgMediaChild
getIgId, getMediaProductType, getMediaType, getMediaUrl, getOwner, getPermalink, getShortcode, getTimestamp, getUsername, setIgId, setMediaProductType, setMediaType, setMediaUrl, setOwner, setPermalink, setShortcode, setTimestamp, setUsername
Von Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
IgMedia
public IgMedia()
-
-
Methodendetails
-
getChildren
returns the list of child media objects, only available if the media_type is a carousal- Gibt zurück:
- the list of children as unmodifiable list
-
addChild
adds a new child to the children list- Parameter:
child
- the child that is added- Gibt zurück:
- true if adding the child works
-
removeChild
removes a new child from the children list- Parameter:
child
- the child that is removed- Gibt zurück:
- true if removing the child works
-
getInsights
-
addChild
-
removeChild
-
getComments
returns the comments of this media- Gibt zurück:
- the comments of this media
-
addComment
-
removeComment
-
getCaption
-
setCaption
-
getCommentsCount
Count of comments on the media. Excludes comments on album child media and the media's caption. Includes replies on comments. -
setCommentsCount
Count of comments on the media. Excludes comments on album child media and the media's caption. Includes replies on comments. -
getIsCommentEnabled
Indicates if comments are enabled or disabled. Excludes album children. -
setIsCommentEnabled
Indicates if comments are enabled or disabled. Excludes album children. -
getLikeCount
Count of likes on the media. Excludes likes on album child media and likes on promoted posts created from the media. Includes replies on comments.- v10.0 and older calls: value will be 0 if the media owner has hidden like counts it.
- v11.0+ calls: field will be omitted if media owner has hidden like counts on it.
-
setLikeCount
Count of likes on the media. Excludes likes on album child media and likes on promoted posts created from the media. Includes replies on comments.- v10.0 and older calls: value will be 0 if the media owner has hidden like counts it.
- v11.0+ calls: field will be omitted if media owner has hidden like counts on it.
-
getThumbnailUrl
Media thumbnail URL. Only available on VIDEO media.- Setzt außer Kraft:
getThumbnailUrl
in KlasseIgMediaChild
-
setThumbnailUrl
Media thumbnail URL. Only available on VIDEO media.- Setzt außer Kraft:
setThumbnailUrl
in KlasseIgMediaChild
-
getVideoTitle
IGTV media title. -
setVideoTitle
IGTV media title.
-