Class Page
- All Implemented Interfaces:
HasProfilePicture
,Serializable
- Direct Known Subclasses:
Account
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the Cover Graph API type.static class
Represents the Page Engagement Graph API type.static class
static class
Parking options for a Page.static class
Represents the Page Payment Options Graph API type.static class
Represents the Page Restaurant Services Graph API type.static class
Represents the Page Restaurant Specialties Graph API type.static class
static class
Represents the Page Start Info Graph API type.static class
static class
Represents the Page Settings Graph API type.static class
Represents the VOIP Info Graph API type.Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAdminNote
(PageAdminNote adminNote) boolean
addCategory
(Category category) boolean
boolean
addFoodStyle
(String foodStyle) boolean
addInstagramAccount
(InstagramUser igUser) boolean
boolean
addMessengerAdsDefaultIcebreaker
(String icebreaker) boolean
addScreenName
(Page.ScreenName screenName) protected void
protected void
convertLabels
(JsonMapper jsonMapper) protected void
fillProfilePicture
(JsonMapper jsonMapper) getAbout()
General information about this page.An adminaccess_token
for 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 void
boolean
removeAdminNote
(PageAdminNote adminNote) boolean
removeCategory
(Category category) boolean
removeEmail
(String email) boolean
removeFoodStyle
(String foodStyle) boolean
removeInstagramAccount
(InstagramUser igUser) boolean
removeLabels
(PageLabel label) boolean
removeMessengerAdsDefaultIcebreaker
(String icebreaker) boolean
removeScreenName
(Page.ScreenName screenName) void
General information about this page.void
setAccessToken
(String accessToken) An adminaccess_token
for this page.void
setAffiliation
(String affiliation) Affiliation of this person.void
App ID for app-owned Pages and app Pages.void
setArtistsWeLike
(String artistsWeLike) Artists the band likes.void
setAssetScore
(Double assetScore) relevance score of an asset.void
Dress code of the business.void
The awards information of the film.void
setBandInterests
(String bandInterests) Band interests.void
setBandMembers
(String bandMembers) Members of the band.void
setBestPage
(Page bestPage) The best available Page on Facebook for the concept represented by this Page.void
Biography of the band.void
setBirthday
(String birthday) Birthday of this person.void
setBookingAgent
(String bookingAgent) Booking agent of the band.void
Year vehicle was built.void
setBusiness
(Business business) The Business associated with this Page.void
setCanCheckin
(Boolean canCheckin) Whether this page has check in functionality enabled.void
setCanPost
(Boolean canPost) Indicates whether the current session user can post on this page.void
setCategory
(String category) The Page's category. e.g.void
setCheckins
(Integer checkins) The total number of users who have checked in to the Page.void
setCompanyOverview
(String companyOverview) Overview of the page's company.void
setConnectedInstagramAccount
(IgUser connectedInstagramAccount) Instagram account connected to page via page settingsvoid
setContactAddress
(Page.MailingAddress contactAddress) The mailing or contact address for this page.void
setCountryPageLikes
(Integer countryPageLikes) If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.void
setCover
(Page.Cover cover) The cover photo.void
setCulinaryTeam
(String culinaryTeam) Culinary team of the business.void
setCurrentLocation
(String currentLocation) Current location of the Page.void
setDescription
(String description) A description of this page.void
setDescriptionHtml
(String descriptionHtml) The description of the Page in raw HTML.void
setDirectedBy
(String directedBy) The director of the film.void
setDisplayedMessageResponseTime
(String displayedMessageResponseTime) Page estimated message response time displayed to uservoid
setDisplaySubtext
(String displaySubtext) Subtext about the Page being viewed.void
setEngagement
(Page.Engagement engagement) The social sentence and like count information for this Page.void
setFanCount
(Long fanCount) The number of likes the page has.void
setFeaturedVideo
(Video featuredVideo) Video Featured by the Page.void
setFeatures
(String features) Features of the vehicle.void
setFollowersCount
(Long followersCount) Number of page followersvoid
setFounded
(String founded) When the page was founded.void
setGeneralInfo
(String generalInfo) The general information for a page.void
setGeneralManager
(String generalManager) General manager of the business.void
The genre of the film.void
setGlobalBrandPageName
(String globalBrandPageName) The name of the Page with country codes appended for Global Brand Pages.void
setGlobalBrandParentPage
(Page globalBrandParentPage) This brand's global (parent) Page.void
setGlobalBrandRootId
(String globalBrandRootId) This brand's global Root ID.void
setGroups
(Connection<Group> groups) groupsvoid
setHasAddedApp
(Boolean hasAddedApp) Indicates whether this Page has added the app making the query in a Page tab.void
setHasTransitionedToNewPageExperience
(Boolean hasTransitionedToNewPageExperience) Indicates whether a page has transitioned to new page experience or notvoid
setHasWhatsappBusinessNumber
(Boolean hasWhatsappBusinessNumber) Indicates whether WhatsApp number connected to this page is a WhatsApp business numbervoid
setHasWhatsappNumber
(Boolean hasWhatsappNumber) has whatsapp numbervoid
setHometown
(String hometown) Hometown of the band.void
Opening hoursvoid
setImpressum
(String impressum) Legal information about the Page publishers.void
setInfluences
(String influences) Influences on the band.void
setInsights
(Connection<Insight> insights) This Page's Insights datavoid
setInstagramBusinessAccount
(IgUser instagramBusinessAccount) Instagram account linked to page during Instagram business conversion flowvoid
setInstantArticlesReviewStatus
(String instantArticlesReviewStatus) Indicates the current Instant Articles review status for this pagevoid
setIsAlwaysOpen
(Boolean isAlwaysOpen) Indicates whether this location is always open.void
setIsChain
(Boolean isChain) Indicates whether location is part of a chainvoid
setIsCommunityPage
(Boolean isCommunityPage) Is this a community page?void
setIsEligibleForBrandedContent
(Boolean isEligibleForBrandedContent) Indicates whether the page is eligible for the branded content toolvoid
setIsMessengerBotGetStartedEnabled
(Boolean isMessengerBotGetStartedEnabled) Indicates whether the page is a Messenger Platform Bot with Get Started button enabledvoid
setIsMessengerPlatformBot
(Boolean isMessengerPlatformBot) Indicates whether the page is a Messenger Platform Botvoid
setIsOwned
(Boolean isOwned) Indicates whether page is ownedvoid
setIsPermanentlyClosed
(Boolean isPermanentlyClosed) Whether the business corresponding to this Page is permanently closed.void
setIsPublished
(Boolean isPublished) Indicates whether the page is published and visible to non-admins.void
setIsUnclaimed
(Boolean isUnclaimed) Indicates whether the Page is unclaimed.void
setIsWebhooksSubscribed
(Boolean isWebhooksSubscribed) Indicates whether the application is subscribed for real time updates from this pagevoid
setLastUsedTime
(Date lastUsedTime) last used time of this object by the current viewervoid
setLeadgenTosAcceptanceTime
(Date leadgenTosAcceptanceTime) Indicates the time when the TOS for running LeadGen Ads on the page was acceptedvoid
setLeadgenTosAccepted
(Boolean leadgenTosAccepted) Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.void
setLeadgenTosAcceptingUser
(User leadgenTosAcceptingUser) Indicates the user who accepted the TOS for running LeadGen Ads on the pagevoid
The Pages that this Page Likes.void
setLikesCount
(Long likesCount) The number of likes the page has.void
The page's link.void
setLocation
(Location location) The location of the place this page represents.void
setMembers
(String members) Members of this org.void
setMerchantId
(String merchantId) The instant workflow merchant id associated with the Pagevoid
setMerchantReviewStatus
(String merchantReviewStatus) Review status of the Page against FB commerce policies, this status decides whether the Page can use component flowvoid
setMission
(String mission) The company mission.void
MPG of the vehicle.void
setNameWithLocationDescriptor
(String nameWithLocationDescriptor) The name of a Location Page that provides additional location information for that Page beside its name.void
setNetwork
(String network) The TV network for the TV show.void
setNewLikeCount
(Long newLikeCount) The number of people who have liked the Page, since the last login.void
setOfferEligible
(Boolean offerEligible) Offer eligibility status.void
setOverallStarRating
(Double overallStarRating) Overall page rating based on rating survey from users on a scale of 1-5.void
setOwnerBusiness
(Business ownerBusiness) owner business of this objectvoid
setPageToken
(String pageToken) void
setParentPage
(Page parentPage) Parent Page of this Page.void
setParking
(Page.PageParking parking) Parking information.void
setPaymentOptions
(Page.PagePaymentOptions paymentOptions) Payment options accepted by the business.void
setPersonalInfo
(String personalInfo) Personal information.void
setPersonalInterests
(String personalInterests) Personal interests.void
setPharmaSafetyInfo
(String pharmaSafetyInfo) Pharmacy safety information.void
The phone number (not always normalized for country code) for the Page.void
setPicture
(ProfilePictureSource picture) The page's profile picture, if provided.void
setPlaceType
(String placeType) For places, the category of the place.void
setPlotOutline
(String plotOutline) The plot outline of the film.void
setPressContact
(String pressContact) Press contact information of the band.void
setPriceRange
(String priceRange) Price range of the business.void
setPrivacyInfoUrl
(String privacyInfoUrl) Privacy url in page info sectionvoid
setProducedBy
(String producedBy) The productor of the film.void
setProducts
(String products) The page's products.void
setPromotionEligible
(Boolean promotionEligible) Reason why a post isn't eligible for boosting.void
setPromotionIneligibleReason
(String promotionIneligibleReason) Reason, for which boosted posts are not eligible.void
setPublicTransit
(String publicTransit) Public transit to the business.void
setRatingCount
(Integer ratingCount) Number of ratings for the page (limited to ratings that are publicly accessiblevoid
setRecipient
(String recipient) Messenger page scope id associated with page and a user using account_linking_tokenvoid
setRecordLabel
(String recordLabel) Record label of the band.void
setReleaseDate
(String releaseDate) The film's release date.void
setRestaurantServices
(Page.PageRestaurantServices restaurantServices) Services the restaurant provides.void
setRestaurantSpecialties
(Page.PageRestaurantSpecialties restaurantSpecialties) The restaurant's specialties.void
setSchedule
(String schedule) The air schedule of the TV show.void
setScreenplayBy
(String screenplayBy) The screenwriter of the film.void
The season information of the TV Show.void
setSingleLineAddress
(String singleLineAddress) The page address, if any, in a simple single line format.void
setStarring
(String starring) The cast of the film.void
setStartInfo
(Page.PageStartInfo startInfo) Information about when the entity represented by the Page was startedvoid
setStoreCode
(String storeCode) Unique store code for this location Pagevoid
setStoreLocationDescriptor
(String storeLocationDescriptor) Location Page's store location descriptorvoid
setStoreNumber
(String storeNumber) Unique store number for this location Page.void
The studio for the film production.void
setTalkingAboutCount
(Long talkingAboutCount) The number of people that are talking about this page (last seven days).void
setTemporaryStatus
(String temporaryStatus) Indicates how the business corresponding to this Page is operating differently than usual.void
setUnreadMessageCount
(Long unreadMessageCount) Unread message count for the Page.void
setUnreadNotifCount
(Long unreadNotifCount) Number of unread notifications.void
setUnseenMessageCount
(Long unseenMessageCount) Unseen message count for the Page.void
setUserAccessExpireTime
(Date userAccessExpireTime) void
setUsername
(String username) The page's username.void
setVerificationStatus
(String verificationStatus) Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verifiedvoid
setVoipInfo
(Page.VoipInfo voipInfo) Voip infovoid
setWebsite
(String website) The website URLvoid
setWereHereCount
(Long wereHereCount) The number of visits to this Page's location.void
setWhatsappNumber
(String whatsappNumber) whatsapp numbervoid
setWrittenBy
(String writtenBy) The writer of the TV show.Methods 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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-
getMessengerAdsDefaultIcebreakers
-
convertLabels
-
fillProfilePicture
-
graphApi26LikesFallback
-
convertHours
-
getPicture
The page's profile picture, if provided.To force Facebook to fill the
picture
field you have to fetch the page with thefields=picture
parameter, otherwise the picture isnull
.- Specified by:
getPicture
in interfaceHasProfilePicture
- Returns:
- the page's profile picture as ProfilePictureSource object
-
setPicture
The page's profile picture, if provided.To force Facebook to fill the
picture
field you have to fetch the page with thefields=picture
parameter, 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:
getCategory
in classCategorizedFacebookType
- Returns:
- The Page's category. e.g. Product/Service, Computers/Technology
-
setCategory
The Page's category. e.g. Product/Service, Computers/Technology- Overrides:
setCategory
in 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
fanCount
instead- 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
fanCount
instead- 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_token
for 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_token
for 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
-