Skip to content
Fresh 2026

Page

Represents a Facebook Page.

Over the coming months, all classic Pages will be migrated to the New Pages Experience. Use the has_transitioned_to_new_page_experience Page field to determine if a Page has been migrated. After all Pages have been migrated, the classic Pages experience will no longer be available.

Refer to our Pages API Guides for additional usage information.

Reading

Get information about a Facebook Page.

Requirements

  • For apps that have been granted the

pages_read_engagement

and

pages_read_user_content

permissions, only data owned by the Page is accessible.

  • For apps that have been approved for either the

Page Public Content Access (PPCA)

or

Page Public Metadata Access (PPMA)

feature, only public data is accessible. Learn more.

  • The instagram_business_account field requires a User access token from a User who is able to perform appropriate tasks on the Page. Refer to the Instagram Graph API's Page reference for more information.

  • If using a business system user in your request, the business_management permission may be required.

Limitations

  • A Page access token is required for any fields that may include User information.

  • All users requesting access to a Page using permissions must be able to perform the

MODERATE task

on the Page being queried.

  • When using the Page Public Content Access feature, use a system user access token to avoid rate limiting issues.

  • If the page url is being used as the query input, ensure the page url is set up the following way: facebook.com/<pageusername>. More information on the page username.

Public Page Data

Requirements vary based on the Page's status, unpublished or published, and unrestricted or restricted. Restrictions include any visibility restrictions such as by age or region. Note that for restricted Pages, the app user must also satisfy any restrictions in order for data to be returned.

Page StatusAccess TokenFeature, to retrieve public dataPermissions, to retrieve Page owned data
UnpublishedPage Access Token or User Access TokenNoneNone
Published, UnrestrictedApp Access Token or <br>User Access TokenPPCA or PPMApages_read_engagement pages_read_user_content pages_show_list
Published, RestrictedPage Access Token or User Access Token.PPCA or PPMApages_read_engagement pages_read_user_content pages_show_list

Example

bash
curl -i -X GET "https://graph.facebook.com/PAGE-ID?access_token=ACCESS-TOKEN"

Parameters

ParameterDescription
account_linking_token<br>UTF-8 encoded stringShort lived account linking token (5 mins expiry) to get the PSID for a user-page pair

Fields

