Class Page
- All Implemented Interfaces:
HasProfilePicture,Serializable
- Direct Known Subclasses:
Account
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the Cover Graph API type.static classRepresents the Page Engagement Graph API type.static classstatic classParking options for a Page.static classRepresents the Page Payment Options Graph API type.static classRepresents the Page Restaurant Services Graph API type.static classRepresents the Page Restaurant Specialties Graph API type.static classstatic classRepresents the Page Start Info Graph API type.static classstatic classRepresents the Page Settings Graph API type.static classRepresents the VOIP Info Graph API type.Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAdminNote(PageAdminNote adminNote) booleanaddCategory(Category category) booleanbooleanaddFoodStyle(String foodStyle) booleanaddGlobalBrandChildren(Page globalBrandChild) booleanaddInstagramAccount(InstagramUser igUser) booleanbooleanaddMessengerAdsDefaultIcebreaker(String icebreaker) booleanaddScreenName(Page.ScreenName screenName) protected voidprotected voidconvertLabels(JsonMapper jsonMapper) protected voidfillProfilePicture(JsonMapper jsonMapper) getAbout()General information about this page.An adminaccess_tokenfor this page.Notes of this pageAffiliation of this person.getAppId()App ID for app-owned Pages and app Pages.Artists the band likes.relevance score of an asset.Dress code of the business.The awards information of the film.Band interests.Members of the band.The best available Page on Facebook for the concept represented by this Page.getBio()Biography of the band.Birthday of this person.Booking agent of the band.getBuilt()Year vehicle was built.The Business associated with this Page.Whether this page has check in functionality enabled.Indicates whether the current session user can post on this page.The Page's category. e.g.the sub category listThe total number of users who have checked in to the Page.Overview of the page's company.Instagram account connected to page via page settingsThe mailing or contact address for this page.If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.getCover()The cover photo.Culinary team of the business.Current location of the Page.A description of this page.The description of the Page in raw HTML.The director of the film.Page estimated message response time displayed to userSubtext about the Page being viewed.The emails listed in the About section of a Page.The social sentence and like count information for this Page.The number of likes the page has.Video Featured by the Page.Features of the vehicle.Number of page followersThe restaurant's food styles.When the page was founded.The general information for a page.General manager of the business.getGenre()The genre of the film.The name of the Page with country codes appended for Global Brand Pages.This brand's global (parent) Page.This brand's global Root ID.groupsIndicates whether this Page has added the app making the query in a Page tab.Indicates whether a page has transitioned to new page experience or notIndicates whether WhatsApp number connected to this page is a WhatsApp business numberhas whatsapp numberHometown of the band.getHours()Opening hoursLegal information about the Page publishers.Influences on the band.This Page's Insights dataLinked Instagram accounts for this PageInstagram account linked to page during Instagram business conversion flowIndicates the current Instant Articles review status for this pageIndicates whether this location is always open.Indicates whether location is part of a chainIs this a community page?Indicates whether the page is eligible for the branded content toolIndicates whether the page is a Messenger Platform Bot with Get Started button enabledIndicates whether the page is a Messenger Platform BotIndicates whether page is ownedWhether the business corresponding to this Page is permanently closed.Indicates whether the page is published and visible to non-admins.Indicates whether the Page is unclaimed.Indicates whether the application is subscribed for real time updates from this pagePage labels of this pagelast used time of this object by the current viewerIndicates the time when the TOS for running LeadGen Ads on the page was acceptedIndicates whether a user has accepted the TOS for running LeadGen Ads on the Page.Indicates the user who accepted the TOS for running LeadGen Ads on the pagegetLikes()The Pages that this Page Likes.The number of likes the page has.getLink()The page's link.The location of the place this page represents.Members of this org.The instant workflow merchant id associated with the PageReview status of the Page against FB commerce policies, this status decides whether the Page can use component flowThe company mission.getMpg()MPG of the vehicle.The name of a Location Page that provides additional location information for that Page beside its name.The TV network for the TV show.The number of people who have liked the Page, since the last login.Offer eligibility status.Overall page rating based on rating survey from users on a scale of 1-5.owner business of this objectParent Page of this Page.Parking information.Payment options accepted by the business.Personal information.Personal interests.Pharmacy safety information.getPhone()The phone number (not always normalized for country code) for the Page.The page's profile picture, if provided.For places, the category of the place.The plot outline of the film.Press contact information of the band.Price range of the business.Privacy url in page info sectionThe productor of the film.The page's products.Reason why a post isn't eligible for boosting.Reason, for which boosted posts are not eligible.Public transit to the business.Number of ratings for the page (limited to ratings that are publicly accessibleMessenger page scope id associated with page and a user using account_linking_tokenRecord label of the band.The film's release date.Services the restaurant provides.The restaurant's specialties.The air schedule of the TV show.External accounts.The screenwriter of the film.The season information of the TV Show.The page address, if any, in a simple single line format.The cast of the film.Information about when the entity represented by the Page was startedUnique store code for this location PageLocation Page's store location descriptorUnique store number for this location Page.The studio for the film production.The number of people that are talking about this page (last seven days).Indicates how the business corresponding to this Page is operating differently than usual.Unread message count for the Page.Number of unread notifications.Unseen message count for the Page.The page's username.Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verifiedVoip infoThe website URLThe number of visits to this Page's location.whatsapp numberThe writer of the TV show.protected voidbooleanremoveAdminNote(PageAdminNote adminNote) booleanremoveCategory(Category category) booleanremoveEmail(String email) booleanremoveFoodStyle(String foodStyle) booleanremoveGlobalBrandChildren(Page globalBrandChild) booleanremoveInstagramAccount(InstagramUser igUser) booleanremoveLabels(PageLabel label) booleanremoveMessengerAdsDefaultIcebreaker(String icebreaker) booleanremoveScreenName(Page.ScreenName screenName) voidGeneral information about this page.voidsetAccessToken(String accessToken) An adminaccess_tokenfor this page.voidsetAffiliation(String affiliation) Affiliation of this person.voidApp ID for app-owned Pages and app Pages.voidsetArtistsWeLike(String artistsWeLike) Artists the band likes.voidsetAssetScore(Double assetScore) relevance score of an asset.voidDress code of the business.voidThe awards information of the film.voidsetBandInterests(String bandInterests) Band interests.voidsetBandMembers(String bandMembers) Members of the band.voidsetBestPage(Page bestPage) The best available Page on Facebook for the concept represented by this Page.voidBiography of the band.voidsetBirthday(String birthday) Birthday of this person.voidsetBookingAgent(String bookingAgent) Booking agent of the band.voidYear vehicle was built.voidsetBusiness(Business business) The Business associated with this Page.voidsetCanCheckin(Boolean canCheckin) Whether this page has check in functionality enabled.voidsetCanPost(Boolean canPost) Indicates whether the current session user can post on this page.voidsetCategory(String category) The Page's category. e.g.voidsetCheckins(Integer checkins) The total number of users who have checked in to the Page.voidsetCompanyOverview(String companyOverview) Overview of the page's company.voidsetConnectedInstagramAccount(IgUser connectedInstagramAccount) Instagram account connected to page via page settingsvoidsetContactAddress(Page.MailingAddress contactAddress) The mailing or contact address for this page.voidsetCountryPageLikes(Integer countryPageLikes) If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.voidsetCover(Page.Cover cover) The cover photo.voidsetCulinaryTeam(String culinaryTeam) Culinary team of the business.voidsetCurrentLocation(String currentLocation) Current location of the Page.voidsetDescription(String description) A description of this page.voidsetDescriptionHtml(String descriptionHtml) The description of the Page in raw HTML.voidsetDirectedBy(String directedBy) The director of the film.voidsetDisplayedMessageResponseTime(String displayedMessageResponseTime) Page estimated message response time displayed to uservoidsetDisplaySubtext(String displaySubtext) Subtext about the Page being viewed.voidsetEngagement(Page.Engagement engagement) The social sentence and like count information for this Page.voidsetFanCount(Long fanCount) The number of likes the page has.voidsetFeaturedVideo(Video featuredVideo) Video Featured by the Page.voidsetFeatures(String features) Features of the vehicle.voidsetFollowersCount(Long followersCount) Number of page followersvoidsetFounded(String founded) When the page was founded.voidsetGeneralInfo(String generalInfo) The general information for a page.voidsetGeneralManager(String generalManager) General manager of the business.voidThe genre of the film.voidsetGlobalBrandPageName(String globalBrandPageName) The name of the Page with country codes appended for Global Brand Pages.voidsetGlobalBrandParentPage(Page globalBrandParentPage) This brand's global (parent) Page.voidsetGlobalBrandRootId(String globalBrandRootId) This brand's global Root ID.voidsetGroups(Connection<Group> groups) groupsvoidsetHasAddedApp(Boolean hasAddedApp) Indicates whether this Page has added the app making the query in a Page tab.voidsetHasTransitionedToNewPageExperience(Boolean hasTransitionedToNewPageExperience) Indicates whether a page has transitioned to new page experience or notvoidsetHasWhatsappBusinessNumber(Boolean hasWhatsappBusinessNumber) Indicates whether WhatsApp number connected to this page is a WhatsApp business numbervoidsetHasWhatsappNumber(Boolean hasWhatsappNumber) has whatsapp numbervoidsetHometown(String hometown) Hometown of the band.voidOpening hoursvoidsetImpressum(String impressum) Legal information about the Page publishers.voidsetInfluences(String influences) Influences on the band.voidsetInsights(Connection<Insight> insights) This Page's Insights datavoidsetInstagramBusinessAccount(IgUser instagramBusinessAccount) Instagram account linked to page during Instagram business conversion flowvoidsetInstantArticlesReviewStatus(String instantArticlesReviewStatus) Indicates the current Instant Articles review status for this pagevoidsetIsAlwaysOpen(Boolean isAlwaysOpen) Indicates whether this location is always open.voidsetIsChain(Boolean isChain) Indicates whether location is part of a chainvoidsetIsCommunityPage(Boolean isCommunityPage) Is this a community page?voidsetIsEligibleForBrandedContent(Boolean isEligibleForBrandedContent) Indicates whether the page is eligible for the branded content toolvoidsetIsMessengerBotGetStartedEnabled(Boolean isMessengerBotGetStartedEnabled) Indicates whether the page is a Messenger Platform Bot with Get Started button enabledvoidsetIsMessengerPlatformBot(Boolean isMessengerPlatformBot) Indicates whether the page is a Messenger Platform BotvoidsetIsOwned(Boolean isOwned) Indicates whether page is ownedvoidsetIsPermanentlyClosed(Boolean isPermanentlyClosed) Whether the business corresponding to this Page is permanently closed.voidsetIsPublished(Boolean isPublished) Indicates whether the page is published and visible to non-admins.voidsetIsUnclaimed(Boolean isUnclaimed) Indicates whether the Page is unclaimed.voidsetIsWebhooksSubscribed(Boolean isWebhooksSubscribed) Indicates whether the application is subscribed for real time updates from this pagevoidsetLastUsedTime(Date lastUsedTime) last used time of this object by the current viewervoidsetLeadgenTosAcceptanceTime(Date leadgenTosAcceptanceTime) Indicates the time when the TOS for running LeadGen Ads on the page was acceptedvoidsetLeadgenTosAccepted(Boolean leadgenTosAccepted) Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.voidsetLeadgenTosAcceptingUser(User leadgenTosAcceptingUser) Indicates the user who accepted the TOS for running LeadGen Ads on the pagevoidThe Pages that this Page Likes.voidsetLikesCount(Long likesCount) The number of likes the page has.voidThe page's link.voidsetLocation(Location location) The location of the place this page represents.voidsetMembers(String members) Members of this org.voidsetMerchantId(String merchantId) The instant workflow merchant id associated with the PagevoidsetMerchantReviewStatus(String merchantReviewStatus) Review status of the Page against FB commerce policies, this status decides whether the Page can use component flowvoidsetMission(String mission) The company mission.voidMPG of the vehicle.voidsetNameWithLocationDescriptor(String nameWithLocationDescriptor) The name of a Location Page that provides additional location information for that Page beside its name.voidsetNetwork(String network) The TV network for the TV show.voidsetNewLikeCount(Long newLikeCount) The number of people who have liked the Page, since the last login.voidsetOfferEligible(Boolean offerEligible) Offer eligibility status.voidsetOverallStarRating(Double overallStarRating) Overall page rating based on rating survey from users on a scale of 1-5.voidsetOwnerBusiness(Business ownerBusiness) owner business of this objectvoidsetPageToken(String pageToken) voidsetParentPage(Page parentPage) Parent Page of this Page.voidsetParking(Page.PageParking parking) Parking information.voidsetPaymentOptions(Page.PagePaymentOptions paymentOptions) Payment options accepted by the business.voidsetPersonalInfo(String personalInfo) Personal information.voidsetPersonalInterests(String personalInterests) Personal interests.voidsetPharmaSafetyInfo(String pharmaSafetyInfo) Pharmacy safety information.voidThe phone number (not always normalized for country code) for the Page.voidsetPicture(ProfilePictureSource picture) The page's profile picture, if provided.voidsetPlaceType(String placeType) For places, the category of the place.voidsetPlotOutline(String plotOutline) The plot outline of the film.voidsetPressContact(String pressContact) Press contact information of the band.voidsetPriceRange(String priceRange) Price range of the business.voidsetPrivacyInfoUrl(String privacyInfoUrl) Privacy url in page info sectionvoidsetProducedBy(String producedBy) The productor of the film.voidsetProducts(String products) The page's products.voidsetPromotionEligible(Boolean promotionEligible) Reason why a post isn't eligible for boosting.voidsetPromotionIneligibleReason(String promotionIneligibleReason) Reason, for which boosted posts are not eligible.voidsetPublicTransit(String publicTransit) Public transit to the business.voidsetRatingCount(Integer ratingCount) Number of ratings for the page (limited to ratings that are publicly accessiblevoidsetRecipient(String recipient) Messenger page scope id associated with page and a user using account_linking_tokenvoidsetRecordLabel(String recordLabel) Record label of the band.voidsetReleaseDate(String releaseDate) The film's release date.voidsetRestaurantServices(Page.PageRestaurantServices restaurantServices) Services the restaurant provides.voidsetRestaurantSpecialties(Page.PageRestaurantSpecialties restaurantSpecialties) The restaurant's specialties.voidsetSchedule(String schedule) The air schedule of the TV show.voidsetScreenplayBy(String screenplayBy) The screenwriter of the film.voidThe season information of the TV Show.voidsetSingleLineAddress(String singleLineAddress) The page address, if any, in a simple single line format.voidsetStarring(String starring) The cast of the film.voidsetStartInfo(Page.PageStartInfo startInfo) Information about when the entity represented by the Page was startedvoidsetStoreCode(String storeCode) Unique store code for this location PagevoidsetStoreLocationDescriptor(String storeLocationDescriptor) Location Page's store location descriptorvoidsetStoreNumber(String storeNumber) Unique store number for this location Page.voidThe studio for the film production.voidsetTalkingAboutCount(Long talkingAboutCount) The number of people that are talking about this page (last seven days).voidsetTemporaryStatus(String temporaryStatus) Indicates how the business corresponding to this Page is operating differently than usual.voidsetUnreadMessageCount(Long unreadMessageCount) Unread message count for the Page.voidsetUnreadNotifCount(Long unreadNotifCount) Number of unread notifications.voidsetUnseenMessageCount(Long unseenMessageCount) Unseen message count for the Page.voidsetUserAccessExpireTime(Date userAccessExpireTime) voidsetUsername(String username) The page's username.voidsetVerificationStatus(String verificationStatus) Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verifiedvoidsetVoipInfo(Page.VoipInfo voipInfo) Voip infovoidsetWebsite(String website) The website URLvoidsetWereHereCount(Long wereHereCount) The number of visits to this Page's location.voidsetWhatsappNumber(String whatsappNumber) whatsapp numbervoidsetWrittenBy(String writtenBy) The writer of the TV show.Methods 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.restfb.types.features.HasProfilePicture
convertPicture
-
Constructor Details
-
Page
public Page()
-
-
Method Details
-
getScreenNames
External accounts. Applicable to Pages representing people- Returns:
- the list of screen names
-
addScreenName
-
removeScreenName
-
getCategoryList
the sub category list- Returns:
- the sub category list
- Since:
- 1.6.15
-
addCategory
-
removeCategory
-
getEmails
The emails listed in the About section of a Page.- Returns:
- The emails listed in the About section of a Page
- Since:
- 1.10.0
-
addEmail
-
removeEmail
-
getFoodStyles
The restaurant's food styles. Applicable to Restaurants- Returns:
- The restaurant's food styles
- Since:
- 1.10.0
-
addFoodStyle
-
removeFoodStyle
-
getAdminNotes
Notes of this page- Returns:
- Notes of this page
-
addAdminNote
-
removeAdminNote
-
getLabels
Page labels of this page- Returns:
- labels of this page
-
addLabel
-
removeLabels
-
getInstagramAccounts
Linked Instagram accounts for this Page -
addInstagramAccount
-
removeInstagramAccount
-
addMessengerAdsDefaultIcebreaker
-
removeMessengerAdsDefaultIcebreaker
-
getGlobalBrandChildren
-
addGlobalBrandChildren
-
removeGlobalBrandChildren
-
getMessengerAdsDefaultIcebreakers
-
convertLabels
-
fillProfilePicture
-
graphApi26LikesFallback
-
convertHours
-
getPicture
The page's profile picture, if provided.To force Facebook to fill the
picturefield you have to fetch the page with thefields=pictureparameter, otherwise the picture isnull.- Specified by:
getPicturein interfaceHasProfilePicture- Returns:
- the page's profile picture as ProfilePictureSource object
-
setPicture
The page's profile picture, if provided.To force Facebook to fill the
picturefield you have to fetch the page with thefields=pictureparameter, otherwise the picture isnull. -
getAffiliation
Affiliation of this person. Applicable to Pages representing people- Returns:
- affiliation of this person
- Since:
- 1.10.0
-
setAffiliation
Affiliation of this person. Applicable to Pages representing people- Since:
- 1.10.0
-
getAppId
App ID for app-owned Pages and app Pages.- Returns:
- App ID for app-owned Pages and app Pages
-
setAppId
App ID for app-owned Pages and app Pages. -
getArtistsWeLike
Artists the band likes. Applicable to Bands- Returns:
- artists the band likes
- Since:
- 1.10.0
-
setArtistsWeLike
Artists the band likes. Applicable to Bands- Since:
- 1.10.0
-
getAssetScore
relevance score of an asset.- Returns:
- relevance score of an asset
-
setAssetScore
relevance score of an asset. -
getAttire
Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified- Returns:
- dress code of the business
- Since:
- 1.10.0
-
setAttire
Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified- Since:
- 1.10.0
-
getAwards
The awards information of the film. Applicable to Films- Returns:
- the awards information of the film
- Since:
- 1.10.0
-
setAwards
The awards information of the film. Applicable to Films- Since:
- 1.10.0
-
getBandInterests
Band interests. Applicable to Bands- Returns:
- band interests
- Since:
- 1.10.0
-
setBandInterests
Band interests. Applicable to Bands- Since:
- 1.10.0
-
getBandMembers
Members of the band. Applicable to Bands- Returns:
- members of the band
- Since:
- 1.10.0
-
setBandMembers
Members of the band. Applicable to Bands- Since:
- 1.10.0
-
getBestPage
The best available Page on Facebook for the concept represented by this Page. The best available Page takes into account authenticity and the number of likes- Returns:
- The best available Page on Facebook for the concept represented by this Page
- Since:
- 1.10.0
-
setBestPage
The best available Page on Facebook for the concept represented by this Page. The best available Page takes into account authenticity and the number of likes- Since:
- 1.10.0
-
getContactAddress
The mailing or contact address for this page. This field will be blank if the contact address is the same as the physical address- Returns:
- The mailing or contact address for this page
- Since:
- 1.10.0
-
setContactAddress
The mailing or contact address for this page. This field will be blank if the contact address is the same as the physical address- Since:
- 1.10.0
-
getCountryPageLikes
If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.- Returns:
- If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.
-
setCountryPageLikes
If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. -
getCategory
The Page's category. e.g. Product/Service, Computers/Technology- Overrides:
getCategoryin classCategorizedFacebookType- Returns:
- The Page's category. e.g. Product/Service, Computers/Technology
-
setCategory
The Page's category. e.g. Product/Service, Computers/Technology- Overrides:
setCategoryin classCategorizedFacebookType
-
getBio
Biography of the band. Applicable to Bands- Returns:
- Biography of the band
- Since:
- 1.10.0
-
setBio
Biography of the band. Applicable to Bands- Since:
- 1.10.0
-
getBirthday
Birthday of this person. Applicable to Pages representing people- Returns:
- birthday of this person
- Since:
- 1.10.0
-
setBirthday
Birthday of this person. Applicable to Pages representing people- Since:
- 1.10.0
-
getBuilt
Year vehicle was built. Applicable to Vehicles- Returns:
- Year vehicle was built
- Since:
- 1.10.0
-
setBuilt
Year vehicle was built. Applicable to Vehicles- Since:
- 1.10.0
-
getBusiness
The Business associated with this Page. -
setBusiness
The Business associated with this Page. -
getCulinaryTeam
Culinary team of the business. Applicable to Restaurants or Nightlife- Returns:
- culinary team of the business
- Since:
- 1.10.0
-
setCulinaryTeam
Culinary team of the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getCurrentLocation
Current location of the Page.- Returns:
- current location of the Page
- Since:
- 1.10.0
-
setCurrentLocation
Current location of the Page.- Since:
- 1.10.0
-
getFeatures
Features of the vehicle. Applicable to Vehicles- Returns:
- Features of the vehicle
- Since:
- 1.10.0
-
setFeatures
Features of the vehicle. Applicable to Vehicles- Since:
- 1.10.0
-
getFollowersCount
Number of page followers- Returns:
- Number of page followers
-
setFollowersCount
Number of page followers -
getGlobalBrandPageName
The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin- Returns:
- The name of the Page with country codes appended for Global Brand Pages
- Since:
- 1.10.0
-
setGlobalBrandPageName
The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin- Since:
- 1.10.0
-
getGlobalBrandRootId
This brand's global Root ID.- Returns:
- This brand's global Root ID
-
setGlobalBrandRootId
This brand's global Root ID. -
getGlobalBrandParentPage
This brand's global (parent) Page.- Returns:
- this brand's global (parent) Page
- Since:
- 1.10.0
-
setGlobalBrandParentPage
This brand's global (parent) Page.- Since:
- 1.10.0
-
getHasAddedApp
Indicates whether this Page has added the app making the query in a Page tab.- Returns:
- Indicates whether this Page has added the app making the query in a Page tab
- Since:
- 1.10.0
-
setHasAddedApp
Indicates whether this Page has added the app making the query in a Page tab.- Since:
- 1.10.0
-
getHasWhatsappNumber
has whatsapp number- Returns:
- has whatsapp number
-
setHasWhatsappNumber
has whatsapp number -
getHasWhatsappBusinessNumber
Indicates whether WhatsApp number connected to this page is a WhatsApp business number- Returns:
- Whatsapp business number
-
setHasWhatsappBusinessNumber
Indicates whether WhatsApp number connected to this page is a WhatsApp business number -
getHometown
Hometown of the band. Applicable to Bands- Returns:
- Hometown of the band
- Since:
- 1.10.0
-
setHometown
Hometown of the band. Applicable to Bands- Since:
- 1.10.0
-
getHours
Opening hours- Since:
- 1.10.1
-
setHours
Opening hours- Since:
- 1.10.1
-
getImpressum
Legal information about the Page publishers.- Returns:
- Legal information about the Page publishers
- Since:
- 1.10.0
-
setImpressum
Legal information about the Page publishers.- Since:
- 1.10.0
-
getInfluences
Influences on the band. Applicable to Bands- Returns:
- Influences on the band
- Since:
- 1.10.0
-
setInfluences
Influences on the band. Applicable to Bands- Since:
- 1.10.0
-
getIsPermanentlyClosed
Whether the business corresponding to this Page is permanently closed.- Returns:
- Whether the business corresponding to this Page is permanently closed
- Since:
- 1.10.0
-
setIsPermanentlyClosed
Whether the business corresponding to this Page is permanently closed.- Since:
- 1.10.0
-
getOwnerBusiness
owner business of this object- Returns:
- owner business of this object
-
setOwnerBusiness
owner business of this object -
getOverallStarRating
Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not be returned. -
setOverallStarRating
Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not be returned. -
getRatingCount
Number of ratings for the page (limited to ratings that are publicly accessible -
setRatingCount
Number of ratings for the page (limited to ratings that are publicly accessible -
getRecipient
Messenger page scope id associated with page and a user using account_linking_token- Returns:
- Messenger page scope id associated with page and a user using account_linking_token
-
setRecipient
Messenger page scope id associated with page and a user using account_linking_token -
getPersonalInfo
Personal information. Applicable to Pages representing People- Returns:
- Personal information
- Since:
- 1.10.0
-
setPersonalInfo
Personal information. Applicable to Pages representing People- Since:
- 1.10.0
-
getPaymentOptions
Payment options accepted by the business. Applicable to Restaurants or Nightlife- Returns:
- Payment options accepted by the business
- Since:
- 1.10.0
-
setPaymentOptions
Payment options accepted by the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getPersonalInterests
Personal interests. Applicable to Pages representing People- Returns:
- Personal interests
- Since:
- 1.10.0
-
setPersonalInterests
Personal interests. Applicable to Pages representing People- Since:
- 1.10.0
-
getPharmaSafetyInfo
Pharmacy safety information. Applicable to Pharmaceutical companies- Returns:
- Pharmacy safety information
- Since:
- 1.10.0
-
setPharmaSafetyInfo
Pharmacy safety information. Applicable to Pharmaceutical companies- Since:
- 1.10.0
-
getPlaceType
For places, the category of the place.- Returns:
- For places, the category of the place
-
setPlaceType
For places, the category of the place. -
getPlotOutline
The plot outline of the film. Applicable to Films- Returns:
- The plot outline of the film
- Since:
- 1.10.0
-
setPlotOutline
The plot outline of the film. Applicable to Films- Since:
- 1.10.0
-
getPriceRange
Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ (30-50), $$$$ (50+) or Unspecified- Returns:
- Price range of the business
- Since:
- 1.10.0
-
setPriceRange
Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ (30-50), $$$$ (50+) or Unspecified- Since:
- 1.10.0
-
getProducedBy
The productor of the film. Applicable to Films- Returns:
- The productor of the film
- Since:
- 1.10.0
-
setProducedBy
The productor of the film. Applicable to Films- Since:
- 1.10.0
-
getPromotionEligible
Reason why a post isn't eligible for boosting. Only visible to Page Admins- Returns:
- Reason why a post isn't eligible for boosting
- Since:
- 1.10.0
-
setPromotionEligible
Reason why a post isn't eligible for boosting. Only visible to Page Admins- Since:
- 1.10.0
-
getPromotionIneligibleReason
Reason, for which boosted posts are not eligible. Only visible to a page admin- Returns:
- Reason, for which boosted posts are not eligible
- Since:
- 1.10.0
-
setPromotionIneligibleReason
Reason, for which boosted posts are not eligible. Only visible to a page admin- Since:
- 1.10.0
-
getPublicTransit
Public transit to the business. Applicable to Restaurants or Nightlife- Returns:
- Public transit to the business
- Since:
- 1.10.0
-
setPublicTransit
Public transit to the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getRecordLabel
Record label of the band. Applicable to Bands- Returns:
- Record label of the band
- Since:
- 1.10.0
-
setRecordLabel
Record label of the band. Applicable to Bands- Since:
- 1.10.0
-
getReleaseDate
The film's release date. Applicable to Films- Returns:
- The film's release date
- Since:
- 1.10.0
-
setReleaseDate
The film's release date. Applicable to Films- Since:
- 1.10.0
-
getRestaurantServices
Services the restaurant provides. Applicable to Restaurants- Returns:
- Services the restaurant provides
- Since:
- 1.10.0
-
setRestaurantServices
Services the restaurant provides. Applicable to Restaurants- Since:
- 1.10.0
-
getRestaurantSpecialties
The restaurant's specialties. Applicable to Restaurants- Returns:
- The restaurant's specialties
- Since:
- 1.10.0
-
setRestaurantSpecialties
The restaurant's specialties. Applicable to Restaurants- Since:
- 1.10.0
-
getStoreCode
Unique store code for this location Page -
setStoreCode
Unique store code for this location Page -
getStoreLocationDescriptor
Location Page's store location descriptor -
setStoreLocationDescriptor
Location Page's store location descriptor -
getUserAccessExpireTime
-
setUserAccessExpireTime
-
getGenre
The genre of the film. Applicable to Films- Returns:
- The genre of the film
- Since:
- 1.10.0
-
setGenre
The genre of the film. Applicable to Films- Since:
- 1.10.0
-
getMpg
MPG of the vehicle. Applicable to Vehicles- Returns:
- MPG of the vehicle
- Since:
- 1.10.0
-
setMpg
MPG of the vehicle. Applicable to Vehicles- Since:
- 1.10.0
-
getNetwork
The TV network for the TV show. Applicable to TV Shows- Returns:
- The TV network for the TV show
- Since:
- 1.10.0
-
setNetwork
The TV network for the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getNewLikeCount
The number of people who have liked the Page, since the last login. Only visible to a page admin- Returns:
- The number of people who have liked the Page, since the last login
- Since:
- 1.10.0
-
setNewLikeCount
The number of people who have liked the Page, since the last login. Only visible to a page admin- Since:
- 1.10.0
-
getOfferEligible
Offer eligibility status. Only visible to a page admin- Returns:
- Offer eligibility status
- Since:
- 1.10.0
-
setOfferEligible
Offer eligibility status. Only visible to a page admin- Since:
- 1.10.0
-
getSchedule
The air schedule of the TV show. Applicable to TV Shows- Returns:
- The air schedule of the TV show
- Since:
- 1.10.0
-
setSchedule
The air schedule of the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getScreenplayBy
The screenwriter of the film. Applicable to Films- Returns:
- The screenwriter of the film
- Since:
- 1.10.0
-
setScreenplayBy
The screenwriter of the film. Applicable to Films- Since:
- 1.10.0
-
getSeason
The season information of the TV Show. Applicable to TV Shows- Returns:
- The season information of the TV Show
- Since:
- 1.10.0
-
setSeason
The season information of the TV Show. Applicable to TV Shows- Since:
- 1.10.0
-
getSingleLineAddress
The page address, if any, in a simple single line format.- Returns:
- The page address, if any, in a simple single line format
-
setSingleLineAddress
The page address, if any, in a simple single line format. -
getStarring
The cast of the film. Applicable to Films- Returns:
- The cast of the film
- Since:
- 1.10.0
-
setStarring
The cast of the film. Applicable to Films- Since:
- 1.10.0
-
getStartInfo
Information about when the entity represented by the Page was started- Returns:
- Information about when the entity represented by the Page was started
- Since:
- 1.10.0
-
setStartInfo
Information about when the entity represented by the Page was started- Since:
- 1.10.0
-
getStoreNumber
Unique store number for this location Page.- Returns:
- Unique store number for this location Page
- Since:
- 1.10.0
-
setStoreNumber
Unique store number for this location Page.- Since:
- 1.10.0
-
getStudio
The studio for the film production. Applicable to Films- Returns:
- The studio for the film production
- Since:
- 1.10.0
-
setStudio
The studio for the film production. Applicable to Films- Since:
- 1.10.0
-
getTemporaryStatus
Indicates how the business corresponding to this Page is operating differently than usual. Possible values:- differently_open
- temporarily_closed
- operating_as_usual
- no_data
-
setTemporaryStatus
Indicates how the business corresponding to this Page is operating differently than usual. Possible values:- differently_open
- temporarily_closed
- operating_as_usual
- no_data
-
getEngagement
The social sentence and like count information for this Page. This is the same info used for the like button- Returns:
- The social sentence and like count information for this Page
- Since:
- 1.10.0
-
setEngagement
The social sentence and like count information for this Page. This is the same info used for the like button- Since:
- 1.10.0
-
getUnreadMessageCount
Unread message count for the Page. Only visible to a page admin- Returns:
- Unread message count for the Page
- Since:
- 1.10.0
-
setUnreadMessageCount
Unread message count for the Page. Only visible to a page admin- Since:
- 1.10.0
-
getUnreadNotifCount
Number of unread notifications. Only visible to a page admin- Returns:
- Number of unread notifications
- Since:
- 1.10.0
-
setUnreadNotifCount
Number of unread notifications. Only visible to a page admin- Since:
- 1.10.0
-
getUnseenMessageCount
Unseen message count for the Page. Only visible to a page admin- Returns:
- Unseen message count for the Page
- Since:
- 1.10.0
-
setUnseenMessageCount
Unseen message count for the Page. Only visible to a page admin- Since:
- 1.10.0
-
getMembers
Members of this org. Applicable to Pages representing Team Orgs- Returns:
- Members of this org
- Since:
- 1.10.0
-
setMembers
Members of this org. Applicable to Pages representing Team Orgs- Since:
- 1.10.0
-
getWereHereCount
The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled- Returns:
- The number of visits to this Page's location
- Since:
- 1.10.0
-
setWereHereCount
The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled- Since:
- 1.10.0
-
getFeaturedVideo
Video Featured by the Page. Only visible to the Page admin- Returns:
- Video Featured by the Page
- Since:
- 1.10.0
-
setFeaturedVideo
Video Featured by the Page. Only visible to the Page admin- Since:
- 1.10.0
-
getVerificationStatus
Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified- Returns:
- Showing whether this Page is verified and in what color
-
setVerificationStatus
Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified -
getVoipInfo
Voip info- Returns:
- Voip info
- Since:
- 1.10.0
-
setVoipInfo
Voip info- Since:
- 1.10.0
-
getWrittenBy
The writer of the TV show. Applicable to TV Shows- Returns:
- The writer of the TV show
- Since:
- 1.10.0
-
setWrittenBy
The writer of the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getWhatsappNumber
whatsapp number- Returns:
- whatsapp number
-
setWhatsappNumber
whatsapp number -
getLink
The page's link.- Returns:
- The page's link.
-
setLink
The page's link. -
getUsername
The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform'- Returns:
- The page's username.
-
setUsername
The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform' -
getFounded
When the page was founded.- Returns:
- When the page was founded.
-
setFounded
When the page was founded. -
getCompanyOverview
Overview of the page's company.- Returns:
- Overview of the page's company.
-
setCompanyOverview
Overview of the page's company. -
getMission
The company mission. Applicable to Companies- Returns:
- The page's mission.
-
setMission
The company mission. Applicable to Companies -
getProducts
The page's products.- Returns:
- The page's products.
-
setProducts
The page's products. -
getPageToken
-
setPageToken
-
getParentPage
Parent Page of this Page.If the Page is part of a Global Root Structure and you have permission to the Global Root, the Global Root Parent Page is returned. If you do not have Global Root permission, the Market Page for your current region is returned as the Parent Page.
If your Page is not part of a Global Root Structure, the Parent Page is returned.
- Returns:
- parent page of this page
-
setParentPage
Parent Page of this Page.If the Page is part of a Global Root Structure and you have permission to the Global Root, the Global Root Parent Page is returned. If you do not have Global Root permission, the Market Page for your current region is returned as the Parent Page.
If your Page is not part of a Global Root Structure, the Parent Page is returned.
-
getPrivacyInfoUrl
Privacy url in page info section- Returns:
- Privacy url in page info section
-
setPrivacyInfoUrl
Privacy url in page info section -
getLeadgenTosAccepted
Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.- Returns:
- Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page
-
setLeadgenTosAccepted
Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page. -
getLikesCount
The number of likes the page has.Since Graph 2.6 you should use
fanCountinstead- Returns:
- The number of likes the page has
- Since:
- 1.6.5
-
setLikesCount
The number of likes the page has.Since Graph 2.6 you should use
fanCountinstead- Since:
- 1.6.5
-
getLikes
The Pages that this Page Likes.- Returns:
- The Pages that this Page Likes.
-
setLikes
The Pages that this Page Likes. -
getFanCount
The number of likes the page has.- Returns:
- The number of likes the page has
-
setFanCount
The number of likes the page has. -
getIsAlwaysOpen
Indicates whether this location is always open.- Returns:
- Indicates whether this location is always open
-
setIsAlwaysOpen
Indicates whether this location is always open. -
getIsChain
Indicates whether location is part of a chain- Returns:
- Indicates whether location is part of a chain
-
setIsChain
Indicates whether location is part of a chain -
getIsCommunityPage
Is this a community page?- Returns:
- Is this a community page?
-
setIsCommunityPage
Is this a community page? -
getIsEligibleForBrandedContent
Indicates whether the page is eligible for the branded content tool- Returns:
- is eligible for the branded content tool
-
setIsEligibleForBrandedContent
Indicates whether the page is eligible for the branded content tool -
getIsMessengerBotGetStartedEnabled
Indicates whether the page is a Messenger Platform Bot with Get Started button enabled- Returns:
- is a Messenger Platform Bot with Get Started button enabled
-
setIsMessengerBotGetStartedEnabled
Indicates whether the page is a Messenger Platform Bot with Get Started button enabled -
getIsMessengerPlatformBot
Indicates whether the page is a Messenger Platform Bot- Returns:
- Indicates whether the page is a Messenger Platform Bot
-
setIsMessengerPlatformBot
Indicates whether the page is a Messenger Platform Bot -
getIsOwned
Indicates whether page is owned- Returns:
- Indicates whether page is owned
-
setIsOwned
Indicates whether page is owned -
getDescription
A description of this page.- Returns:
- A description of this page.
-
setDescription
A description of this page. -
getDescriptionHtml
The description of the Page in raw HTML.- Returns:
- The description of the Page in raw HTML
- Since:
- 1.10.0
-
setDescriptionHtml
The description of the Page in raw HTML.- Since:
- 1.10.0
-
getCheckins
The total number of users who have checked in to the Page.- Returns:
- The total number of users who have checked in to the Page.
-
setCheckins
The total number of users who have checked in to the Page. -
getPhone
The phone number (not always normalized for country code) for the Page.- Returns:
- The phone number (not always normalized for country code) for the Page.
-
setPhone
The phone number (not always normalized for country code) for the Page. -
getParking
Parking information. Applicable to Businesses and Places- Returns:
- Parking information. Applicable to Businesses and Places
-
setParking
Parking information. Applicable to Businesses and Places -
getAccessToken
An adminaccess_tokenfor this page.The current user must be an administrator of this page; only returned if specifically requested via the fields URL parameter, e.g.
facebookClient.fetchObject("123", Page.class, Parameter.with("fields","access_token"))- Returns:
- The access token specific to this page.
- Since:
- 1.6.5
-
setAccessToken
An adminaccess_tokenfor this page.The current user must be an administrator of this page; only returned if specifically requested via the fields URL parameter, e.g.
facebookClient.fetchObject("123", Page.class, Parameter.with("fields","access_token"))- Since:
- 1.6.5
-
getAbout
General information about this page.- Returns:
- General information about this page.
- Since:
- 1.6.10
-
setAbout
General information about this page.- Since:
- 1.6.10
-
getTalkingAboutCount
The number of people that are talking about this page (last seven days).- Returns:
- The number of people that are talking about this page (last seven days).
- Since:
- 1.6.10
-
setTalkingAboutCount
The number of people that are talking about this page (last seven days).- Since:
- 1.6.10
-
getCanCheckin
Whether this page has check in functionality enabled.- Returns:
- Whether this page has check in functionality enabled
-
setCanCheckin
Whether this page has check in functionality enabled. -
getCanPost
Indicates whether the current session user can post on this page.- Returns:
- Whether the current session user can post on this page.
- Since:
- 1.6.10
-
setCanPost
Indicates whether the current session user can post on this page.- Since:
- 1.6.10
-
getIsPublished
Indicates whether the page is published and visible to non-admins.- Returns:
- Whether the page is published and visible to non-admins.
- Since:
- 1.6.10
-
setIsPublished
Indicates whether the page is published and visible to non-admins.- Since:
- 1.6.10
-
getIsUnclaimed
Indicates whether the Page is unclaimed.- Returns:
- Indicates whether the Page is unclaimed.
- Since:
- 1.7.0
-
setIsUnclaimed
Indicates whether the Page is unclaimed.- Since:
- 1.7.0
-
getIsWebhooksSubscribed
Indicates whether the application is subscribed for real time updates from this page- Returns:
- Indicates whether the application is subscribed for real time updates from this page
-
setIsWebhooksSubscribed
Indicates whether the application is subscribed for real time updates from this page -
getLeadgenTosAcceptanceTime
Indicates the time when the TOS for running LeadGen Ads on the page was accepted -
setLeadgenTosAcceptanceTime
Indicates the time when the TOS for running LeadGen Ads on the page was accepted -
getLeadgenTosAcceptingUser
Indicates the user who accepted the TOS for running LeadGen Ads on the page -
setLeadgenTosAcceptingUser
Indicates the user who accepted the TOS for running LeadGen Ads on the page -
getDirectedBy
The director of the film. Applicable to Films.- Returns:
- The director of the film
- Since:
- 1.7.0
-
setDirectedBy
The director of the film. Applicable to Films.- Since:
- 1.7.0
-
getDisplaySubtext
Subtext about the Page being viewed.- Returns:
- Subtext about the Page being viewed
-
setDisplaySubtext
Subtext about the Page being viewed. -
getDisplayedMessageResponseTime
Page estimated message response time displayed to user- Returns:
- Page estimated message response time displayed to user
-
setDisplayedMessageResponseTime
Page estimated message response time displayed to user -
getGeneralManager
General manager of the business. Applicable to Restaurants or Nightlife.- Returns:
- General manager of the business.
- Since:
- 1.7.0
-
setGeneralManager
General manager of the business. Applicable to Restaurants or Nightlife.- Since:
- 1.7.0
-
getGeneralInfo
The general information for a page.- Returns:
- The general information for a page.
- Since:
- 1.6.12
-
setGeneralInfo
The general information for a page.- Since:
- 1.6.12
-
getLocation
The location of the place this page represents.- Returns:
- The location of the place this page represents.
-
setLocation
The location of the place this page represents. -
getMerchantId
The instant workflow merchant id associated with the Page- Returns:
- The instant workflow merchant id associated with the Page
-
setMerchantId
The instant workflow merchant id associated with the Page -
getMerchantReviewStatus
Review status of the Page against FB commerce policies, this status decides whether the Page can use component flow -
setMerchantReviewStatus
Review status of the Page against FB commerce policies, this status decides whether the Page can use component flow -
getCover
The cover photo.- Returns:
- The cover photo.
- Since:
- 1.6.10
-
setCover
The cover photo.- Since:
- 1.6.10
-
getWebsite
The website URL- Returns:
- the website url
- Since:
- 1.6.15
-
setWebsite
The website URL- Since:
- 1.6.15
-
getNameWithLocationDescriptor
The name of a Location Page that provides additional location information for that Page beside its name.- Returns:
- the name of Location Page
- Since:
- 1.7.0
-
setNameWithLocationDescriptor
The name of a Location Page that provides additional location information for that Page beside its name.- Since:
- 1.7.0
-
getBookingAgent
Booking agent of the band. Applicable to Bands.- Returns:
- Booking agent of the band
- Since:
- 1.7.0
-
setBookingAgent
Booking agent of the band. Applicable to Bands.- Since:
- 1.7.0
-
getPressContact
Press contact information of the band. Applicable to Bands.- Returns:
- Press contact information of the band
- Since:
- 1.7.0
-
setPressContact
Press contact information of the band. Applicable to Bands.- Since:
- 1.7.0
-
getConnectedInstagramAccount
Instagram account connected to page via page settings -
setConnectedInstagramAccount
Instagram account connected to page via page settings -
getInstagramBusinessAccount
Instagram account linked to page during Instagram business conversion flow -
setInstagramBusinessAccount
Instagram account linked to page during Instagram business conversion flow -
getInstantArticlesReviewStatus
Indicates the current Instant Articles review status for this page- Returns:
- Indicates the current Instant Articles review status for this page
-
setInstantArticlesReviewStatus
Indicates the current Instant Articles review status for this page -
getLastUsedTime
last used time of this object by the current viewer- Returns:
- last used time of this object by the current viewer
-
setLastUsedTime
last used time of this object by the current viewer -
getInsights
This Page's Insights data -
setInsights
This Page's Insights data -
getGroups
groups -
setGroups
groups -
getHasTransitionedToNewPageExperience
Indicates whether a page has transitioned to new page experience or not -
setHasTransitionedToNewPageExperience
Indicates whether a page has transitioned to new page experience or not
-