Class Page
-
- All Implemented Interfaces:
HasProfilePicture
,Serializable
- Direct Known Subclasses:
Account
public class Page extends CategorizedFacebookType implements HasProfilePicture
Represents the Page Graph API type.- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Page.Cover
Represents the Cover Graph API type.static class
Page.Engagement
Represents the Page Engagement Graph API type.static class
Page.MailingAddress
static class
Page.PageParking
Parking options for a Page.static class
Page.PagePaymentOptions
Represents the Page Payment Options Graph API type.static class
Page.PageRestaurantServices
Represents the Page Restaurant Services Graph API type.static class
Page.PageRestaurantSpecialties
Represents the Page Restaurant Specialties Graph API type.static class
Page.PageStartDate
static class
Page.PageStartInfo
Represents the Page Start Info Graph API type.static class
Page.ScreenName
static class
Page.Settings
Represents the Page Settings Graph API type.static class
Page.VoipInfo
Represents the VOIP Info Graph API type.-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAdminNote(PageAdminNote adminNote)
boolean
addCategory(Category category)
boolean
addEmail(String email)
boolean
addFoodStyle(String foodStyle)
boolean
addInstagramAccount(InstagramUser igUser)
boolean
addLabel(PageLabel label)
boolean
addMessengerAdsDefaultIcebreaker(String icebreaker)
boolean
addScreenName(Page.ScreenName screenName)
protected void
convertHours()
protected void
convertLabels(JsonMapper jsonMapper)
protected void
fillProfilePicture(JsonMapper jsonMapper)
String
getAbout()
General information about this page.String
getAccessToken()
An adminaccess_token
for this page.List<PageAdminNote>
getAdminNotes()
Notes of this pageString
getAffiliation()
Affiliation of this person.String
getAppId()
App ID for app-owned Pages and app Pages.String
getArtistsWeLike()
Artists the band likes.Double
getAssetScore()
relevance score of an asset.String
getAttire()
Dress code of the business.String
getAwards()
The awards information of the film.String
getBandInterests()
Band interests.String
getBandMembers()
Members of the band.Page
getBestPage()
The best available Page on Facebook for the concept represented by this Page.String
getBio()
Biography of the band.String
getBirthday()
Birthday of this person.String
getBookingAgent()
Booking agent of the band.String
getBuilt()
Year vehicle was built.Business
getBusiness()
The Business associated with this Page.Boolean
getCanCheckin()
Whether this page has check in functionality enabled.Boolean
getCanPost()
Indicates whether the current session user can post on this page.String
getCategory()
The Page's category. e.g.List<Category>
getCategoryList()
the sub category listInteger
getCheckins()
The total number of users who have checked in to the Page.String
getCompanyOverview()
Overview of the page's company.IgUser
getConnectedInstagramAccount()
Instagram account connected to page via page settingsPage.MailingAddress
getContactAddress()
The mailing or contact address for this page.Integer
getCountryPageLikes()
If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.Page.Cover
getCover()
The cover photo.String
getCulinaryTeam()
Culinary team of the business.String
getCurrentLocation()
Current location of the Page.String
getDescription()
A description of this page.String
getDescriptionHtml()
The description of the Page in raw HTML.String
getDirectedBy()
The director of the film.String
getDisplayedMessageResponseTime()
Page estimated message response time displayed to userString
getDisplaySubtext()
Subtext about the Page being viewed.List<String>
getEmails()
The emails listed in the About section of a Page.Page.Engagement
getEngagement()
The social sentence and like count information for this Page.Long
getFanCount()
The number of likes the page has.Video
getFeaturedVideo()
Video Featured by the Page.String
getFeatures()
Features of the vehicle.Long
getFollowersCount()
Number of page followersList<String>
getFoodStyles()
The restaurant's food styles.String
getFounded()
When the page was founded.String
getGeneralInfo()
The general information for a page.String
getGeneralManager()
General manager of the business.String
getGenre()
The genre of the film.String
getGlobalBrandPageName()
The name of the Page with country codes appended for Global Brand Pages.Page
getGlobalBrandParentPage()
This brand's global (parent) Page.String
getGlobalBrandRootId()
This brand's global Root ID.Connection<Group>
getGroups()
groupsBoolean
getHasAddedApp()
Indicates whether this Page has added the app making the query in a Page tab.Boolean
getHasTransitionedToNewPageExperience()
Indicates whether a page has transitioned to new page experience or notBoolean
getHasWhatsappBusinessNumber()
Indicates whether WhatsApp number connected to this page is a WhatsApp business numberBoolean
getHasWhatsappNumber()
has whatsapp numberString
getHometown()
Hometown of the band.Hours
getHours()
Opening hoursString
getImpressum()
Legal information about the Page publishers.String
getInfluences()
Influences on the band.Connection<Insight>
getInsights()
This Page's Insights dataList<InstagramUser>
getInstagramAccounts()
Linked Instagram accounts for this PageIgUser
getInstagramBusinessAccount()
Instagram account linked to page during Instagram business conversion flowString
getInstantArticlesReviewStatus()
Indicates the current Instant Articles review status for this pageBoolean
getIsAlwaysOpen()
Indicates whether this location is always open.Boolean
getIsChain()
Indicates whether location is part of a chainBoolean
getIsCommunityPage()
Is this a community page?Boolean
getIsEligibleForBrandedContent()
Indicates whether the page is eligible for the branded content toolBoolean
getIsMessengerBotGetStartedEnabled()
Indicates whether the page is a Messenger Platform Bot with Get Started button enabledBoolean
getIsMessengerPlatformBot()
Indicates whether the page is a Messenger Platform BotBoolean
getIsOwned()
Indicates whether page is ownedBoolean
getIsPermanentlyClosed()
Whether the business corresponding to this Page is permanently closed.Boolean
getIsPublished()
Indicates whether the page is published and visible to non-admins.Boolean
getIsUnclaimed()
Indicates whether the Page is unclaimed.Boolean
getIsWebhooksSubscribed()
Indicates whether the application is subscribed for real time updates from this pageList<PageLabel>
getLabels()
Page labels of this pageDate
getLastUsedTime()
last used time of this object by the current viewerDate
getLeadgenTosAcceptanceTime()
Indicates the time when the TOS for running LeadGen Ads on the page was acceptedBoolean
getLeadgenTosAccepted()
Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.User
getLeadgenTosAcceptingUser()
Indicates the user who accepted the TOS for running LeadGen Ads on the pageLikes
getLikes()
The Pages that this Page Likes.Long
getLikesCount()
The number of likes the page has.String
getLink()
The page's link.Location
getLocation()
The location of the place this page represents.String
getMembers()
Members of this org.String
getMerchantId()
The instant workflow merchant id associated with the PageString
getMerchantReviewStatus()
Review status of the Page against FB commerce policies, this status decides whether the Page can use component flowList<String>
getMessengerAdsDefaultIcebreakers()
String
getMission()
The company mission.String
getMpg()
MPG of the vehicle.String
getNameWithLocationDescriptor()
The name of a Location Page that provides additional location information for that Page beside its name.String
getNetwork()
The TV network for the TV show.Long
getNewLikeCount()
The number of people who have liked the Page, since the last login.Boolean
getOfferEligible()
Offer eligibility status.Double
getOverallStarRating()
Overall page rating based on rating survey from users on a scale of 1-5.Business
getOwnerBusiness()
owner business of this objectString
getPageToken()
Page
getParentPage()
Parent Page of this Page.Page.PageParking
getParking()
Parking information.Page.PagePaymentOptions
getPaymentOptions()
Payment options accepted by the business.String
getPersonalInfo()
Personal information.String
getPersonalInterests()
Personal interests.String
getPharmaSafetyInfo()
Pharmacy safety information.String
getPhone()
The phone number (not always normalized for country code) for the Page.ProfilePictureSource
getPicture()
The page's profile picture, if provided.String
getPlaceType()
For places, the category of the place.String
getPlotOutline()
The plot outline of the film.String
getPressContact()
Press contact information of the band.String
getPriceRange()
Price range of the business.String
getPrivacyInfoUrl()
Privacy url in page info sectionString
getProducedBy()
The productor of the film.String
getProducts()
The page's products.Boolean
getPromotionEligible()
Reason why a post isn't eligible for boosting.String
getPromotionIneligibleReason()
Reason, for which boosted posts are not eligible.String
getPublicTransit()
Public transit to the business.Integer
getRatingCount()
Number of ratings for the page (limited to ratings that are publicly accessibleString
getRecipient()
Messenger page scope id associated with page and a user using account_linking_tokenString
getRecordLabel()
Record label of the band.String
getReleaseDate()
The film's release date.Page.PageRestaurantServices
getRestaurantServices()
Services the restaurant provides.Page.PageRestaurantSpecialties
getRestaurantSpecialties()
The restaurant's specialties.String
getSchedule()
The air schedule of the TV show.List<Page.ScreenName>
getScreenNames()
External accounts.String
getScreenplayBy()
The screenwriter of the film.String
getSeason()
The season information of the TV Show.String
getSingleLineAddress()
The page address, if any, in a simple single line format.String
getStarring()
The cast of the film.Page.PageStartInfo
getStartInfo()
Information about when the entity represented by the Page was startedString
getStoreCode()
Unique store code for this location PageString
getStoreLocationDescriptor()
Location Page's store location descriptorString
getStoreNumber()
Unique store number for this location Page.String
getStudio()
The studio for the film production.Long
getTalkingAboutCount()
The number of people that are talking about this page (last seven days).String
getTemporaryStatus()
Indicates how the business corresponding to this Page is operating differently than usual.Long
getUnreadMessageCount()
Unread message count for the Page.Long
getUnreadNotifCount()
Number of unread notifications.Long
getUnseenMessageCount()
Unseen message count for the Page.Date
getUserAccessExpireTime()
String
getUsername()
The page's username.String
getVerificationStatus()
Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verifiedPage.VoipInfo
getVoipInfo()
Voip infoString
getWebsite()
The website URLLong
getWereHereCount()
The number of visits to this Page's location.String
getWhatsappNumber()
whatsapp numberString
getWrittenBy()
The writer of the TV show.protected void
graphApi26LikesFallback()
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
setAbout(String about)
General information about this page.void
setAccessToken(String accessToken)
An adminaccess_token
for this page.void
setAffiliation(String affiliation)
Affiliation of this person.void
setAppId(String appId)
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
setAttire(String attire)
Dress code of the business.void
setAwards(String awards)
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
setBio(String bio)
Biography of the band.void
setBirthday(String birthday)
Birthday of this person.void
setBookingAgent(String bookingAgent)
Booking agent of the band.void
setBuilt(String built)
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
setGenre(String genre)
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
setHours(Hours hours)
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
setLikes(Likes likes)
The Pages that this Page Likes.void
setLikesCount(Long likesCount)
The number of likes the page has.void
setLink(String link)
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
setMpg(String mpg)
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
setPhone(String phone)
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
setSeason(String season)
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
setStudio(String studio)
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 Detail
-
Page
public Page()
-
-
Method Detail
-
getScreenNames
public List<Page.ScreenName> getScreenNames()
External accounts. Applicable to Pages representing people- Returns:
- the list of screen names
-
addScreenName
public boolean addScreenName(Page.ScreenName screenName)
-
removeScreenName
public boolean removeScreenName(Page.ScreenName screenName)
-
getCategoryList
public List<Category> getCategoryList()
the sub category list- Returns:
- the sub category list
- Since:
- 1.6.15
-
addCategory
public boolean addCategory(Category category)
-
removeCategory
public boolean removeCategory(Category category)
-
getEmails
public List<String> 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
-
removeEmail
public boolean removeEmail(String email)
-
getFoodStyles
public List<String> getFoodStyles()
The restaurant's food styles. Applicable to Restaurants- Returns:
- The restaurant's food styles
- Since:
- 1.10.0
-
addFoodStyle
public boolean addFoodStyle(String foodStyle)
-
removeFoodStyle
public boolean removeFoodStyle(String foodStyle)
-
getAdminNotes
@GraphAPI(since="2.6") public List<PageAdminNote> getAdminNotes()
Notes of this page- Returns:
- Notes of this page
-
addAdminNote
public boolean addAdminNote(PageAdminNote adminNote)
-
removeAdminNote
public boolean removeAdminNote(PageAdminNote adminNote)
-
getLabels
@GraphAPI(since="2.6") public List<PageLabel> getLabels()
Page labels of this page- Returns:
- labels of this page
-
removeLabels
public boolean removeLabels(PageLabel label)
-
getInstagramAccounts
public List<InstagramUser> getInstagramAccounts()
Linked Instagram accounts for this Page
-
addInstagramAccount
public boolean addInstagramAccount(InstagramUser igUser)
-
removeInstagramAccount
public boolean removeInstagramAccount(InstagramUser igUser)
-
addMessengerAdsDefaultIcebreaker
public boolean addMessengerAdsDefaultIcebreaker(String icebreaker)
-
removeMessengerAdsDefaultIcebreaker
public boolean removeMessengerAdsDefaultIcebreaker(String icebreaker)
-
getMessengerAdsDefaultIcebreakers
public List<String> getMessengerAdsDefaultIcebreakers()
-
convertLabels
protected void convertLabels(JsonMapper jsonMapper)
-
fillProfilePicture
protected void fillProfilePicture(JsonMapper jsonMapper)
-
graphApi26LikesFallback
protected void graphApi26LikesFallback()
-
convertHours
protected void convertHours()
-
getPicture
public ProfilePictureSource 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
public void setPicture(ProfilePictureSource picture)
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
public String getAffiliation()
Affiliation of this person. Applicable to Pages representing people- Returns:
- affiliation of this person
- Since:
- 1.10.0
-
setAffiliation
public void setAffiliation(String affiliation)
Affiliation of this person. Applicable to Pages representing people- Since:
- 1.10.0
-
getAppId
public String getAppId()
App ID for app-owned Pages and app Pages.- Returns:
- App ID for app-owned Pages and app Pages
-
getArtistsWeLike
public String getArtistsWeLike()
Artists the band likes. Applicable to Bands- Returns:
- artists the band likes
- Since:
- 1.10.0
-
setArtistsWeLike
public void setArtistsWeLike(String artistsWeLike)
Artists the band likes. Applicable to Bands- Since:
- 1.10.0
-
getAssetScore
public Double getAssetScore()
relevance score of an asset.- Returns:
- relevance score of an asset
-
setAssetScore
public void setAssetScore(Double assetScore)
relevance score of an asset.
-
getAttire
public String 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
public void setAttire(String attire)
Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified- Since:
- 1.10.0
-
getAwards
public String getAwards()
The awards information of the film. Applicable to Films- Returns:
- the awards information of the film
- Since:
- 1.10.0
-
setAwards
public void setAwards(String awards)
The awards information of the film. Applicable to Films- Since:
- 1.10.0
-
getBandInterests
public String getBandInterests()
Band interests. Applicable to Bands- Returns:
- band interests
- Since:
- 1.10.0
-
setBandInterests
public void setBandInterests(String bandInterests)
Band interests. Applicable to Bands- Since:
- 1.10.0
-
getBandMembers
public String getBandMembers()
Members of the band. Applicable to Bands- Returns:
- members of the band
- Since:
- 1.10.0
-
setBandMembers
public void setBandMembers(String bandMembers)
Members of the band. Applicable to Bands- Since:
- 1.10.0
-
getBestPage
public Page 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
public void setBestPage(Page bestPage)
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
public Page.MailingAddress 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
public void setContactAddress(Page.MailingAddress contactAddress)
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
public Integer 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
public 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.
-
getCategory
public String 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
public void setCategory(String category)
The Page's category. e.g. Product/Service, Computers/Technology- Overrides:
setCategory
in classCategorizedFacebookType
-
getBio
public String getBio()
Biography of the band. Applicable to Bands- Returns:
- Biography of the band
- Since:
- 1.10.0
-
getBirthday
public String getBirthday()
Birthday of this person. Applicable to Pages representing people- Returns:
- birthday of this person
- Since:
- 1.10.0
-
setBirthday
public void setBirthday(String birthday)
Birthday of this person. Applicable to Pages representing people- Since:
- 1.10.0
-
getBuilt
public String getBuilt()
Year vehicle was built. Applicable to Vehicles- Returns:
- Year vehicle was built
- Since:
- 1.10.0
-
setBuilt
public void setBuilt(String built)
Year vehicle was built. Applicable to Vehicles- Since:
- 1.10.0
-
getBusiness
public Business getBusiness()
The Business associated with this Page.
-
setBusiness
public void setBusiness(Business business)
The Business associated with this Page.
-
getCulinaryTeam
public String getCulinaryTeam()
Culinary team of the business. Applicable to Restaurants or Nightlife- Returns:
- culinary team of the business
- Since:
- 1.10.0
-
setCulinaryTeam
public void setCulinaryTeam(String culinaryTeam)
Culinary team of the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getCurrentLocation
public String getCurrentLocation()
Current location of the Page.- Returns:
- current location of the Page
- Since:
- 1.10.0
-
setCurrentLocation
public void setCurrentLocation(String currentLocation)
Current location of the Page.- Since:
- 1.10.0
-
getFeatures
public String getFeatures()
Features of the vehicle. Applicable to Vehicles- Returns:
- Features of the vehicle
- Since:
- 1.10.0
-
setFeatures
public void setFeatures(String features)
Features of the vehicle. Applicable to Vehicles- Since:
- 1.10.0
-
getFollowersCount
public Long getFollowersCount()
Number of page followers- Returns:
- Number of page followers
-
setFollowersCount
public void setFollowersCount(Long followersCount)
Number of page followers
-
getGlobalBrandPageName
public String 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
public void setGlobalBrandPageName(String globalBrandPageName)
The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin- Since:
- 1.10.0
-
getGlobalBrandRootId
public String getGlobalBrandRootId()
This brand's global Root ID.- Returns:
- This brand's global Root ID
-
setGlobalBrandRootId
public void setGlobalBrandRootId(String globalBrandRootId)
This brand's global Root ID.
-
getGlobalBrandParentPage
public Page getGlobalBrandParentPage()
This brand's global (parent) Page.- Returns:
- this brand's global (parent) Page
- Since:
- 1.10.0
-
setGlobalBrandParentPage
public void setGlobalBrandParentPage(Page globalBrandParentPage)
This brand's global (parent) Page.- Since:
- 1.10.0
-
getHasAddedApp
public Boolean 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
public void setHasAddedApp(Boolean hasAddedApp)
Indicates whether this Page has added the app making the query in a Page tab.- Since:
- 1.10.0
-
getHasWhatsappNumber
public Boolean getHasWhatsappNumber()
has whatsapp number- Returns:
- has whatsapp number
-
setHasWhatsappNumber
public void setHasWhatsappNumber(Boolean hasWhatsappNumber)
has whatsapp number
-
getHasWhatsappBusinessNumber
public Boolean getHasWhatsappBusinessNumber()
Indicates whether WhatsApp number connected to this page is a WhatsApp business number- Returns:
- Whatsapp business number
-
setHasWhatsappBusinessNumber
public void setHasWhatsappBusinessNumber(Boolean hasWhatsappBusinessNumber)
Indicates whether WhatsApp number connected to this page is a WhatsApp business number
-
getHometown
public String getHometown()
Hometown of the band. Applicable to Bands- Returns:
- Hometown of the band
- Since:
- 1.10.0
-
setHometown
public void setHometown(String hometown)
Hometown of the band. Applicable to Bands- Since:
- 1.10.0
-
getImpressum
public String getImpressum()
Legal information about the Page publishers.- Returns:
- Legal information about the Page publishers
- Since:
- 1.10.0
-
setImpressum
public void setImpressum(String impressum)
Legal information about the Page publishers.- Since:
- 1.10.0
-
getInfluences
public String getInfluences()
Influences on the band. Applicable to Bands- Returns:
- Influences on the band
- Since:
- 1.10.0
-
setInfluences
public void setInfluences(String influences)
Influences on the band. Applicable to Bands- Since:
- 1.10.0
-
getIsPermanentlyClosed
public Boolean 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
public void setIsPermanentlyClosed(Boolean isPermanentlyClosed)
Whether the business corresponding to this Page is permanently closed.- Since:
- 1.10.0
-
getOwnerBusiness
public Business getOwnerBusiness()
owner business of this object- Returns:
- owner business of this object
-
setOwnerBusiness
public void setOwnerBusiness(Business ownerBusiness)
owner business of this object
-
getOverallStarRating
public Double 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
public void setOverallStarRating(Double overallStarRating)
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
public Integer getRatingCount()
Number of ratings for the page (limited to ratings that are publicly accessible
-
setRatingCount
public void setRatingCount(Integer ratingCount)
Number of ratings for the page (limited to ratings that are publicly accessible
-
getRecipient
public String 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
public void setRecipient(String recipient)
Messenger page scope id associated with page and a user using account_linking_token
-
getPersonalInfo
public String getPersonalInfo()
Personal information. Applicable to Pages representing People- Returns:
- Personal information
- Since:
- 1.10.0
-
setPersonalInfo
public void setPersonalInfo(String personalInfo)
Personal information. Applicable to Pages representing People- Since:
- 1.10.0
-
getPaymentOptions
public Page.PagePaymentOptions getPaymentOptions()
Payment options accepted by the business. Applicable to Restaurants or Nightlife- Returns:
- Payment options accepted by the business
- Since:
- 1.10.0
-
setPaymentOptions
public void setPaymentOptions(Page.PagePaymentOptions paymentOptions)
Payment options accepted by the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getPersonalInterests
public String getPersonalInterests()
Personal interests. Applicable to Pages representing People- Returns:
- Personal interests
- Since:
- 1.10.0
-
setPersonalInterests
public void setPersonalInterests(String personalInterests)
Personal interests. Applicable to Pages representing People- Since:
- 1.10.0
-
getPharmaSafetyInfo
public String getPharmaSafetyInfo()
Pharmacy safety information. Applicable to Pharmaceutical companies- Returns:
- Pharmacy safety information
- Since:
- 1.10.0
-
setPharmaSafetyInfo
public void setPharmaSafetyInfo(String pharmaSafetyInfo)
Pharmacy safety information. Applicable to Pharmaceutical companies- Since:
- 1.10.0
-
getPlaceType
public String getPlaceType()
For places, the category of the place.- Returns:
- For places, the category of the place
-
setPlaceType
public void setPlaceType(String placeType)
For places, the category of the place.
-
getPlotOutline
public String getPlotOutline()
The plot outline of the film. Applicable to Films- Returns:
- The plot outline of the film
- Since:
- 1.10.0
-
setPlotOutline
public void setPlotOutline(String plotOutline)
The plot outline of the film. Applicable to Films- Since:
- 1.10.0
-
getPriceRange
public String 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
public void setPriceRange(String priceRange)
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
public String getProducedBy()
The productor of the film. Applicable to Films- Returns:
- The productor of the film
- Since:
- 1.10.0
-
setProducedBy
public void setProducedBy(String producedBy)
The productor of the film. Applicable to Films- Since:
- 1.10.0
-
getPromotionEligible
public Boolean 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
public void setPromotionEligible(Boolean promotionEligible)
Reason why a post isn't eligible for boosting. Only visible to Page Admins- Since:
- 1.10.0
-
getPromotionIneligibleReason
public String 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
public void setPromotionIneligibleReason(String promotionIneligibleReason)
Reason, for which boosted posts are not eligible. Only visible to a page admin- Since:
- 1.10.0
-
getPublicTransit
public String getPublicTransit()
Public transit to the business. Applicable to Restaurants or Nightlife- Returns:
- Public transit to the business
- Since:
- 1.10.0
-
setPublicTransit
public void setPublicTransit(String publicTransit)
Public transit to the business. Applicable to Restaurants or Nightlife- Since:
- 1.10.0
-
getRecordLabel
public String getRecordLabel()
Record label of the band. Applicable to Bands- Returns:
- Record label of the band
- Since:
- 1.10.0
-
setRecordLabel
public void setRecordLabel(String recordLabel)
Record label of the band. Applicable to Bands- Since:
- 1.10.0
-
getReleaseDate
public String getReleaseDate()
The film's release date. Applicable to Films- Returns:
- The film's release date
- Since:
- 1.10.0
-
setReleaseDate
public void setReleaseDate(String releaseDate)
The film's release date. Applicable to Films- Since:
- 1.10.0
-
getRestaurantServices
public Page.PageRestaurantServices getRestaurantServices()
Services the restaurant provides. Applicable to Restaurants- Returns:
- Services the restaurant provides
- Since:
- 1.10.0
-
setRestaurantServices
public void setRestaurantServices(Page.PageRestaurantServices restaurantServices)
Services the restaurant provides. Applicable to Restaurants- Since:
- 1.10.0
-
getRestaurantSpecialties
public Page.PageRestaurantSpecialties getRestaurantSpecialties()
The restaurant's specialties. Applicable to Restaurants- Returns:
- The restaurant's specialties
- Since:
- 1.10.0
-
setRestaurantSpecialties
public void setRestaurantSpecialties(Page.PageRestaurantSpecialties restaurantSpecialties)
The restaurant's specialties. Applicable to Restaurants- Since:
- 1.10.0
-
getStoreCode
public String getStoreCode()
Unique store code for this location Page
-
setStoreCode
public void setStoreCode(String storeCode)
Unique store code for this location Page
-
getStoreLocationDescriptor
public String getStoreLocationDescriptor()
Location Page's store location descriptor
-
setStoreLocationDescriptor
public void setStoreLocationDescriptor(String storeLocationDescriptor)
Location Page's store location descriptor
-
getUserAccessExpireTime
public Date getUserAccessExpireTime()
-
setUserAccessExpireTime
public void setUserAccessExpireTime(Date userAccessExpireTime)
-
getGenre
public String getGenre()
The genre of the film. Applicable to Films- Returns:
- The genre of the film
- Since:
- 1.10.0
-
setGenre
public void setGenre(String genre)
The genre of the film. Applicable to Films- Since:
- 1.10.0
-
getMpg
public String getMpg()
MPG of the vehicle. Applicable to Vehicles- Returns:
- MPG of the vehicle
- Since:
- 1.10.0
-
getNetwork
public String 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
public void setNetwork(String network)
The TV network for the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getNewLikeCount
public Long 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
public void setNewLikeCount(Long newLikeCount)
The number of people who have liked the Page, since the last login. Only visible to a page admin- Since:
- 1.10.0
-
getOfferEligible
public Boolean getOfferEligible()
Offer eligibility status. Only visible to a page admin- Returns:
- Offer eligibility status
- Since:
- 1.10.0
-
setOfferEligible
public void setOfferEligible(Boolean offerEligible)
Offer eligibility status. Only visible to a page admin- Since:
- 1.10.0
-
getSchedule
public String 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
public void setSchedule(String schedule)
The air schedule of the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getScreenplayBy
public String getScreenplayBy()
The screenwriter of the film. Applicable to Films- Returns:
- The screenwriter of the film
- Since:
- 1.10.0
-
setScreenplayBy
public void setScreenplayBy(String screenplayBy)
The screenwriter of the film. Applicable to Films- Since:
- 1.10.0
-
getSeason
public String 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
public void setSeason(String season)
The season information of the TV Show. Applicable to TV Shows- Since:
- 1.10.0
-
getSingleLineAddress
public String 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
public void setSingleLineAddress(String singleLineAddress)
The page address, if any, in a simple single line format.
-
getStarring
public String getStarring()
The cast of the film. Applicable to Films- Returns:
- The cast of the film
- Since:
- 1.10.0
-
setStarring
public void setStarring(String starring)
The cast of the film. Applicable to Films- Since:
- 1.10.0
-
getStartInfo
public Page.PageStartInfo 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
public void setStartInfo(Page.PageStartInfo startInfo)
Information about when the entity represented by the Page was started- Since:
- 1.10.0
-
getStoreNumber
public String getStoreNumber()
Unique store number for this location Page.- Returns:
- Unique store number for this location Page
- Since:
- 1.10.0
-
setStoreNumber
public void setStoreNumber(String storeNumber)
Unique store number for this location Page.- Since:
- 1.10.0
-
getStudio
public String getStudio()
The studio for the film production. Applicable to Films- Returns:
- The studio for the film production
- Since:
- 1.10.0
-
setStudio
public void setStudio(String studio)
The studio for the film production. Applicable to Films- Since:
- 1.10.0
-
getTemporaryStatus
public String 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
public void setTemporaryStatus(String temporaryStatus)
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
public Page.Engagement 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
public void setEngagement(Page.Engagement engagement)
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
public Long 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
public void setUnreadMessageCount(Long unreadMessageCount)
Unread message count for the Page. Only visible to a page admin- Since:
- 1.10.0
-
getUnreadNotifCount
public Long getUnreadNotifCount()
Number of unread notifications. Only visible to a page admin- Returns:
- Number of unread notifications
- Since:
- 1.10.0
-
setUnreadNotifCount
public void setUnreadNotifCount(Long unreadNotifCount)
Number of unread notifications. Only visible to a page admin- Since:
- 1.10.0
-
getUnseenMessageCount
public Long 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
public void setUnseenMessageCount(Long unseenMessageCount)
Unseen message count for the Page. Only visible to a page admin- Since:
- 1.10.0
-
getMembers
public String getMembers()
Members of this org. Applicable to Pages representing Team Orgs- Returns:
- Members of this org
- Since:
- 1.10.0
-
setMembers
public void setMembers(String members)
Members of this org. Applicable to Pages representing Team Orgs- Since:
- 1.10.0
-
getWereHereCount
public Long 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
public void setWereHereCount(Long wereHereCount)
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
public Video getFeaturedVideo()
Video Featured by the Page. Only visible to the Page admin- Returns:
- Video Featured by the Page
- Since:
- 1.10.0
-
setFeaturedVideo
public void setFeaturedVideo(Video featuredVideo)
Video Featured by the Page. Only visible to the Page admin- Since:
- 1.10.0
-
getVerificationStatus
public String 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
public void setVerificationStatus(String verificationStatus)
Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified
-
getVoipInfo
public Page.VoipInfo getVoipInfo()
Voip info- Returns:
- Voip info
- Since:
- 1.10.0
-
setVoipInfo
public void setVoipInfo(Page.VoipInfo voipInfo)
Voip info- Since:
- 1.10.0
-
getWrittenBy
public String getWrittenBy()
The writer of the TV show. Applicable to TV Shows- Returns:
- The writer of the TV show
- Since:
- 1.10.0
-
setWrittenBy
public void setWrittenBy(String writtenBy)
The writer of the TV show. Applicable to TV Shows- Since:
- 1.10.0
-
getWhatsappNumber
public String getWhatsappNumber()
whatsapp number- Returns:
- whatsapp number
-
setWhatsappNumber
public void setWhatsappNumber(String whatsappNumber)
whatsapp number
-
getUsername
public String 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
public void setUsername(String username)
The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform'
-
getFounded
public String getFounded()
When the page was founded.- Returns:
- When the page was founded.
-
setFounded
public void setFounded(String founded)
When the page was founded.
-
getCompanyOverview
public String getCompanyOverview()
Overview of the page's company.- Returns:
- Overview of the page's company.
-
setCompanyOverview
public void setCompanyOverview(String companyOverview)
Overview of the page's company.
-
getMission
public String getMission()
The company mission. Applicable to Companies- Returns:
- The page's mission.
-
setMission
public void setMission(String mission)
The company mission. Applicable to Companies
-
getProducts
public String getProducts()
The page's products.- Returns:
- The page's products.
-
setProducts
public void setProducts(String products)
The page's products.
-
getPageToken
public String getPageToken()
-
setPageToken
public void setPageToken(String pageToken)
-
getParentPage
public Page 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
public void setParentPage(Page parentPage)
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
public String getPrivacyInfoUrl()
Privacy url in page info section- Returns:
- Privacy url in page info section
-
setPrivacyInfoUrl
public void setPrivacyInfoUrl(String privacyInfoUrl)
Privacy url in page info section
-
getLeadgenTosAccepted
public Boolean 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
public void setLeadgenTosAccepted(Boolean leadgenTosAccepted)
Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.
-
getLikesCount
@GraphAPI(until="2.5") public Long 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
public void setLikesCount(Long likesCount)
The number of likes the page has.Since Graph 2.6 you should use
fanCount
instead- Since:
- 1.6.5
-
getLikes
@GraphAPI(since="2.6") public Likes getLikes()
The Pages that this Page Likes.- Returns:
- The Pages that this Page Likes.
-
getFanCount
@GraphAPI(since="2.6") public Long getFanCount()
The number of likes the page has.- Returns:
- The number of likes the page has
-
setFanCount
public void setFanCount(Long fanCount)
The number of likes the page has.
-
getIsAlwaysOpen
public Boolean getIsAlwaysOpen()
Indicates whether this location is always open.- Returns:
- Indicates whether this location is always open
-
setIsAlwaysOpen
public void setIsAlwaysOpen(Boolean isAlwaysOpen)
Indicates whether this location is always open.
-
getIsChain
public Boolean getIsChain()
Indicates whether location is part of a chain- Returns:
- Indicates whether location is part of a chain
-
setIsChain
public void setIsChain(Boolean isChain)
Indicates whether location is part of a chain
-
getIsCommunityPage
public Boolean getIsCommunityPage()
Is this a community page?- Returns:
- Is this a community page?
-
setIsCommunityPage
public void setIsCommunityPage(Boolean isCommunityPage)
Is this a community page?
-
getIsEligibleForBrandedContent
public Boolean getIsEligibleForBrandedContent()
Indicates whether the page is eligible for the branded content tool- Returns:
- is eligible for the branded content tool
-
setIsEligibleForBrandedContent
public void setIsEligibleForBrandedContent(Boolean isEligibleForBrandedContent)
Indicates whether the page is eligible for the branded content tool
-
getIsMessengerBotGetStartedEnabled
public Boolean 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
public void setIsMessengerBotGetStartedEnabled(Boolean isMessengerBotGetStartedEnabled)
Indicates whether the page is a Messenger Platform Bot with Get Started button enabled
-
getIsMessengerPlatformBot
public Boolean getIsMessengerPlatformBot()
Indicates whether the page is a Messenger Platform Bot- Returns:
- Indicates whether the page is a Messenger Platform Bot
-
setIsMessengerPlatformBot
public void setIsMessengerPlatformBot(Boolean isMessengerPlatformBot)
Indicates whether the page is a Messenger Platform Bot
-
getIsOwned
public Boolean getIsOwned()
Indicates whether page is owned- Returns:
- Indicates whether page is owned
-
setIsOwned
public void setIsOwned(Boolean isOwned)
Indicates whether page is owned
-
getDescription
public String getDescription()
A description of this page.- Returns:
- A description of this page.
-
setDescription
public void setDescription(String description)
A description of this page.
-
getDescriptionHtml
public String getDescriptionHtml()
The description of the Page in raw HTML.- Returns:
- The description of the Page in raw HTML
- Since:
- 1.10.0
-
setDescriptionHtml
public void setDescriptionHtml(String descriptionHtml)
The description of the Page in raw HTML.- Since:
- 1.10.0
-
getCheckins
public Integer 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
public void setCheckins(Integer checkins)
The total number of users who have checked in to the Page.
-
getPhone
public String 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
public void setPhone(String phone)
The phone number (not always normalized for country code) for the Page.
-
getParking
public Page.PageParking getParking()
Parking information. Applicable to Businesses and Places- Returns:
- Parking information. Applicable to Businesses and Places
-
setParking
public void setParking(Page.PageParking parking)
Parking information. Applicable to Businesses and Places
-
getAccessToken
public String 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
public void setAccessToken(String accessToken)
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
public String getAbout()
General information about this page.- Returns:
- General information about this page.
- Since:
- 1.6.10
-
getTalkingAboutCount
public Long 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
public void setTalkingAboutCount(Long talkingAboutCount)
The number of people that are talking about this page (last seven days).- Since:
- 1.6.10
-
getCanCheckin
public Boolean getCanCheckin()
Whether this page has check in functionality enabled.- Returns:
- Whether this page has check in functionality enabled
-
setCanCheckin
public void setCanCheckin(Boolean canCheckin)
Whether this page has check in functionality enabled.
-
getCanPost
public Boolean 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
public void setCanPost(Boolean canPost)
Indicates whether the current session user can post on this page.- Since:
- 1.6.10
-
getIsPublished
public Boolean 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
public void setIsPublished(Boolean isPublished)
Indicates whether the page is published and visible to non-admins.- Since:
- 1.6.10
-
getIsUnclaimed
public Boolean getIsUnclaimed()
Indicates whether the Page is unclaimed.- Returns:
- Indicates whether the Page is unclaimed.
- Since:
- 1.7.0
-
setIsUnclaimed
public void setIsUnclaimed(Boolean isUnclaimed)
Indicates whether the Page is unclaimed.- Since:
- 1.7.0
-
getIsWebhooksSubscribed
@GraphAPI(since="2.7") public Boolean 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
public void setIsWebhooksSubscribed(Boolean isWebhooksSubscribed)
Indicates whether the application is subscribed for real time updates from this page
-
getLeadgenTosAcceptanceTime
public Date getLeadgenTosAcceptanceTime()
Indicates the time when the TOS for running LeadGen Ads on the page was accepted
-
setLeadgenTosAcceptanceTime
public void setLeadgenTosAcceptanceTime(Date leadgenTosAcceptanceTime)
Indicates the time when the TOS for running LeadGen Ads on the page was accepted
-
getLeadgenTosAcceptingUser
public User getLeadgenTosAcceptingUser()
Indicates the user who accepted the TOS for running LeadGen Ads on the page
-
setLeadgenTosAcceptingUser
public void setLeadgenTosAcceptingUser(User leadgenTosAcceptingUser)
Indicates the user who accepted the TOS for running LeadGen Ads on the page
-
getDirectedBy
public String getDirectedBy()
The director of the film. Applicable to Films.- Returns:
- The director of the film
- Since:
- 1.7.0
-
setDirectedBy
public void setDirectedBy(String directedBy)
The director of the film. Applicable to Films.- Since:
- 1.7.0
-
getDisplaySubtext
public String getDisplaySubtext()
Subtext about the Page being viewed.- Returns:
- Subtext about the Page being viewed
-
setDisplaySubtext
public void setDisplaySubtext(String displaySubtext)
Subtext about the Page being viewed.
-
getDisplayedMessageResponseTime
public String getDisplayedMessageResponseTime()
Page estimated message response time displayed to user- Returns:
- Page estimated message response time displayed to user
-
setDisplayedMessageResponseTime
public void setDisplayedMessageResponseTime(String displayedMessageResponseTime)
Page estimated message response time displayed to user
-
getGeneralManager
public String getGeneralManager()
General manager of the business. Applicable to Restaurants or Nightlife.- Returns:
- General manager of the business.
- Since:
- 1.7.0
-
setGeneralManager
public void setGeneralManager(String generalManager)
General manager of the business. Applicable to Restaurants or Nightlife.- Since:
- 1.7.0
-
getGeneralInfo
public String getGeneralInfo()
The general information for a page.- Returns:
- The general information for a page.
- Since:
- 1.6.12
-
setGeneralInfo
public void setGeneralInfo(String generalInfo)
The general information for a page.- Since:
- 1.6.12
-
getLocation
public Location getLocation()
The location of the place this page represents.- Returns:
- The location of the place this page represents.
-
setLocation
public void setLocation(Location location)
The location of the place this page represents.
-
getMerchantId
public String getMerchantId()
The instant workflow merchant id associated with the Page- Returns:
- The instant workflow merchant id associated with the Page
-
setMerchantId
public void setMerchantId(String merchantId)
The instant workflow merchant id associated with the Page
-
getMerchantReviewStatus
public String getMerchantReviewStatus()
Review status of the Page against FB commerce policies, this status decides whether the Page can use component flow
-
setMerchantReviewStatus
public void setMerchantReviewStatus(String merchantReviewStatus)
Review status of the Page against FB commerce policies, this status decides whether the Page can use component flow
-
getCover
public Page.Cover getCover()
The cover photo.- Returns:
- The cover photo.
- Since:
- 1.6.10
-
setCover
public void setCover(Page.Cover cover)
The cover photo.- Since:
- 1.6.10
-
getWebsite
public String getWebsite()
The website URL- Returns:
- the website url
- Since:
- 1.6.15
-
setWebsite
public void setWebsite(String website)
The website URL- Since:
- 1.6.15
-
getNameWithLocationDescriptor
public String 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
public void setNameWithLocationDescriptor(String nameWithLocationDescriptor)
The name of a Location Page that provides additional location information for that Page beside its name.- Since:
- 1.7.0
-
getBookingAgent
public String getBookingAgent()
Booking agent of the band. Applicable to Bands.- Returns:
- Booking agent of the band
- Since:
- 1.7.0
-
setBookingAgent
public void setBookingAgent(String bookingAgent)
Booking agent of the band. Applicable to Bands.- Since:
- 1.7.0
-
getPressContact
public String getPressContact()
Press contact information of the band. Applicable to Bands.- Returns:
- Press contact information of the band
- Since:
- 1.7.0
-
setPressContact
public void setPressContact(String pressContact)
Press contact information of the band. Applicable to Bands.- Since:
- 1.7.0
-
getConnectedInstagramAccount
public IgUser getConnectedInstagramAccount()
Instagram account connected to page via page settings
-
setConnectedInstagramAccount
public void setConnectedInstagramAccount(IgUser connectedInstagramAccount)
Instagram account connected to page via page settings
-
getInstagramBusinessAccount
public IgUser getInstagramBusinessAccount()
Instagram account linked to page during Instagram business conversion flow
-
setInstagramBusinessAccount
public void setInstagramBusinessAccount(IgUser instagramBusinessAccount)
Instagram account linked to page during Instagram business conversion flow
-
getInstantArticlesReviewStatus
public String getInstantArticlesReviewStatus()
Indicates the current Instant Articles review status for this page- Returns:
- Indicates the current Instant Articles review status for this page
-
setInstantArticlesReviewStatus
public void setInstantArticlesReviewStatus(String instantArticlesReviewStatus)
Indicates the current Instant Articles review status for this page
-
getLastUsedTime
public Date getLastUsedTime()
last used time of this object by the current viewer- Returns:
- last used time of this object by the current viewer
-
setLastUsedTime
public void setLastUsedTime(Date lastUsedTime)
last used time of this object by the current viewer
-
getInsights
public Connection<Insight> getInsights()
This Page's Insights data
-
setInsights
public void setInsights(Connection<Insight> insights)
This Page's Insights data
-
getGroups
public Connection<Group> getGroups()
groups
-
setGroups
public void setGroups(Connection<Group> groups)
groups
-
getHasTransitionedToNewPageExperience
public Boolean getHasTransitionedToNewPageExperience()
Indicates whether a page has transitioned to new page experience or not
-
setHasTransitionedToNewPageExperience
public void setHasTransitionedToNewPageExperience(Boolean hasTransitionedToNewPageExperience)
Indicates whether a page has transitioned to new page experience or not
-
-