FieldDescription
id<br>numeric stringThe ID representing a Facebook Page.
about<br>stringInformation about the Page. Can be read with Page Public Content Access or Page Public Metadata Access. This value maps to the Description setting in the Edit Page Info user interface. Limit of 100 characters.
access_token<br>stringThe Page's access token. Only returned if the User making the request has a role (other than Live Contributor) on the Page. If your business requires two-factor authentication, the User must also be authenticated
ad_campaign<br>AdSetThe Page's currently running an ad campaign
affiliation<br>stringAffiliation of this person. Applicable to Pages representing people. Can be read with Page Public Content Access or Page Public Metadata Access.
app_id<br>idApp ID for app-owned Pages and app Pages
artists_we_like<br>stringArtists the band likes. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
attire<br>stringDress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified. Can be read with Page Public Content Access or Page Public Metadata Access.
available_promo_offer_ids<br>list<KeyValue:enum,list<KeyValue:string,string>>available_promo_offer_ids
awards<br>stringThe awards information of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
band_interests<br>stringBand interests. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
band_members<br>stringMembers of the band. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
best_page<br>PageThe 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
birthday<br>stringBirthday of this person. Applicable to Pages representing people. Can be read with Page Public Content Access or Page Public Metadata Access.
booking_agent<br>stringBooking agent of the band. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
breaking_news_usage<br>nullInformation about the availability of daily and monthly usages of the breaking news indicator<br>Deprecated
built<br>stringYear vehicle was built. Applicable to Vehicles. Can be read with Page Public Content Access or Page Public Metadata Access.
businessThe Business associated with this Page. Requires business_management permissions, and a page or user access token. The person requesting the access token must be an admin of the page.
can_checkin<br>boolWhether the Page has checkin functionality enabled. Can be read with Page Public Content Access or Page Public Metadata Access.
can_post<br>boolIndicates whether the current app user can post on this Page. Can be read with Page Public Content Access or Page Public Metadata Access.
category<br>stringThe Page's category. e.g. Product/Service, Computers/Technology. Can be read with Page Public Content Access or Page Public Metadata Access.<br>Core
category_list<br>list<PageCategory>The Page's sub-categories. This field will not return the parent category.
checkins<br>unsigned int32Number of checkins at a place represented by a Page<br>Core
company_overview<br>stringThe company overview. Applicable to Companies. Can be read with Page Public Content Access or Page Public Metadata Access.
connected_instagram_account<br>IGUserInstagram account connected to page via page settings
connected_page_backed_instagram_account<br>IGUserLinked page backed instagram account for this page
contact_address<br>MailingAddressThe mailing or contact address for this page. This field will be blank if the contact address is the same as the physical address
copyright_attribution_insights<br>CopyrightAttributionInsightsInsight metrics that measures performance of copyright attribution. An example metric would be number of incremental followers from attribution
copyright_whitelisted_ig_partners<br>list<string>Instagram usernames who will not be reported in copyright match systems
country_page_likes<br>unsigned int32If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. Can be read with Page Public Content Access or Page Public Metadata Access.
cover<br>CoverPhotoInformation about the page's cover photo
culinary_team<br>stringCulinary team of the business. Applicable to Restaurants or Nightlife. Can be read with Page Public Content Access or Page Public Metadata Access.
current_location<br>stringCurrent location of the Page. Can be read with Page Public Content Access or Page Public Metadata Access. To manage a child Page's location use the /{page-id}/locations endpoint.
delivery_and_pickup_option_info<br>list<string>A Vector of url strings for delivery_and_pickup_option_info of the Page.
description<br>stringThe description of the Page. Can be read with Page Public Content Access or Page Public Metadata Access. Note that this value is mapped to the Additional Information setting in the Edit Page Info user interface.<br>Core
description_html<br>stringThe description of the Page in raw HTML. Can be read with Page Public Content Access or Page Public Metadata Access.
differently_open_offerings<br>list<KeyValue:enum,bool>To be used when temporary_status is set to differently_open to indicate how the business is operating differently than usual, such as a restaurant offering takeout. Enum keys can be one or more of the following: ONLINE_SERVICES, DELIVERY, PICKUP, OTHER with the value set to true or false. For example, a business offering food pick up but pausing delivery would be differently_open_offerings:{"DELIVERY":"false", "PICKUP":"true"}
directed_by<br>stringThe director of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
display_subtext<br>stringSubtext about the Page being viewed. Can be read with Page Public Content Access or Page Public Metadata Access.
displayed_message_response_time<br>stringPage estimated message response time displayed to user. Can be read with Page Public Content Access or Page Public Metadata Access.
does_viewer_have_page_permission_link_ig<br>booldoes_viewer_have_page_permission_link_ig
emails<br>list<string>The emails listed in the About section of a Page. Can be read with Page Public Content Access or Page Public Metadata Access.
engagement<br>EngagementThe social sentence and like count information for this Page. This is the same info used for the like button
fan_count<br>unsigned int32The number of users who like the Page. For Global Pages this is the count for all Pages across the brand. Can be read with Page Public Content Access or Page Public Metadata Access. For New Page Experience Pages, this field will return followers_count.
features<br>stringFeatures of the vehicle. Applicable to Vehicles. Can be read with Page Public Content Access or Page Public Metadata Access.
followers_count<br>unsigned int32Number of page followers
food_styles<br>list<string>The restaurant's food styles. Applicable to Restaurants
founded<br>stringWhen the company was founded. Applicable to Pages in the Company category. Can be read with Page Public Content Access or Page Public Metadata Access.
general_info<br>stringGeneral information provided by the Page. Can be read with Page Public Content Access or Page Public Metadata Access.
general_manager<br>stringGeneral manager of the business. Applicable to Restaurants or Nightlife. Can be read with Page Public Content Access or Page Public Metadata Access.
genre<br>stringThe genre of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
global_brand_page_name<br>stringThe name of the Page with country codes appended for Global Pages. Only visible to the Page admin. Can be read with Page Public Content Access or Page Public Metadata Access.
global_brand_root_id<br>numeric stringThis brand's global Root ID
has_added_app<br>boolIndicates whether this Page has added the app making the query in a Page tab. Can be read with Page Public Content Access.
has_lead_access<br>HasLeadAccesshas_lead_access
has_transitioned_to_new_page_experience<br>boolindicates whether a page has transitioned to new page experience or not
has_whatsapp_business_number<br>boolIndicates whether WhatsApp number connected to this page is a WhatsApp business number. Can be read with Page Public Content Access or Page Public Metadata Access.
has_whatsapp_number<br>boolIndicates whether WhatsApp number connected to this page is a WhatsApp number. Can be read with Page Public Content Access or Page Public Metadata Access.
hometown<br>stringHometown of the band. Applicable to Bands
hours<br>map<string, string>Indicates a single range of opening hours for a day. Each day can have 2 different hours ranges. The keys in the map are in the form of {day}{number}. {day} should be the first 3 characters of the day of the week, {number} should be either 1 or 2 to allow for the two different hours ranges per day. {status} should be either open or close to delineate the start or end of a time range. <br>An example with: <br>{<br>"hours": {<br> "mon_1_open": "09:00", //open at 9am on Monday<br> "mon_1_close": "12:00", //close at 12pm<br> "mon_2_open": "13:15", //open at 1:15pm<br> "mon_2_close": "18:00". //close at 6pm<br>}<br>If one specific day is open 24 hours, the range should be specified as 00:00 to 24:00. If the place is open 24/7, use the is_always_open field instead.<br>Note: If a business is open during the night, the closing time can not pass 6:00am. For example, "mon_2_open":"13:15" and "mon_2_close":"5:59" will work however "mon_close_close":"6:00" will not.
impressum<br>stringLegal information about the Page publishers. Can be read with Page Public Content Access or Page Public Metadata Access.
influences<br>stringInfluences on the band. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
instagram_business_account<br>IGUserInstagram account linked to page during Instagram business conversion flow
is_always_open<br>boolIndicates whether this location is always open. Can be read with Page Public Content Access or Page Public Metadata Access.
is_calling_eligible<br>boolis_calling_eligible
is_chain<br>boolIndicates whether location is part of a chain. Can be read with Page Public Content Access or Page Public Metadata Access.
is_community_page<br>boolIndicates whether the Page is a community Page. Can be read with Page Public Content Access or Page Public Metadata Access.
is_eligible_for_branded_content<br>boolIndicates whether the page is eligible for the branded content tool
is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web<br>boolis_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web
is_messenger_bot_get_started_enabled<br>boolIndicates whether the page is a Messenger Platform Bot with Get Started button enabled
is_messenger_platform_bot<br>boolIndicates whether the page is a Messenger Platform Bot. Can be read with Page Public Content Access or Page Public Metadata Access.
is_owned<br>boolIndicates whether Page is owned. Can be read with Page Public Content Access or Page Public Metadata Access.
is_permanently_closed<br>boolWhether the business corresponding to this Page is permanently closed. Can be read with Page Public Content Access or Page Public Metadata Access.
is_published<br>boolIndicates whether the Page is published and visible to non-admins
is_unclaimed<br>boolIndicates whether the Page is unclaimed
is_verified<br>boolDeprecated, use "verification_status". Pages with a large number of followers can be manually verified by Facebook as [having an authentic identity] (https://www.facebook.com/help/196050490547892). This field indicates whether the Page is verified by this process. Can be read with Page Public Content Access or Page Public Metadata Access.<br>Deprecated
is_webhooks_subscribed<br>boolIndicates whether the application is subscribed for real time updates from this page
keywords<br>nullDeprecated. Returns null<br>Deprecated
leadgen_tos_acceptance_time<br>datetimeIndicates the time when the TOS for running LeadGen Ads on the page was accepted
leadgen_tos_accepted<br>boolIndicates whether a user has accepted the TOS for running LeadGen Ads on the Page
leadgen_tos_accepting_user<br>UserIndicates the user who accepted the TOS for running LeadGen Ads on the page
link<br>stringThe Page's Facebook URL<br>Core
location<br>LocationThe location of this place. Applicable to all Places
members<br>stringMembers of this org. Applicable to Pages representing Team Orgs. Can be read with Page Public Content Access.
merchant_id<br>stringThe instant workflow merchant ID associated with the Page. Can be read with Page Public Content Access or Page Public Metadata Access.
merchant_review_status<br>enumReview status of the Page against FB commerce policies, this status decides whether the Page can use component flow
messaging_feature_status<br>MessagingFeatureStatusmessaging_feature_status
messenger_ads_default_icebreakers<br>list<string>The default ice breakers for a certain page
messenger_ads_default_quick_replies<br>list<string>The default quick replies for a certain page
messenger_ads_quick_replies_type<br>enumIndicates what type this page is and we will generate different sets of quick replies based on it. Values include UNKNOWN, PAGE_SHOP, or RETAIL.
mission<br>stringThe company mission. Applicable to Companies
mpg<br>stringMPG of the vehicle. Applicable to Vehicles. Can be read with Page Public Content Access or Page Public Metadata Access.
name<br>stringThe name of the Page<br>Core Default
name_with_location_descriptor<br>stringThe name of the Page with its location and/or global brand descriptor. Only visible to a page admin. Non-page admins will get the same value as name.
network<br>stringThe TV network for the TV show. Applicable to TV Shows. Can be read with Page Public Content Access or Page Public Metadata Access.
new_like_count<br>unsigned int32The number of people who have liked the Page, since the last login. Only visible to a Page admin. Can be read with Page Public Content Access or Page Public Metadata Access.
offer_eligible<br>boolOffer eligibility status. Only visible to a page admin
overall_star_rating<br>floatOverall 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.
page_token<br>stringSELF_EXPLANATORY
parent_page<br>PageParent 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.
parking<br>PageParkingParking information. Applicable to Businesses and Places
payment_options<br>PagePaymentOptionsPayment options accepted by the business. Applicable to Restaurants or Nightlife
personal_info<br>stringPersonal information. Applicable to Pages representing People. Can be read with Page Public Content Access.
personal_interests<br>stringPersonal interests. Applicable to Pages representing People. Can be read with Page Public Content Access or Page Public Metadata Access.
pharma_safety_info<br>stringPharmacy safety information. Applicable to Pharmaceutical companies. Can be read with Page Public Content Access or Page Public Metadata Access.
phone<br>stringPhone number provided by a Page. Can be read with Page Public Content Access.
pickup_options<br>list<enum>List of pickup options available at this Page's store location. Values can include CURBSIDE, IN_STORE, and OTHER.
place_type<br>enumFor places, the category of the place. Value can be CITY, COUNTRY, EVENT, GEO_ENTITY, PLACE, RESIDENCE, STATE_PROVINCE, or TEXT.
plot_outline<br>stringThe plot outline of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
preferred_audience<br>TargetingGroup of tags describing the preferred audienceof ads created for the Page
press_contact<br>stringPress contact information of the band. Applicable to Bands
price_range<br>stringPrice range of the business, such as a restaurant or salon. Values can be one of $, $$, $$$, $$$$, Not Applicable, or null if no value is set.. Can be read with Page Public Content Access or Page Public Metadata Access.
priority_hours<br>list<KeyValue:string,string>priority_hours
privacy_info_url<br>stringPrivacy url in page info section
produced_by<br>stringThe productor of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
products<br>stringThe products of this company. Applicable to Companies
promotion_eligible<br>boolBoosted posts eligibility status. Only visible to a page admin
promotion_ineligible_reason<br>stringReason for which boosted posts are not eligible. Only visible to a page admin
public_transit<br>stringPublic transit to the business. Applicable to Restaurants or Nightlife. Can be read with Page Public Content Access or Page Public Metadata Access.
rating_count<br>unsigned int32Number of ratings for the Page (limited to ratings that are publicly accessible). Can be read with Page Public Content Access or Page Public Metadata Access.
recipient<br>numeric stringMessenger page scope id associated with page and a user using account_linking_token
record_label<br>stringRecord label of the band. Applicable to Bands. Can be read with Page Public Content Access or Page Public Metadata Access.
release_date<br>stringThe film's release date. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
restaurant_services<br>PageRestaurantServicesServices the restaurant provides. Applicable to Restaurants
restaurant_specialties<br>PageRestaurantSpecialtiesThe restaurant's specialties. Applicable to Restaurants
schedule<br>stringThe air schedule of the TV show. Applicable to TV Shows. Can be read with Page Public Content Access or Page Public Metadata Access.
screenplay_by<br>stringThe screenwriter of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
season<br>stringThe season information of the TV Show. Applicable to TV Shows. Can be read with Page Public Content Access or Page Public Metadata Access.
single_line_address<br>stringThe Page address, if any, in a simple single line format. Can be read with Page Public Content Access or Page Public Metadata Access.
starring<br>stringThe cast of the film. Applicable to Films. Can be read with Page Public Content Access or Page Public Metadata Access.
start_info<br>PageStartInfoInformation about when the entity represented by the Page was started
store_code<br>stringUnique store code for this location Page. Can be read with Page Public Content Access or Page Public Metadata Access.
store_location_descriptor<br>stringLocation Page's store location descriptor
store_number<br>unsigned int32Unique store number for this location Page
studio<br>stringThe studio for the film production. Applicable to Films
supports_donate_button_in_live_video<br>boolWhether the user can add a Donate Button to their Live Videos.
talking_about_count<br>unsigned int32The number of people talking about this Page
temporary_status<br>enumIndicates how the business corresponding to this Page is operating differently than usual. Possible values:<br>- differently_open<br>- temporarily_closed<br>- operating_as_usual<br>- no_data<br>If set to differently_open use with differently_open_offerings to set status.
unread_message_count<br>unsigned int32Unread message count for the Page. Only visible to a page admin
unread_notif_count<br>unsigned int32Number of unread notifications. Only visible to a page admin
unseen_message_count<br>unsigned int32Unseen message count for the Page. Only visible to a page admin
user_access_expire_time<br>datetimeuser_access_expire_time
username<br>stringThe alias of the Page. For example, for www.facebook.com/platform the username is 'platform'<br>Core
verification_status<br>stringShowing whether this Page is verified. Value can be blue_verified or gray_verified, which represents that Facebook has confirmed that a Page is the authentic presence of the public figure, celebrity, or global brand it represents, or not_verified. This field can be read with the Page Public Metadata Access feature.
voip_info<br>VoipInfoVoip info
website<br>stringThe URL of the Page's website. Can be read with Page Public Content Access or Page Public Metadata Access.
were_here_count<br>unsigned int32The 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 &gt; Page Info &gt; Address) is disabled, then this value will also be disabled. Can be read with Page Public Content Access or Page Public Metadata Access.
whatsapp_number<br>stringThe Page's WhatsApp number. Can be read with Page Public Content Access or Page Public Metadata Access.
written_by<br>stringThe writer of the TV show. Applicable to TV Shows. Can be read with Page Public Content Access or Page Public Metadata Access.

Edges

EdgeDescription
ab_tests<br>Edge<PagePostExperiment>ab_tests
ads_posts<br>Edge<PagePost>The ad posts for this Page
agencies<br>Edge<Business>Businesses that have agency permissions on the Page
albums<br>Edge<Album>Photo albums for this Page. Can be read with Page Public Content Access.
ar_experience<br>Edge<ArAdsDataContainer>ar_experience
assigned_users<br>Edge<AssignedUser>Users assigned to this Page. Can be read with Page Public Content Access.
audio_media_copyrights<br>Edge<AudioCopyright>The music copyrights owned by this page (using alacorn)
blocked<br>Edge<Profile>User or Page Profiles blocked from this Page
businessprojects<br>Edge<BusinessProject>Business projects
call_to_actions<br>Edge<PageCallToAction>The call-to-action created by this Page. Can be read with Page Public Content Access.
canvas_elements<br>Edge<CanvasBodyElement>The canvas elements associated with this page
canvases<br>Edge<Canvas>The canvas documents associated with this page
chat_plugin<br>Edge<ChatPlugin>customization configuration values of the Page's corresponding Chat Plugin
commerce_orders<br>Edge<CommerceOrder>The commerce orders of this Page
conversations<br>Edge<UnifiedThread>This Page's conversations
crosspost_whitelisted_pages<br>Edge<Page>Pages that are allowed to crosspost
ctx_optimization_eligibility<br>Edge<CTXOptimizationEligibility>ctx_optimization_eligibility
custom_labels<br>Edge<PageUserMessageThreadLabel>custom_labels
custom_user_settings<br>Edge<CustomUserSettings>Custom user settings for a page
fantasy_games<br>Edge<FantasyGame>fantasy_games
feed<br>Edge<PagePost>This Page's feed. Can be read with Page Public Content Access.
global_brand_children<br>Edge<Page>Children Pages of a Global Pages root Page. Both default and root Page can return children Pages. Can be read with Page Public Content Access.
image_copyrights<br>Edge<ImageCopyright>Image copyrights from this page
insights<br>Edge<InsightsResult>This Page's Insights data
leadgen_forms<br>Edge<LeadGenData>A library of lead generation forms created for this page.
likes<br>Edge<Page>The Pages that this Page has liked. Can be read with Page Public Content Access. For New Page Experience Pages, this field will return followers_count.<br>Core
live_videos<br>Edge<LiveVideo>Live videos on this Page. Can be read with Page Public Content Access.
locations<br>Edge<Page>The location Pages that are children of this Page. Can be read with Page Public Content Access. To manage a child Page's location use the /{page-id}/locations endpoint.
media_fingerprints<br>Edge<MediaFingerprint>Media fingerprints from this page
message_templates<br>Edge<MessengerBusinessTemplate>message_templates
messaging_feature_review<br>Edge<MessagingFeatureReview>Feature status of the page that has been granted through feature review that show up in the page settings
messenger_call_permissions<br>Edge<MessengerCallPermissions>messenger_call_permissions
messenger_call_settings<br>Edge<MessengerCallSettings>messenger_call_settings
messenger_lead_forms<br>Edge<MessengerAdsPartialAutomatedStepList>messenger_lead_forms
messenger_profile<br>Edge<MessengerProfile>SELF_EXPLANATORY
personas<br>Edge<Persona>Messenger Platform Bot personas for the Page
photos<br>Edge<Photo>This Page's Photos. Can be read with Page Public Content Access.
picture<br>Edge<ProfilePictureSource>This Page's profile picture<br>Core
posts<br>Edge<PagePost>This Page's own Posts, a derivative of the /feed edge. Can be read with Page Public Content Access.
product_catalogs<br>Edge<ProductCatalog>Product catalogs owned by this page
published_posts<br>Edge<PagePost>All published posts by this page
ratings<br>Edge<Recommendation>Open Graph ratings given to this Page
roles<br>Edge<User>The Page's Admins
scheduled_posts<br>Edge<PagePost>All posts that are scheduled to a future date by a page
settings<br>Edge<PageSettings>Controllable settings for this page
shop_setup_status<br>Edge<CommerceMerchantSettingsSetupStatus>Shows the shop setup status
space_participants<br>Edge<Page>space_participants
store_locations<br>Edge<StoreLocation>list of the page's store locations.
subscribed_apps<br>Edge<Application>Applications that have real time update subscriptions for this Page. Note that we will only return information about the current app
tabs<br>Edge<Tab>This Page's tabs and the apps in them. Can be read with Page Public Content Access.
tagged<br>Edge<PagePost>The Photos, Videos, and Posts in which the Page has been tagged. A derivative of /feeds. Can be read with Page Public Content Access.
thread_owner<br>Edge<PageThreadOwner>App which owns a thread for Handover Protocol
threads<br>Edge<UnifiedThread>Deprecated. Use conversations instead
video_copyright_rules<br>Edge<VideoCopyrightRule>Video copyright rules from this page
video_lists<br>Edge<VideoList>Video Playlists for this Page
videos<br>Edge<Video>Videos for this Page. Can be read with Page Public Content Access.
visitor_posts<br>Edge<PagePost>Shows all public Posts published by Page visitors on the Page. Can be read with Page Public Content Access.

Error Codes

ErrorDescription
100Invalid parameter
200Permissions error
190Invalid OAuth 2.0 Access Token
80001There have been too many calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
80002There have been too many calls to this Instagram account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
102Session key invalid or no longer valid
368The action attempted has been deemed abusive or is otherwise disallowed
80005There have been too many leadgen api calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
230Permissions disallow message to user
210User not visible

Creating

This is only available to select developers. Please contact your Facebook Partner for more information.

You can make a POST request to take_thread_control edge from the following paths:

  • /{page_id}/take_thread_control

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
metadata<br>stringAdditional information about the conversation
recipient<br>ObjectThe PSID for the customer who sent the message to your business<br>Required
id<br>numeric string
follow_id
story_id<br>story_id
poll_response_id<br>poll_response_id
phone_number<br>string
name<br>Object
first_name<br>string
last_name<br>string
user_ref<br>string
comment_id
post_id<br>string
player_id<br>numeric string
one_time_notif_token<br>string
notification_messages_token<br>string
login_id<br>string

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

success: bool,

}

Error Codes

ErrorDescription
551This person isn't available right now.
100Invalid parameter
190Invalid OAuth 2.0 Access Token
200Permissions error

You can make a POST request to personas edge from the following paths:

  • /{page_id}/personas

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
name<br>stringName of a Persona<br>Required
profile_picture_url<br>URIProfile picture of a Persona<br>Required

Return Type

Struct {

id: numeric string,

}

Error Codes

ErrorDescription
100Invalid parameter
230Permissions disallow message to user

You can make a POST request to owned_pages edge from the following paths:

  • /{business_id}/owned_pages

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
entry_point<br>stringentry point of claiming BusinessClaimAssetEntryPoint
page_id<br>Page IDPage ID.<br>Required

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

access_status: string,

}

