Package com.restfb.types.instagram
Class IgUser
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.instagram.IgUser
- All Implemented Interfaces:
Serializable
Represents the instagram user type
used in the Graph API
and contains additional fields for the instagram API with instagram login User object
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Deprecated.The app user's account type.Biography of the userLoads business discovery informationActive follower count of the userActive follows count of the usergetIgId()
Ig Id of the userDeprecated.getMedia()
Deprecated.Filtered media count of the userThe cdn url to query the raw profile picture of the userInstagram Id of the Instagram API with Instagram login userUsername handle of the userUrl in the profileboolean
removeChild
(Insight insight) boolean
removeMedia
(IgMedia media) Deprecated.void
setAccountType
(String accountType) The app user's account type.void
setBiography
(String biography) Biography of the uservoid
setBusinessDiscovery
(IgUser businessDiscovery) Loads business discovery informationvoid
setFollowersCount
(Long followersCount) Active follower count of the uservoid
setFollowsCount
(Long followsCount) Active follows count of the uservoid
Ig Id of the uservoid
setMediaCount
(Long mediaCount) Filtered media count of the uservoid
setProfilePictureUrl
(String profilePictureUrl) The cdn url to query the raw profile picture of the uservoid
Instagram Id of the Instagram API with Instagram login uservoid
setUsername
(String username) Username handle of the uservoid
setWebsite
(String website) Url in the profileMethods inherited from class com.restfb.types.NamedFacebookType
getName, setName
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
-
IgUser
public IgUser()
-
-
Method Details
-
getMediaConnection
-
getInsights
-
addChild
-
removeChild
-
getMedia
Deprecated. -
addMedia
Deprecated. -
removeMedia
Deprecated. -
getInstagramId
Deprecated.will be removed in 2026. the ID structure between Instagram user fetched with Instagram Login and Facebook API are too different- Returns:
- some ID
-
getBiography
Biography of the user -
setBiography
Biography of the user -
getBusinessDiscovery
Loads business discovery information -
setBusinessDiscovery
Loads business discovery information -
getFollowersCount
Active follower count of the user -
setFollowersCount
Active follower count of the user -
getFollowsCount
Active follows count of the user -
setFollowsCount
Active follows count of the user -
getIgId
Ig Id of the user -
setIgId
Ig Id of the user -
getUserId
Instagram Id of the Instagram API with Instagram login user -
setUserId
Instagram Id of the Instagram API with Instagram login user -
getMediaCount
Filtered media count of the user -
setMediaCount
Filtered media count of the user -
getAccountType
The app user's account type. Can be Business or Media_Creator -
setAccountType
The app user's account type. Can be Business or Media_Creator -
getProfilePictureUrl
The cdn url to query the raw profile picture of the user -
setProfilePictureUrl
The cdn url to query the raw profile picture of the user -
getUsername
Username handle of the user -
setUsername
Username handle of the user -
getWebsite
Url in the profile -
setWebsite
Url in the profile
-