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 TypeMethodDescriptionbooleanbooleanDeprecated.The app user's account type.Descriptive text for images, for accessibility.Biography of the userLoads business discovery informationActive follower count of the userActive follows count of the userIndicates whether your app user's Instagram professional account has a profile picture.getIgId()Ig Id of the userDeprecated.Indicates whether your app user's Instagram account is published.Your app user's Instagram ID that was created for Marketing API endpoints for v21.0 and older.getMedia()Deprecated.Filtered media count of the userThe cdn url to query the raw profile picture of the userReturns true if your app user has set up an Instagram Shop and is therefore eligible for product tagging, otherwise returns false.Instagram Id of the Instagram API with Instagram login userUsername handle of the userUrl in the profilebooleanremoveChild(Insight insight) booleanremoveMedia(IgMedia media) Deprecated.voidsetAccountType(String accountType) The app user's account type.voidsetAltText(String altText) Descriptive text for images, for accessibility.voidsetBiography(String biography) Biography of the uservoidsetBusinessDiscovery(IgUser businessDiscovery) Loads business discovery informationvoidsetFollowersCount(Long followersCount) Active follower count of the uservoidsetFollowsCount(Long followsCount) Active follows count of the uservoidsetHasProfilePic(Boolean hasProfilePic) Indicates whether your app user's Instagram professional account has a profile picture.voidIg Id of the uservoidsetIsPublished(Boolean isPublished) Indicates whether your app user's Instagram account is published.voidsetLegacyInstagramUserId(String legacyInstagramUserId) Your app user's Instagram ID that was created for Marketing API endpoints for v21.0 and older.voidsetMediaCount(Long mediaCount) Filtered media count of the uservoidsetProfilePictureUrl(String profilePictureUrl) The cdn url to query the raw profile picture of the uservoidsetShoppingProductTagEligibility(Boolean shoppingProductTagEligibility) Returns true if your app user has set up an Instagram Shop and is therefore eligible for product tagging, otherwise returns false.voidInstagram Id of the Instagram API with Instagram login uservoidsetUsername(String username) Username handle of the uservoidsetWebsite(String website) Url in the profileMethods inherited from class com.restfb.types.NamedFacebookType
getName, setNameMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods 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
-
getAltText
Descriptive text for images, for accessibility. -
setAltText
Descriptive text for images, for accessibility. -
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 -
getHasProfilePic
Indicates whether your app user's Instagram professional account has a profile picture. -
setHasProfilePic
Indicates whether your app user's Instagram professional account has a profile picture. -
getIgId
Ig Id of the user -
setIgId
Ig Id of the user -
getIsPublished
Indicates whether your app user's Instagram account is published. Available for Page-backed Instagram accounts. -
setIsPublished
Indicates whether your app user's Instagram account is published. Available for Page-backed Instagram accounts. -
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 -
getLegacyInstagramUserId
Your app user's Instagram ID that was created for Marketing API endpoints for v21.0 and older. Available for Page-backed Instagram accounts. -
setLegacyInstagramUserId
Your app user's Instagram ID that was created for Marketing API endpoints for v21.0 and older. Available for Page-backed Instagram accounts. -
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 -
getShoppingProductTagEligibility
Returns true if your app user has set up an Instagram Shop and is therefore eligible for product tagging, otherwise returns false. -
setShoppingProductTagEligibility
Returns true if your app user has set up an Instagram Shop and is therefore eligible for product tagging, otherwise returns false. -
getUsername
Username handle of the user -
setUsername
Username handle of the user -
getWebsite
Url in the profile -
setWebsite
Url in the profile -
getConnectedThreadsUser
-