Error Codes

ErrorDescription
3944Your Business Manager already has access to this object.
3977To claim a Page in Business Manager, you must already be an Admin of the Page.
368The action attempted has been deemed abusive or is otherwise disallowed
190Invalid OAuth 2.0 Access Token
415Two factor authentication required. User have to enter a code from SMS or TOTP code generator to pass 2fac. This could happen when accessing a 2fac-protected asset like a page that is owned by a 2fac-protected business manager.
100Invalid parameter
42001This Page can't be removed because it's already linked to an Instagram business profile. To remove this Page from Business Manager, go to Instagram and convert to a personal account or change the Page linked to your business profile.
200Permissions error
413Invalid password
3982You do not have sufficient permissions to import this asset into the given Business Manager.

You can make a POST request to nlp_configs edge from the following paths:

  • /{page_id}/nlp_configs

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
api_version<br>enum {}api_version
custom_token<br>stringAn optional Wit token enable custom entities
model<br>enum {ARABIC, CHINESE, CROATIAN, CUSTOM, DANISH, DUTCH, ENGLISH, FRENCH_STANDARD, GEORGIAN, GERMAN_STANDARD, GREEK, HEBREW, HUNGARIAN, IRISH, ITALIAN_STANDARD, KOREAN, NORWEGIAN_BOKMAL, POLISH, PORTUGUESE, ROMANIAN, SPANISH, SWEDISH, VIETNAMESE}An option for which model to use in production.
n_best<br>int64The number of intents and traits to return, other than the best one.
nlp_enabled<br>booleanA boolean to enable/disable Built-In NLP.
other_language_support<br>JSON object {string : JSON object}A map of language to model type and Wit token for language identification.

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

success: bool,

}

Error Codes

ErrorDescription
80006There have been too many messenger api calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
200Permissions error

You can make a POST request to subscribed_apps edge from the following paths:

  • /{page_id}/subscribed_apps

When posting to this edge, a Page will be created.

Example

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDKcURL Graph API Explorer

POST /v25.0/{page-id}/subscribed_apps HTTP/1.1
Host: graph.facebook.com

subscribed_fields=leadgen
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->post(
    '/{page-id}/subscribed_apps',
    array (
      'subscribed_fields' => 'leadgen',
    ),
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/{page-id}/subscribed_apps",
    "POST",
    {
        "subscribed_fields": "leadgen"
    },
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
Bundle params = new Bundle();
params.putString("subscribed_fields", "leadgen");
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{page-id}/subscribed_apps",
    params,
    HttpMethod.POST,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
NSDictionary *params = @{
  @"subscribed_fields": @"leadgen",
};
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]\
                               initWithGraphPath:@"/{page-id}/subscribed_apps"\
                                      parameters:params\
                                      HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,\
                                      id result,\
                                      NSError *error) {\
    // Handle the result\
}];
curl -X POST \
  -F 'subscribed_fields="leadgen"' \
  -F 'access_token=<ACCESS_TOKEN>' \
  https://graph.facebook.com/v25.0/{page-id}/subscribed_apps

If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

ParameterDescription
subscribed_fields<br>array<enum {feed, mention, name, picture, category, description, conversations, agent_messages, agent_questions, feature_access_list, inbox_labels, standby, message_mention, messages, message_reactions, messaging_account_linking, messaging_checkout_updates, messaging_customer_information, message_echoes, message_edits, message_deliveries, message_context, messaging_game_plays, messaging_optins, messaging_optouts, messaging_payments, messaging_postbacks, messaging_pre_checkouts, message_reads, messaging_referrals, messaging_handovers, messaging_policy_enforcement, marketing_message_delivery_failed, marketing_message_echoes, marketing_message_deliveries, marketing_message_clicks, marketing_message_reads, messaging_appointments, messaging_direct_sends, messaging_fblogin_account_linking, user_action, messaging_feedback, send_cart, group_feed, calls, call_permission_reply, call_settings_update, response_feedback, messaging_integrity, business_integrity, messaging_in_thread_lead_form_submit, message_template_status_update, founded, company_overview, mission, products, general_info, leadgen, leadgen_fat, leadgen_update, location, hours, parking, public_transit, page_about_story, mcom_invoice_change, invoice_access_invoice_change, invoice_access_invoice_draft_change, invoice_access_onboarding_status_active, invoice_access_bank_slip_events, local_delivery, phone, email, website, ratings, attire, payment_options, culinary_team, general_manager, price_range, awards, hometown, current_location, bio, affiliation, birthday, personal_info, personal_interests, members, checkins, page_upcoming_change, page_change_proposal, merchant_review, product_review, videos, live_videos, video_text_question_responses, registration, payment_request_update, publisher_subscriptions, invalid_topic_placeholder, marketing_messages_subscriber_upload_status, follow, story_share, comment_poll_response, story_poll_response}>Page Webhooks fields that you want to subscribe<br>Required

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

success: bool,

}

Error Codes

ErrorDescription
200Permissions error
190Invalid OAuth 2.0 Access Token
100Invalid parameter
104Incorrect signature
210User not visible
80001There have been too many calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
102Session key invalid or no longer valid

You can make a POST request to feed edge from the following paths:

  • /{page_id}/feed

When posting to this edge, a Page will be created.

Example

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDKcURL Graph API Explorer

POST /v25.0/{page-id}/feed HTTP/1.1
Host: graph.facebook.com

