Facebook Variables
Last updated
Last updated
The following variables are automatically added to your conversation when your chatbot is conversating on this channel:
Variable
Description
bot_channel
Set to "FacebookChannel"
facebook_page_id
The full id of the current Facebook page where the chatbot is hosted
facebook_page_name
The name of the current Facebook page where the chatbot is hosted
first_name
The first name of the user
last_name
The last name of the user
locale
The locale of the user in standard four letter ISO code notation (e.g. en-US)
timezone
The timezone of the user based on GMT hours shift. This value is automatically used if mode is selected for broadcasts.
profile_pic
The user public profile pic url.
gender
The user specified gender
age_range_min
The minimum age value of the age range of the user
age_range_max
The maximum age value of the age range of the user
user_id
The page-scoped id of the user
subject_to_new_eu_privacy_rules
This flag will be true if your Facebook page is subject to Facebook EU regulations. False otherwise.
Depending on user specific privacy settings some values may still be empty.