message=This+is+a+test+value
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->post(
    '/{page-id}/feed',
    array (
      'message' => 'This is a test value',
    ),
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/{page-id}/feed",
    "POST",
    {
        "message": "This is a test value"
    },
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
Bundle params = new Bundle();
params.putString("message", "This is a test value");
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{page-id}/feed",
    params,
    HttpMethod.POST,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
NSDictionary *params = @{
  @"message": @"This is a test value",
};
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]\
                               initWithGraphPath:@"/{page-id}/feed"\
                                      parameters:params\
                                      HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,\
                                      id result,\
                                      NSError *error) {\
    // Handle the result\
}];
curl -X POST \
  -F 'message="This is a test value"' \
  -F 'access_token=<ACCESS_TOKEN>' \
  https://graph.facebook.com/v25.0/{page-id}/feed

If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

ParameterDescription
actionsSELF_EXPLANATORY
album_id<br>numeric stringSELF_EXPLANATORY
android_key_hash<br>stringSELF_EXPLANATORY
application_id<br>non-empty stringSELF_EXPLANATORY
asked_fun_fact_prompt_id<br>int64asked_fun_fact_prompt_id
asset3d_id<br>numeric string or integerasset3d_id
associated_id<br>numeric string or integerSELF_EXPLANATORY
attach_place_suggestion<br>booleanDefault value: false<br>SELF_EXPLANATORY
attached_media<br>list<Object>SELF_EXPLANATORY
media_fbid<br>numeric string
message<br>UTF-8 stringSupports Emoji
audience_exp<br>booleanDefault value: false<br>SELF_EXPLANATORY
backdated_time<br>datetimeSELF_EXPLANATORY
backdated_time_granularity<br>enum{year, month, day, hour, min, none}Default value: none<br>SELF_EXPLANATORY
breaking_news<br>booleanbreaking_news
breaking_news_expiration<br>int64breaking_news_expiration
call_to_action<br>ObjectSELF_EXPLANATORY<br>Supports Emoji
type<br>enum{BOOK_TRAVEL, CONTACT_US, DONATE, DONATE_NOW, DOWNLOAD, GET_DIRECTIONS, GO_LIVE, INTERESTED, LEARN_MORE, SEE_DETAILS, LIKE_PAGE, MESSAGE_PAGE, RAISE_MONEY, SAVE, SEND_TIP, SHOP_NOW, SIGN_UP, VIEW_INSTAGRAM_PROFILE, INSTAGRAM_MESSAGE, LOYALTY_LEARN_MORE, PURCHASE_GIFT_CARDS, PAY_TO_ACCESS, SEE_MORE, TRY_IN_CAMERA, WHATSAPP_LINK, GET_IN_TOUCH, TRY_NOW, ASK_A_QUESTION, START_A_CHAT, CHAT_NOW, ASK_US, CHAT_WITH_US, BOOK_NOW, CHECK_AVAILABILITY, ORDER_NOW, WHATSAPP_MESSAGE, GET_MOBILE_APP, INSTALL_MOBILE_APP, USE_MOBILE_APP, INSTALL_APP, USE_APP, PLAY_GAME, TRY_DEMO, WATCH_VIDEO, WATCH_MORE, OPEN_LINK, NO_BUTTON, LISTEN_MUSIC, MOBILE_DOWNLOAD, GET_OFFER, GET_OFFER_VIEW, BUY_NOW, BUY_TICKETS, UPDATE_APP, BET_NOW, ADD_TO_CART, SELL_NOW, GET_SHOWTIMES, LISTEN_NOW, GET_EVENT_TICKETS, REMIND_ME, SEARCH_MORE, PRE_REGISTER, SWIPE_UP_PRODUCT, SWIPE_UP_SHOP, PLAY_GAME_ON_FACEBOOK, VISIT_WORLD, OPEN_INSTANT_APP, JOIN_GROUP, GET_PROMOTIONS, SEND_UPDATES, INQUIRE_NOW, VISIT_PROFILE, CHAT_ON_WHATSAPP, EXPLORE_MORE, CONFIRM, JOIN_CHANNEL, MAKE_AN_APPOINTMENT, ASK_ABOUT_SERVICES, BOOK_A_CONSULTATION, GET_A_QUOTE, BUY_VIA_MESSAGE, ASK_FOR_MORE_INFO, VIEW_PRODUCT, VIEW_CHANNEL, WATCH_LIVE_VIDEO, JOIN_LIVE_VIDEO, IMAGINE, CALL, MISSED_CALL, CALL_NOW, CALL_ME, APPLY_NOW, BUY, GET_QUOTE, SUBSCRIBE, RECORD_NOW, VOTE_NOW, GIVE_FREE_RIDES, REGISTER_NOW, OPEN_MESSENGER_EXT, EVENT_RSVP, CIVIC_ACTION, SEND_INVITES, REFER_FRIENDS, REQUEST_TIME, SEE_MENU, SEARCH, TRY_IT, TRY_ON, LINK_CARD, DIAL_CODE, FIND_YOUR_GROUPS, START_ORDER}The type of the action. Not all types can be used for all<br>ads. Check<br>Ads Product Guide<br>to see which type can be used for based on the objective of your<br>campaign.<br>Required
value<br>ObjectDefault value: Vec<br>JSON containing the call to action data.<br>Supports Emoji
android_url<br>string
ios_url<br>string
link<br>URL
app_link<br>string
page<br>numeric string or integer
link_format<br>enum {VIDEO_LEAD, VIDEO_LPP, VIDEO_NEKO, VIDEO_NON_LINK, VIDEO_SHOP, WHATSAPP_CATALOG_ATTACHMENT}
application<br>numeric string or integer
link_title<br>stringSupports Emoji
link_description<br>stringSupports Emoji
link_caption<br>string
product_link<br>string
get_movie_showtimes<br>boolean
sponsorship<br>Object
link<br>URL
image<br>URL
video_annotation<br>Object
annotations<br>list<Object>
start_time_in_sec<br>int64
end_time_in_sec<br>int64
link<br>URL
link_title<br>string
link_description<br>string
link_caption<br>string
image_url<br>URL
header_color<br>string
logo_url<br>URL
post_click_cta_title<br>string
post_click_description_title<br>string
offer_id<br>numeric string or integer
offer_view_id<br>numeric string or integer
advanced_data<br>Object
offer_id<br>numeric string or integer
lead_gen_form_id<br>numeric string or integer
referral_id<br>numeric string or integer
search_dialog_id<br>numeric string or integer
fundraiser_campaign_id<br>numeric string or integer
event_id<br>numeric string or integer
event_tour_id<br>numeric string or integer
app_destination<br>enum {MESSENGER, MESSENGER_EXTENSIONS, MESSENGER_GAMES, LINK_CARD, MARKETPLACE, WHATSAPP, INSTAGRAM_DIRECT, INSTAGRAM_LIVE_VIDEO, FACEBOOK_LIVE_VIDEO}
app_destination_page_id<br>numeric string or integer
is_canvas_video_transition_enabled<br>boolean
whatsapp_number<br>string
preinput_text<br>string
customized_message_page_cta_text<br>string
external_offer_provider_id<br>numeric string or integer
origins<br>enum {COMPOSER, CAMERA}
object_store_urls<br>array<string>
facebook_login_spec<br>Object
facebook_login_app_id<br>numeric string or integer
offer_type<br>enum {NO_OFFER, PERCENTAGE_BASED, AMOUNT_BASED}
offer_pct_call_to_action<br>enum {TEN}
offer_amt_call_to_action<br>enum {TEN}
product_id<br>numeric string or integer
group_id<br>numeric string or integer
channel_id<br>string
land_on_whatsapp_catalog<br>enum{1, 2}
land_on_whatsapp_profile<br>string
caption<br>stringSELF_EXPLANATORY<br>Supports Emoji
child_attachments<br>list<Object>SELF_EXPLANATORY<br>Supports Emoji
picture<br>URL
name<br>stringSupports Emoji
link<br>URLRequired
caption<br>stringSupports Emoji
description<br>stringSupports Emoji
quote<br>UTF-8 stringSupports Emoji
source<br>URL
properties
object_attachment<br>numeric string or integer
height<br>int64
width<br>int64
expanded_height<br>int64
expanded_width<br>int64
referral_id<br>numeric string or integer
thumbnail<br>file
image_crops<br>dictionary { enum{191x100, 100x72, 400x150, 600x360, 100x100, 400x500, 90x160, 300x400} : <list<list<int64>>> }
call_to_action<br>ObjectSupports Emoji
type<br>enum{BOOK_TRAVEL, CONTACT_US, DONATE, DONATE_NOW, DOWNLOAD, GET_DIRECTIONS, GO_LIVE, INTERESTED, LEARN_MORE, SEE_DETAILS, LIKE_PAGE, MESSAGE_PAGE, RAISE_MONEY, SAVE, SEND_TIP, SHOP_NOW, SIGN_UP, VIEW_INSTAGRAM_PROFILE, INSTAGRAM_MESSAGE, LOYALTY_LEARN_MORE, PURCHASE_GIFT_CARDS, PAY_TO_ACCESS, SEE_MORE, TRY_IN_CAMERA, WHATSAPP_LINK, GET_IN_TOUCH, TRY_NOW, ASK_A_QUESTION, START_A_CHAT, CHAT_NOW, ASK_US, CHAT_WITH_US, BOOK_NOW, CHECK_AVAILABILITY, ORDER_NOW, WHATSAPP_MESSAGE, GET_MOBILE_APP, INSTALL_MOBILE_APP, USE_MOBILE_APP, INSTALL_APP, USE_APP, PLAY_GAME, TRY_DEMO, WATCH_VIDEO, WATCH_MORE, OPEN_LINK, NO_BUTTON, LISTEN_MUSIC, MOBILE_DOWNLOAD, GET_OFFER, GET_OFFER_VIEW, BUY_NOW, BUY_TICKETS, UPDATE_APP, BET_NOW, ADD_TO_CART, SELL_NOW, GET_SHOWTIMES, LISTEN_NOW, GET_EVENT_TICKETS, REMIND_ME, SEARCH_MORE, PRE_REGISTER, SWIPE_UP_PRODUCT, SWIPE_UP_SHOP, PLAY_GAME_ON_FACEBOOK, VISIT_WORLD, OPEN_INSTANT_APP, JOIN_GROUP, GET_PROMOTIONS, SEND_UPDATES, INQUIRE_NOW, VISIT_PROFILE, CHAT_ON_WHATSAPP, EXPLORE_MORE, CONFIRM, JOIN_CHANNEL, MAKE_AN_APPOINTMENT, ASK_ABOUT_SERVICES, BOOK_A_CONSULTATION, GET_A_QUOTE, BUY_VIA_MESSAGE, ASK_FOR_MORE_INFO, VIEW_PRODUCT, VIEW_CHANNEL, WATCH_LIVE_VIDEO, JOIN_LIVE_VIDEO, IMAGINE, CALL, MISSED_CALL, CALL_NOW, CALL_ME, APPLY_NOW, BUY, GET_QUOTE, SUBSCRIBE, RECORD_NOW, VOTE_NOW, GIVE_FREE_RIDES, REGISTER_NOW, OPEN_MESSENGER_EXT, EVENT_RSVP, CIVIC_ACTION, SEND_INVITES, REFER_FRIENDS, REQUEST_TIME, SEE_MENU, SEARCH, TRY_IT, TRY_ON, LINK_CARD, DIAL_CODE, FIND_YOUR_GROUPS, START_ORDER}The type of the action. Not all types can be used for all<br>ads. Check<br>Ads Product Guide<br>to see which type can be used for based on the objective of your<br>campaign.<br>Required
value<br>ObjectDefault value: Vec<br>JSON containing the call to action data.<br>Supports Emoji
android_url<br>string
ios_url<br>string
link<br>URL
app_link<br>string
page<br>numeric string or integer
link_format<br>enum {VIDEO_LEAD, VIDEO_LPP, VIDEO_NEKO, VIDEO_NON_LINK, VIDEO_SHOP, WHATSAPP_CATALOG_ATTACHMENT}
application<br>numeric string or integer
link_title<br>stringSupports Emoji
link_description<br>stringSupports Emoji
link_caption<br>string
product_link<br>string
get_movie_showtimes<br>boolean
sponsorship<br>Object
link<br>URL
image<br>URL
video_annotation<br>Object
annotations<br>list<Object>
start_time_in_sec<br>int64
end_time_in_sec<br>int64
link<br>URL
link_title<br>string
link_description<br>string
link_caption<br>string
image_url<br>URL
header_color<br>string
logo_url<br>URL
post_click_cta_title<br>string
post_click_description_title<br>string
offer_id<br>numeric string or integer
offer_view_id<br>numeric string or integer
advanced_data<br>Object
offer_id<br>numeric string or integer
lead_gen_form_id<br>numeric string or integer
referral_id<br>numeric string or integer
search_dialog_id<br>numeric string or integer
fundraiser_campaign_id<br>numeric string or integer
event_id<br>numeric string or integer
event_tour_id<br>numeric string or integer
app_destination<br>enum {MESSENGER, MESSENGER_EXTENSIONS, MESSENGER_GAMES, LINK_CARD, MARKETPLACE, WHATSAPP, INSTAGRAM_DIRECT, INSTAGRAM_LIVE_VIDEO, FACEBOOK_LIVE_VIDEO}
app_destination_page_id<br>numeric string or integer
is_canvas_video_transition_enabled<br>boolean
whatsapp_number<br>string
preinput_text<br>string
customized_message_page_cta_text<br>string
external_offer_provider_id<br>numeric string or integer
origins<br>enum {COMPOSER, CAMERA}
object_store_urls<br>array<string>
facebook_login_spec<br>Object
facebook_login_app_id<br>numeric string or integer
offer_type<br>enum {NO_OFFER, PERCENTAGE_BASED, AMOUNT_BASED}
offer_pct_call_to_action<br>enum {TEN}
offer_amt_call_to_action<br>enum {TEN}
product_id<br>numeric string or integer
group_id<br>numeric string or integer
channel_id<br>string
land_on_whatsapp_catalog<br>enum{1, 2}
land_on_whatsapp_profile<br>string
image_hash<br>string
static_card<br>boolean
place_data<br>Object
address_string<br>string
label<br>string
latitude
location_source_id<br>numeric string
longitude
type<br>enum {DYNAMIC, REALTIME, SINGLE}Required
video_id<br>numeric string or integer
caption_ids<br>list<numeric string or integer>
offer_id<br>numeric string or integer
marketing_message_buttons<br>array<JSON object>
custom_field_for_url_suffix<br>stringcustom_field_for_url_suffix
is_derived_from_cta<br>booleanis_derived_from_cta
android_app_metadata<br>JSON objectandroid_app_metadata
deep_link_url<br>stringdeep_link_url
type<br>enum {DEEPLINK_WITH_WEB_FALLBACK, DEEPLINK_WITH_APPSTORE_FALLBACK, WEB_ONLY}type<br>Required
app_store_url<br>stringapp_store_url
ios_app_metadata<br>JSON objectios_app_metadata
deep_link_url<br>stringdeep_link_url
type<br>enum {DEEPLINK_WITH_WEB_FALLBACK, DEEPLINK_WITH_APPSTORE_FALLBACK, WEB_ONLY}type<br>Required
app_store_url<br>stringapp_store_url
app_id<br>numeric stringapp_id
preconfigured_response_image_hash<br>stringpreconfigured_response_image_hash
preconfigured_response_video_id<br>numeric stringpreconfigured_response_video_id
preconfigured_response_video_thumbnail_url<br>stringpreconfigured_response_video_thumbnail_url
preconfigured_response_button<br>JSON objectpreconfigured_response_button
url<br>stringurl
type<br>enum {APP, COPY_CODE, PHONE_NUMBER, QUICK_REPLY, URL}type<br>Required
text<br>stringtext<br>Required
cta_type<br>enum {OPEN_LINK, LIKE_PAGE, SHOP_NOW, PLAY_GAME, INSTALL_APP, USE_APP, CALL, CALL_ME, VIDEO_CALL, INSTALL_MOBILE_APP, USE_MOBILE_APP, MOBILE_DOWNLOAD, BOOK_TRAVEL, LISTEN_MUSIC, WATCH_VIDEO, LEARN_MORE, SIGN_UP, DOWNLOAD, WATCH_MORE, NO_BUTTON, VISIT_PAGES_FEED, CALL_NOW, APPLY_NOW, CONTACT, BUY_NOW, GET_OFFER, GET_OFFER_VIEW, BUY_TICKETS, UPDATE_APP, GET_DIRECTIONS, BUY, SEND_UPDATES, MESSAGE_PAGE, DONATE, SUBSCRIBE, SAY_THANKS, SELL_NOW, SHARE, DONATE_NOW, GET_QUOTE, CONTACT_US, ORDER_NOW, START_ORDER, ADD_TO_CART, VIEW_CART, VIEW_IN_CART, VIDEO_ANNOTATION, RECORD_NOW, INQUIRE_NOW, CONFIRM, REFER_FRIENDS, REQUEST_TIME, GET_SHOWTIMES, LISTEN_NOW, TRY_DEMO, WOODHENGE_SUPPORT, SOTTO_SUBSCRIBE, FOLLOW_USER, RAISE_MONEY, SEE_SHOP, GET_DETAILS, FIND_OUT_MORE, VISIT_WEBSITE, BROWSE_SHOP, EVENT_RSVP, WHATSAPP_MESSAGE, FOLLOW_NEWS_STORYLINE, SEE_MORE, BOOK_NOW, FIND_A_GROUP, FIND_YOUR_GROUPS, PAY_TO_ACCESS, PURCHASE_GIFT_CARDS, FOLLOW_PAGE, SEND_A_GIFT, SWIPE_UP_SHOP, SWIPE_UP_PRODUCT, SEND_GIFT_MONEY, PLAY_GAME_ON_FACEBOOK, GET_STARTED, OPEN_INSTANT_APP, AUDIO_CALL, GET_PROMOTIONS, JOIN_CHANNEL, MAKE_AN_APPOINTMENT, ASK_ABOUT_SERVICES, BOOK_A_CONSULTATION, GET_A_QUOTE, BUY_VIA_MESSAGE, ASK_FOR_MORE_INFO, CHAT_WITH_US, VIEW_PRODUCT, VIEW_CHANNEL, GET_IN_TOUCH, ASK_A_QUESTION, START_A_CHAT, CHAT_NOW, ASK_US, WATCH_LIVE_VIDEO, JOIN_LIVE_VIDEO, SHOP_WITH_AI, TRY_ON_WITH_AI}cta_type
client_mutation_id<br>stringSELF_EXPLANATORY
composer_entry_picker<br>stringcomposer_entry_picker
composer_entry_point<br>stringcomposer_entry_point
composer_entry_time<br>int64composer_entry_time
composer_session_events_log<br>JSON-encoded stringcomposer_session_events_log
composer_session_id<br>stringSELF_EXPLANATORY
composer_source_surface<br>stringcomposer_source_surface
composer_type<br>stringcomposer_type
connection_class<br>stringSELF_EXPLANATORY
content_attachment<br>numeric stringcontent_attachment
coordinates<br>JSON-encoded coordinate listSELF_EXPLANATORY
cta_link<br>stringcta_link
cta_type<br>stringcta_type
description<br>stringSELF_EXPLANATORY<br>Supports Emoji
direct_share_status<br>int64direct_share_status
enforce_link_ownership<br>booleanDefault value: false<br>SELF_EXPLANATORY
expanded_height<br>int64SELF_EXPLANATORY
expanded_width<br>int64SELF_EXPLANATORY
feed_targeting<br>feed targetSELF_EXPLANATORY
geo_locations<br>Object
countries<br>list<string>
regions<br>list<Object>
key<br>int64
cities<br>list<Object>
key<br>int64
zips<br>list<Object>
key<br>string
locales<br>list<string>Values for targeted locales. Use type of adlocale to find Targeting Options and use the returned key to specify.
age_min<br>int64Must be 13 or higher. Default is 0.
age_max<br>int64Maximum age.
genders<br>list<int64>Target specific genders. 1 targets all male viewers and 2 females. Default is to target both.
college_years<br>list<int64>Array of integers. Represent graduation years from college.
education_statuses<br>list<int64>Array of integers which represent current educational status. Use 1 for high school, 2 for undergraduate, and 3 for alum (or localized equivalents).
interested_in<br>list<int64>Deprecated. Please see the Graph API Changelog for more information.<br>Deprecated
relationship_statuses<br>list<int64>Array of integers for targeting based on relationship status. Use 1 for single, 2 for 'in a relationship', 3 for married, and 4 for engaged. Default is all types.
interests<br>list<int64>One or more IDs of pages to target fans of pages.Use type of page to get possible IDs as find Targeting Options and use the returned id to specify.
formatting<br>enum {PLAINTEXT, MARKDOWN}formatting
fun_fact_prompt_id<br>numeric string or integerfun_fact_prompt_id
fun_fact_toastee_id<br>int64fun_fact_toastee_id
height<br>int64SELF_EXPLANATORY
home_checkin_city_id<br>place tagSELF_EXPLANATORY
image_crops<br>dictionary { enum{191x100, 100x72, 400x150, 600x360, 100x100, 400x500, 90x160, 300x400} : <list<list<int64>>> }SELF_EXPLANATORY
implicit_with_tags<br>list<int>SELF_EXPLANATORY
instant_game_entry_point_data<br>stringinstant_game_entry_point_data
ios_bundle_id<br>stringSELF_EXPLANATORY
is_backout_draft<br>booleanis_backout_draft
is_boost_intended<br>booleanis_boost_intended
is_explicit_location<br>booleanSELF_EXPLANATORY
is_explicit_share<br>booleanSELF_EXPLANATORY
is_group_linking_post<br>booleanis_group_linking_post
is_photo_container<br>booleanSELF_EXPLANATORY
link<br>URLSELF_EXPLANATORY
location_source_id<br>numeric string or integerlocation_source_id
manual_privacy<br>booleanDefault value: false<br>SELF_EXPLANATORY
message<br>UTF-8 stringSELF_EXPLANATORY<br>Supports Emoji
multi_share_end_card<br>booleanDefault value: true<br>SELF_EXPLANATORY
multi_share_optimized<br>booleanDefault value: true<br>SELF_EXPLANATORY
name<br>stringSELF_EXPLANATORY<br>Supports Emoji
nectar_module<br>stringSELF_EXPLANATORY
object_attachment<br>numeric string or integerSELF_EXPLANATORY
og_action_type_id<br>numeric string or integerSELF_EXPLANATORY
og_hide_object_attachment<br>booleanSELF_EXPLANATORY
og_icon_id<br>numeric string or integerSELF_EXPLANATORY
og_object_id<br>OG object ID or URL stringSELF_EXPLANATORY
og_phrase<br>UTF-8 stringSELF_EXPLANATORY<br>Supports Emoji
og_set_profile_badge<br>booleanDefault value: false<br>og_set_profile_badge
og_suggestion_mechanism<br>stringSELF_EXPLANATORY
page_recommendation<br>JSON-encoded stringpage_recommendation
picture<br>URLSELF_EXPLANATORY
place<br>place tagSELF_EXPLANATORY
place_attachment_setting<br>enum {1, 2}Default value: 2<br>place_attachment_setting
place_list<br>JSON-encoded stringplace_list
place_list_data<br>arrayplace_list_data
post_surfaces_blacklist<br>list<enum {1, 2, 3, 4, 5}>post_surfaces_blacklist
posting_to_redspace<br>enum {enabled, disabled}Default value: disabled<br>posting_to_redspace
privacy<br>Privacy ParameterSELF_EXPLANATORY
prompt_id<br>stringprompt_id
prompt_tracking_string<br>stringprompt_tracking_string
propertiesSELF_EXPLANATORY
proxied_app_id<br>numeric string or integerSELF_EXPLANATORY
publish_event_id<br>int64publish_event_id
published<br>booleanDefault value: true<br>SELF_EXPLANATORY
quote<br>UTF-8 stringquote<br>Supports Emoji
ref<br>list<string>Default value: Default<br>SELF_EXPLANATORY
referenceable_image_ids<br>list<numeric string or integer>referenceable_image_ids
referral_id<br>numeric string or integerreferral_id
scheduled_publish_time<br>datetimeSELF_EXPLANATORY
source<br>URLSELF_EXPLANATORY
sponsor_id<br>numeric string or integersponsor_id
sponsor_relationship<br>int64sponsor_relationship
suggested_place_id<br>place tagSELF_EXPLANATORY
tags<br>list<int>SELF_EXPLANATORY
target_surface<br>enum {STORY, TIMELINE}Default value: "TIMELINE"<br>target_surface
targeting<br>targetSELF_EXPLANATORY
geo_locations<br>Object
countries<br>list<string>
regions<br>list<Object>
key<br>int64
cities<br>list<Object>
key<br>int64
zips<br>list<Object>
key<br>string
locales<br>list<string>
excluded_countries<br>list<string>
excluded_regions<br>list<int64>
excluded_cities<br>list<int64>
excluded_zipcodes<br>list<string>
timezones<br>list<int64>
age_min<br>enum {13, 15, 18, 21, 25}
text_format_metadata<br>JSON-encoded stringtext_format_metadata
text_format_preset_id<br>numeric string or integertext_format_preset_id
text_only_place<br>stringSELF_EXPLANATORY
thumbnail<br>fileSELF_EXPLANATORY
time_since_original_post<br>int64SELF_EXPLANATORY
title<br>UTF-8 stringSELF_EXPLANATORY<br>Supports Emoji
tracking_info<br>JSON-encoded stringtracking_info
unpublished_content_type<br>enum {SCHEDULED, SCHEDULED_RECURRING, DRAFT, PUBLISH_PENDING, ADS_POST, INLINE_CREATED, PUBLISHED, REVIEWABLE_BRANDED_CONTENT}SELF_EXPLANATORY
user_selected_tags<br>booleanDefault value: false<br>SELF_EXPLANATORY
video_start_time_ms<br>int64video_start_time_ms
viewer_coordinates<br>JSON-encoded coordinate listSELF_EXPLANATORY
width<br>int64SELF_EXPLANATORY

Return Type

This endpoint supports read-after-write and will read the node represented by id in the return type.

Struct {

id: token with structure: Post ID,

post_supports_client_mutation_id: bool,

}

Error Codes

ErrorDescription
200Permissions error
190Invalid OAuth 2.0 Access Token
368The action attempted has been deemed abusive or is otherwise disallowed
100Invalid parameter
197The post is empty. Please enter a message to share.
283That action requires the extended permission pages_read_engagement and/or pages_read_user_content and/or pages_manage_ads and/or pages_manage_metadata
1500The url you supplied is invalid
80001There have been too many calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
194Missing at least one required parameter

You can make a POST request to messenger_lead_forms edge from the following paths:

  • /{page_id}/messenger_lead_forms

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
account_id<br>int64ID of the account
block_send_api<br>booleanWhether to block messages sent using Send API while user is in Lead Gen Experience
handover_app_id<br>int64Hand over thread to specified app after leadgen is complete
handover_summary<br>booleanOpt-in to get a summary message sent to the target HOP app at the end of the automated flow
privacy_url<br>URIPrivacy URL for Messenger Lead Gen Experience
reminder_text<br>stringReminder text that will be sent to user after inactivity
step_list<br>array<JSON object>List of steps in Messenger Lead Gen Experience<br>Required
step_id<br>int64step_id<br>Required
message<br>stringmessage<br>Required
step_type<br>enum {QUESTION, CONFIRMATION, DISCLAIMER, DISQUALIFY, INFO, INTRO, SUMMARY, POST_LEAD_TRANSITION}step_type<br>Required
reply_type<br>enum {QUICK_REPLIES, BUTTON_XMA, TEXT, NONE, PREFILL, ICE_BREAKERS, APPOINTMENT, SUBSCRIBE, CALL_PREFERENCE, CONDITIONAL_ANSWER}reply_type<br>Required
answers<br>array<string>Default value: []<br>answers
next_step_ids<br>array<int64>Default value: []<br>next_step_ids
prefill_type<br>enum {FULL_ADDRESS, STREET_ADDRESS, ZIP_CODE, POST_CODE, CITY, STATE, PROVINCE, COUNTRY, EMAIL, PHONE, JOB_TITLE, COMPANY_NAME, GENDER, DOB, DATE_TIME, SLIDER, NONE, FIRST_NAME, LAST_NAME, FULL_NAME, RELATIONSHIP_STATUS, MARITAL_STATUS, MILITARY_STATUS, WORK_EMAIL, WORK_PHONE, NATIONAL_ID_BRAZIL, NATIONAL_ID_ARGENTINA, NATIONAL_ID_PERU, NATIONAL_ID_CHILE, NATIONAL_ID_COLOMBIA, NATIONAL_ID_ECUADOR, NATIONAL_ID_MEXICO}Default value: "NONE"<br>prefill_type
crm_field_id<br>stringcrm_field_id
answer_crm_field_ids<br>array<string>Default value: []<br>answer_crm_field_ids
media_type<br>enum {TEXT, IMAGE, VIDEO}media_type
media_content<br>stringmedia_content
options_format<br>enum {TEXT, CAROUSEL}Default value: "TEXT"<br>options_format
carousel_answers<br>array<JSON object>Default value: []<br>carousel_answers
value<br>stringvalue<br>Required
media_content<br>stringmedia_content<br>Required
answer_validation_enabled<br>booleananswer_validation_enabled
invalid_reply_text<br>stringinvalid_reply_text
cta<br>JSON objectcta
cta_type<br>enum {VIEW_WEBSITE, CALL_BUSINESS, MESSAGE_BUSINESS, DOWNLOAD, SCHEDULE_APPOINTMENT, VIEW_ON_FACEBOOK, PROMO_CODE, NONE, WHATSAPP, P2B_MESSENGER, BOOK_ON_WEBSITE}cta_type<br>Required
cta_text<br>stringcta_text<br>Required
cta_content<br>stringcta_content<br>Required
allow_to_skip<br>booleanallow_to_skip
qualifying_answers_list<br>array<string>qualifying_answers_list
next_step_on_disqualification_id<br>int64next_step_on_disqualification_id
offer_code_file_id<br>int64offer_code_file_id
offer_code<br>stringoffer_code
offer_code_format<br>stringoffer_code_format
stop_question_message<br>stringConfirmation message after user clicks on the Stop Question option in persistent menu
template_name<br>stringName for the form
tracking_parameters<br>JSON object {string : string}Tracking Parameters of Lead Forms

Return Type

This endpoint supports read-after-write and will read the node represented by id in the return type.

Struct {

id: numeric string,

}

Error Codes

ErrorDescription
100Invalid parameter
368The action attempted has been deemed abusive or is otherwise disallowed

You can make a POST request to leadgen_forms edge from the following paths:

  • /{page_id}/leadgen_forms

When posting to this edge, a Page will be created.

Parameters

ParameterDescription
allow_organic_lead_retrieval<br>booleanDefault value: true<br>Previously, this flag controlled whether any leads submitted in a non-Ad context were retrievable. Now this flag will not be considered and it will be deprecated entirely. To control visibility of Lead Forms in a non-Ad context you should use 'block_display_for_non_targeted_viewer'
block_display_for_non_targeted_viewer<br>booleanWhether to make the organic post invisible to viewers in non-Ad context
context_card<br>ObjectOptional context card shown as the intro page<br>Supports Emoji
title<br>string
style<br>enum {LIST_STYLE, PARAGRAPH_STYLE}
content<br>array<string>
button_text<br>string
cover_photo_id<br>numeric string
cover_photo<br>fileCustom cover photo for context card
custom_disclaimer<br>ObjectCustomized disclaimer including title, body content with inline links, and consent checkboxes<br>Supports Emoji
title<br>string
body<br>ObjectSupports Emoji
text<br>stringRequired
url_entities<br>array<JSON object>
checkboxes<br>list<Object>
is_required<br>booleanDefault value: true
is_checked_by_default<br>booleanDefault value: false
text<br>stringRequiredSupports Emoji
key<br>stringSupports Emoji
follow_up_action_url<br>URIThe final destination URL that user will go to when clicking view website button
is_for_canvas<br>booleanDefault value: false<br>Flag to indicate that the form is going to be used under a canvas
is_optimized_for_quality<br>booleanDefault value: false<br>Flag to indicate whether the form will be optimized for quality
is_phone_sms_verify_enabled<br>booleanDefault value: false<br>Whether the form requires phone sms verification when user submits
locale<br>enum {AR_AR, CS_CZ, DA_DK, DE_DE, EL_GR, EN_GB, EN_US, ES_ES, ES_LA, FI_FI, FR_FR, HE_IL, HI_IN, HU_HU, ID_ID, IT_IT, JA_JP, KO_KR, NB_NO, NL_NL, PL_PL, PT_BR, PT_PT, RO_RO, RU_RU, SV_SE, TH_TH, TR_TR, VI_VN, ZH_CN, ZH_HK, ZH_TW}The locale of the form. Pre-defined questions renders in this locale
name<br>stringThe name that will help identity the form<br>Required
privacy_policy<br>ObjectThe url and link_text of the privacy policy of advertiser. link_text is limited to a maximum of 70 characters.<br>Supports Emoji
url<br>string
link_text<br>string
question_page_custom_headline<br>stringThe custom headline for the question page within the form
questions<br>list<Object>An array of questions of the form<br>Required
key<br>string
label<br>string
type<br>enum {CUSTOM, CITY, COMPANY_NAME, COUNTRY, DOB, EMAIL, GENDER, FIRST_NAME, FULL_NAME, JOB_TITLE, LAST_NAME, MARITIAL_STATUS, WHATSAPP_NUMBER, EDUCATION_LEVEL, WEBSITE, PHONE, PHONE_OTP, POST_CODE, PROVINCE, RELATIONSHIP_STATUS, STATE, STREET_ADDRESS, ZIP, WORK_EMAIL, MILITARY_STATUS, WORK_PHONE_NUMBER, SLIDER, STORE_LOOKUP, STORE_LOOKUP_WITH_TYPEAHEAD, DATE_TIME, ID_CPF, ID_AR_DNI, ID_CL_RUT, ID_CO_CC, ID_EC_CI, ID_PE_DNI, ID_MX_RFC, JOIN_CODE, USER_PROVIDED_PHONE_NUMBER, FACEBOOK_LEAD_ID, EMAIL_ALIAS, MESSENGER, VIN, LICENSE_PLATE, THREAD_LINK, ADDRESS_LINE_TWO}Required
inline_context<br>string
options<br>array<JSON object>
dependent_conditional_questions<br>array<JSON object>
conditional_questions_group_id<br>numeric string
should_enforce_work_email<br>booleanWhether to enable work email enforcement.
thank_you_page<br>ObjectOptional customized thank you page displayed post submission<br>Supports Emoji
title<br>stringRequired
body<br>string
short_message<br>string
button_text<br>string
button_description<br>string
business_phone_number<br>phone number string
enable_messenger<br>booleanDefault value: false
website_url<br>string
button_type<br>enum {VIEW_WEBSITE, CALL_BUSINESS, MESSAGE_BUSINESS, DOWNLOAD, SCHEDULE_APPOINTMENT, VIEW_ON_FACEBOOK, PROMO_CODE, NONE, WHATSAPP, P2B_MESSENGER, BOOK_ON_WEBSITE}Required
country_code<br>string
gated_file<br>JSON object
id<br>numeric stringid
tracking_parameters<br>JSON object {string : string}Map for additional tracking parameters to include with the form's field data
upload_gated_file<br>fileWhen using Meta's marketing API to create a lead ad, you can use this field to create a gated content thank you page. This field would be the file that you'd like to use as the gated file, and the thank you page button type should be VIEW_ON_FACEBOOK

Return Type

This endpoint supports read-after-write and will read the node represented by id in the return type.

Struct {

id: numeric string,

}

Error Codes

ErrorDescription
100Invalid parameter
192Invalid phone number
368The action attempted has been deemed abusive or is otherwise disallowed
80005There have been too many leadgen api calls to this Page account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting.
200Permissions error
105The number of parameters exceeded the maximum for this operation
190Invalid OAuth 2.0 Access Token

Updating

You can update a Page by making a POST request to /{page_id}.

Parameters

ParameterDescription
about<br>UTF-8 stringUpdate the about field. Note that this value is mapped to the Description setting in the Edit Page Info user interface.<br>Supports Emoji
accept_crossposting_handshake<br>array<JSON object>Accepts a pending crossposting request initiated by another Page
partner_page_id<br>numeric stringpartner_page_id<br>Required
allow_live<br>booleanallow_live<br>Required
allow_spherical_photo<br>booleanDefault value: false<br>Indicates that we should allow this photo to be treated as a spherical photo. This param will only be used when uploading a new image file. This will not change the behavior unless the server is able to interpret the photo as spherical, such as via Photosphere XMP metadata. Regular non-spherical photos will still be treated as regular photos even if this parameter is true.
attire<br>enum{Unspecified, Casual, Dressy}Update the attire field
begin_crossposting_handshake<br>array<JSON object>Begins the video crossposting handshake with another page
partner_page_id<br>numeric stringpartner_page_id<br>Required
allow_live<br>booleanallow_live<br>Required
category_list<br>list<numeric string>Update the category_list field
company_overview<br>stringUpdate the company_overview field
contact_address<br>ObjectUpdate the contact_address field
city_id<br>city id
street1<br>string
street2<br>string
zip<br>string
cover<br>numeric string or integerUpdate the cover field. This field can only be updated by the Page Admin or Page Editor with EDIT_PROFILE and business_management permissions.
culinary_team<br>stringUpdate the culinary_team field
delivery_and_pickup_option_info<br>array<string>delivery_and_pickup_option_info. Each String represent the url link to a delivery and pick up option webpage. The API filters out duplicated urls as well as invalidated urls. If empty array is input, delivery_and_pickup_option_info field of the page will be cleared.
description<br>stringUpdate the description field. Note that this value is mapped to the Additional Information setting in the Edit Page Info user interface.
differently_open_offerings<br>JSON object {enum {ONLINE_SERVICES, DELIVERY, PICKUP, OTHER} : boolean}Indication of services currently offered by this business. Specify "true" for all that apply. Intended to be used when temporary_status = 'differently_open'.<br>Note to restaurants: See restaurant_services for how to indicate longer term or permanent aspects of your business.
directed_by<br>stringUpdate the directed_by field
displayed_message_response_time<br>stringPage estimated message response time displayed to user
emails<br>list<string>Update the emails field
focus_x<br>floatCover photo focus x
focus_y<br>floatCover photo focus y
food_styles<br>list<enum{Afghani, American (New), American (Traditional), Asian fusion, Barbeque, Brazilian, Breakfast, British, Brunch, Buffets, Burgers, Burmese, Cajun/Creole, Caribbean, Chinese, Creperies, Cuban, Delis, Diners, Ethiopian, Fast food, Filipino, Fondue, Food stands, French, German, Greek and Mediterranean, Hawaiian, Himalayan/Nepalese, Hot dogs, Indian/Pakistani, Irish, Italian, Japanese, Korean, Latin American, Mexican, Middle Eastern, Moroccan, Pizza, Russian, Sandwiches, Seafood, Singaporean, Soul food, Southern, Spanish/Basque, Steakhouses, Sushi bars, Taiwanese, Tapas bars, Tex-Mex, Thai, Turkish, Vegan, Vegetarian, Vietnamese}>Update the food_styles field
gen_ai_provenance_type<br>enum {C2PA, IPTC, EXPLICIT, INVISIBLE_WATERMARK, C2PA_METADATA_EDITED, IPTC_METADATA_EDITED, EXPLICIT_IMAGINE, EXPLICIT_IMAGINE_ME, EXPLICIT_RESTYLE, EXPLICIT_ANIMATE, EXPLICIT_FACE_SWAP, EXPLICIT_WARDROBE, EXPLICIT_DROP_IN}gen_ai_provenance_type
general_info<br>stringUpdate the general_info field
general_manager<br>stringUpdate the general_manager field
genre<br>stringUpdate the genre field
hours<br>dictionary { string : <> }Update the hours field
ignore_coordinate_warnings<br>booleanIgnore coordinate warnings when updating this Page's location
impressum<br>stringUpdate the impressum field
is_always_open<br>booleanIs this location always open?
is_permanently_closed<br>booleanUpdate the is_permanently_closed field
is_published<br>booleanUpdate the is_published field
is_webhooks_subscribed<br>booleanIs the application subscribed for real time updates from this page?
location<br>ObjectUpdate the location field
city<br>string
city_id<br>city id
state<br>string
country<br>string
street<br>string
zip<br>string
latitude<br>float
longitude<br>float
mission<br>stringUpdate the mission field
no_feed_story<br>booleanDefault value: false<br>Don't generate a feed story for the cover photo
no_notification<br>booleanDefault value: false<br>Don't generate a notification for the cover photo
offset_x<br>integerDefault value: 50<br>Cover photo offset x
offset_y<br>integerDefault value: 50<br>Cover photo offset y
parking<br>dictionary { enum{street, lot, valet} : <boolean> }Update the parking field
payment_options<br>dictionary { enum{cash_only, visa, amex, mastercard, discover, credit_cards} : <boolean> }Update the payment_options field
phone<br>stringUpdate the phone field
pickup_options<br>array<enum {CURBSIDE, IN_STORE, OTHER}>List of pickup option types available at this Page's business location
plot_outline<br>stringUpdate the plot_outline field
price_range<br>stringUpdate the price_range field
public_transit<br>stringUpdate the public_transit field
restaurant_services<br>dictionary { enum{reserve, walkins, groups, kids, takeout, delivery, catering, waiter, outdoor} : <boolean> }Update the restaurant_services field
restaurant_specialties<br>dictionary { enum{breakfast, lunch, dinner, coffee, drinks} : <boolean> }Update the restaurant_specialties field
scrape<br>booleanRe-scrape the website associated with this Page
spherical_metadata<br>JSON objectA set of params describing an uploaded spherical photo. This param will only be used when uploading a new image file. This field is not required; if it is not present we will try to generate spherical metadata from the metadata embedded in the image. If it is present, it takes precedence over any embedded metadata. Please click to the left to expand this list and see more information on each parameter. See also the Google Photo Sphere spec for more info on the meaning of the params: https://developers.google.com/streetview/spherical-metadata
ProjectionType<br>stringAccepted values include equirectangular (full spherical photo),<br>cylindrical (panorama), and cubestrip (also known as cubemap, e.g.<br>for synthetic or rendered content; stacked vertically with 6 faces).<br>Required
CroppedAreaImageWidthPixels<br>int64--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: Very similar to equirectangular.<br>This value should be equal to the actual width of the image, and<br>together with FullPanoWidthPixels, it describes the horizontal FOV<br>of content of the image: HorizontalFOV = 360 *<br>CroppedAreaImageWidthPixels / FullPanoWidthPixels.<br>--- In cubestrip projection: This has no relationship to the pixel<br>dimensions of the image. It is simply a representation of the<br>horizontal FOV of the content of the image.<br>HorizontalFOV = CroppedAreaImageWidthPixels / PixelsPerDegree,<br>where PixelsPerDegree is defined by FullPanoWidthPixels.<br>Required
CroppedAreaImageHeightPixels<br>int64--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: This value will NOT be equal to<br>the actual height of the image. Instead, together with<br>FullPanoHeightPixels, it describes the vertical FOV of the image:<br>VerticalFOV = 180 * CroppedAreaImageHeightPixels /<br>FullPanoHeightPixels. In other words, this value is equal to the<br>CroppedAreaImageHeightPixels value that this image would have, if it<br>were projected into equirectangular format while maintaining the<br>same FullPanoWidthPixels.<br>--- In cubestrip projection: This has no relationship to the pixel<br>dimensions of the image. It is simply a representation of the<br>vertical FOV of the content of the image.<br>VerticalFOV = CroppedAreaImageHeightPixels / PixelsPerDegree,<br>where PixelsPerDegree is defined by FullPanoWidthPixels.<br>Required
FullPanoWidthPixels<br>int64--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: Very similar to<br>equirectangular. This value defines a ratio of horizontal pixels to<br>degrees in the space of the image, and in general the pixel to degree<br>ratio in the scope of the metadata object. Concretely, PixelsPerDegree =<br>FullPanoWidthPixels / 360. This is also equivalent to the<br>circumference of the cylinder used to model this projection.<br>--- In cubestrip projection: This value has<br>no relationship to the pixel dimensions of the image. It only defines<br>the pixel to degree ratio in the scope of the metadata object. It<br>represents the number of pixels in 360 degrees, so pixels per degree<br>is then given by: PixelsPerDegree = FullPanoWidthPixels / 360. As an<br>example, if FullPanoWidthPixels were chosen to be 3600, we would have<br>PixelsPerDegree = 3600 / 360 = 10. An image with a vertical field of<br>view of 65 degrees would then have a CroppedAreaImageHeightPixels value<br>of 65 * 10 = 650.<br>Required
FullPanoHeightPixels<br>int64--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: This value is equal<br>to the FullPanoHeightPixels value that this image would have, if it<br>were projected into equirectangular format while maintaining the<br>same FullPanoWidthPixels. It is always equal to<br>FullPanoWidthPixels / 2.<br>--- In cubestrip projection: This value has<br>no relationship to the pixel dimensions of the image. It is a second,<br>redundant representation of PixelsPerDegree.<br>FullPanoHeightPixels = 180 * PixelsPerDegree. It must be consistent<br>with FullPanoWidthPixels:<br>FullPanoHeightPixels = FullPanoWidthPixels / 2.<br>Required
CroppedAreaLeftPixels<br>int64Default value: 0<br>--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: This value is equal<br>to the CroppedAreaLeftPixels value that this image would have, if it<br>were projected into equirectangular format while maintaining the<br>same FullPanoWidthPixels. It is just a representation of the same<br>angular offset that it represents in equirectangular projection in the<br>Google Photo Sphere spec.<br>Concretely, AngularOffsetFromLeftDegrees = CroppedAreaLeftPixels /<br>PixelsPerDegree, where PixelsPerDegree is defined by<br>FullPanoWidthPixels.<br>--- In cubestrip projection: This value has<br>no relationship to the pixel dimensions of the image. It is just a<br>representation of the same angular offset that it represents in<br>equirectangular projection in the Google Photo Sphere spec.<br>AngularOffsetFromLeftDegrees = CroppedAreaLeftPixels / PixelsPerDegree,<br>where PixelsPerDegree is defined by FullPanoWidthPixels.
CroppedAreaTopPixels<br>int64Default value: 0<br>--- In equirectangular projection: As described in Google Photo Sphere<br>XMP Metadata spec.<br>--- In cylindrical projection: This value is equal<br>to the CroppedAreaTopPixels value that this image would have, if it<br>were projected into equirectangular format while maintaining the<br>same FullPanoWidthPixels. It is just a representation of the same<br>angular offset that it represents in equirectangular projection in the<br>Google Photo Sphere spec.<br>Concretely, AngularOffsetFromTopDegrees = CroppedAreaTopPixels /<br>PixelsPerDegree, where PixelsPerDegree is defined by<br>FullPanoWidthPixels.<br>--- In cubestrip projection: This value has<br>no relationship to the pixel dimensions of the image. It is just a<br>representation of the same angular offset that it represents in<br>equirectangular projection in the Google Photo Sphere spec.<br>AngularOffsetFromTopDegrees = CroppedAreaTopPixels / PixelsPerDegree,<br>where PixelsPerDegree is defined by FullPanoWidthPixels.
PoseHeadingDegrees<br>float
PosePitchDegrees<br>float
PoseRollDegrees<br>float
InitialViewHeadingDegrees<br>float
InitialViewPitchDegrees<br>float
InitialViewRollDegrees<br>floatThis is not currently supported
InitialViewVerticalFOVDegrees<br>floatThis is deprecated. Please use InitialVerticalFOVDegrees.
InitialVerticalFOVDegrees<br>floatYou can set the intial vertical FOV of the image. You can set either<br>this field or InitialHorizontalFOVDegrees.
InitialHorizontalFOVDegrees<br>floatYou can set the intial horizontal FOV of the image. You can set either<br>this field or InitialVerticalFOVDegrees.
PreProcessCropLeftPixels<br>int64
PreProcessCropRightPixels<br>int64
start_info<br>ObjectUpdate the start_info field
type<br>enum{Unspecified, Born, Founded, Started, Opened, Created, Launched}Required
date<br>Object
year<br>integer
month<br>integer
day<br>integer
store_location_descriptor<br>stringUpdate the store_location_descriptor field
temporary_status<br>enum {DIFFERENTLY_OPEN, TEMPORARILY_CLOSED, OPERATING_AS_USUAL, NO_DATA}Update the temporary_status field
website<br>URLUpdate the website field
zoom_scale_x<br>floatCover photo zoom scale x
zoom_scale_y<br>floatCover photo zoom scale y

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

success: bool,

}

Error Codes

ErrorDescription
100Invalid parameter
200Permissions error
210User not visible
190Invalid OAuth 2.0 Access Token
375This Page doesn't have a location descriptor. Add one to continue.
368The action attempted has been deemed abusive or is otherwise disallowed
320Photo edit failure
283That action requires the extended permission pages_read_engagement and/or pages_read_user_content and/or pages_manage_ads and/or pages_manage_metadata
160Invalid geolocation type
374Invalid store location descriptor update since this Page is not a location Page.

You can update a Page by making a POST request to /{page_id}/assigned_users.

Parameters

ParameterDescription
tasks<br>array<enum {MANAGE, CREATE_CONTENT, MODERATE, MESSAGING, ADVERTISE, ANALYZE, MODERATE_COMMUNITY, MANAGE_JOBS, PAGES_MESSAGING, PAGES_MESSAGING_SUBSCRIPTIONS, READ_PAGE_MAILBOXES, VIEW_MONETIZATION_INSIGHTS, MANAGE_LEADS, PROFILE_PLUS_FULL_CONTROL, PROFILE_PLUS_MANAGE, PROFILE_PLUS_FACEBOOK_ACCESS, PROFILE_PLUS_CREATE_CONTENT, PROFILE_PLUS_MODERATE, PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY, PROFILE_PLUS_MESSAGING, PROFILE_PLUS_ADVERTISE, PROFILE_PLUS_ANALYZE, PROFILE_PLUS_REVENUE, PROFILE_PLUS_MANAGE_LEADS, PROFILE_PLUS_CREATIVE_MANAGEMENT, PROFILE_PLUS_CREATOR_MANAGEMENT, CASHIER_ROLE, GLOBAL_STRUCTURE_MANAGEMENT, PROFILE_PLUS_GLOBAL_STRUCTURE_MANAGEMENT}>Page permission tasks to assign this user
user<br>UIDBusiness user id or system user id<br>Required

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct {

success: bool,

}

Error Codes

ErrorDescription
100Invalid parameter
200Permissions error
368The action attempted has been deemed abusive or is otherwise disallowed

You can update a Page by making a POST request to /{page_id}/page_whatsapp_number_verification.

Parameters

ParameterDescription
verification_code<br>stringThe verification code which was sent to the WhatsApp number.
whatsapp_number<br>stringThe WhatsApp number to be verified.<br>Required

Return Type

Struct {

error_message: string,

verification_status: enum,

whatsapp_number_type: int32,

whatsapp_display_number: string,

}

Error Codes

ErrorDescription
200Permissions error
100Invalid parameter
104Incorrect signature

Deleting

This is only available to select developers. Please contact your Facebook Partner for more information.

You can dissociate a Page from a Page by making a DELETE request to /{page_id}/assigned_users.

Parameters

ParameterDescription
user<br>UIDBusiness scoped user id<br>Required

Return Type

Struct {

success: bool,

}

Error Codes

ErrorDescription
100Invalid parameter
368The action attempted has been deemed abusive or is otherwise disallowed

You can dissociate a Page from a Page by making a DELETE request to /{page_id}/locations.

Parameters

ParameterDescription
location_page_ids<br>array<numeric string>Array of Page IDs for the pages to delete<br>Required
store_numbers<br>array<int64>Array of Store numbers for the pages to delete<br>Required

Return Type

Struct {

status: bool,

data: List [

Struct {

child_id: string,

success: bool,

}

],

}

Error Codes

ErrorDescription
368The action attempted has been deemed abusive or is otherwise disallowed
190Invalid OAuth 2.0 Access Token
371Invalid Page location update
100Invalid parameter