bots


How to get name, timezone, gender of your bot user in Messenger 1.4 API?


The API responsible for getting the user's name, gender, age and timezone seems to be missing in Messenger 1.4 API. Any ideas how you can get those details in the new API?
You can use the following graph api to get bot user data:
https://graph.facebook.com/v2.8/PAGE_SCOPED_USER_ID?fields=first_name,last_name,gender,timezone&access_token=PAGE_ACCESS_TOKEN
You can access the following fields using page scoped IDs (I don't think you can access age using page scoped user ID):
first_name
last_name
gender
is_payment_enabled
locale
profile_pic
timezone
Here is the documentation: User Profile API

Related Links

Facebook Messenger Bot: Detect When Video Attachment Playback?
Is there any API for getting location of the message received for bot building?
How to continue the rest of the options after complet the form flow concept in bots
Cards(hero,sign,receipt and thumpnail) , button and image are not appearing on skype bot
Can I start the conversation with messenger bot?
Telegram Bot Event When Users Join To Channel
smooch bot does not return auto reply
How do I make a slack bot leave a channel?
How to have Facebook Messenger Bot send a message on button click
Bot Framework V3 - How to define HandleSystemMessage
BotFramework: Start a Form from a Dialog using Intents
Can a slack bot message another bot?
Facebook Messenger Bot: Detect refocus on conversation?
Slack: Bot name in sent messages
Is there any size limit for displaying Images or number of images in Slack Bot
What is the difference between a software BOT, “an executable that always runs” and a software server?

Categories

HOME
qt
powerbi
class
ontouchlistener
yahoo-weather-api
couchdb
transactions
antd
foaf
message-queue
dafny
ews
slider
biztalk-2010
cdi
save
angular2-template
twitter-oauth
nexus3
sql-injection
reselect
vertica
tomcat8
renderscript
social-tables
bsd
batch-rename
amazon-sns
android-service
fatfs
autodesk-model-derivative
windows2012
steam-web-api
actframework
shapeless
advanced-filter
ms-solver-foundation
twilio-php
telephonymanager
django-smart-selects
linq.js
yoast
qvtkwidget
icecast
openstack-glance
skip-lists
aurelia-fetch-client
algebra
polymaps
nrf51
d3v4
nitrousio
qtextedit
pjax
metabase
xmlbeans
spring-mongo
dojo-build
odp.net-managed
teamviewer
jsr363
trust
wikimedia-commons
gluon-desktop
componentart
kefir.js
text-align
image-rotation
wso2bam
jack
gpu-programming
jomsocial
principalcontext
cloo
autonumber
spring-security-acl
facebook-game-groups
illuminate-container
rautomation
semantic-merge
stretch
sfinae
coordinate
struts2-s2hibernate
botnet
anonymous-types
pyjamas
.net-services
html-components
gtktextview
index.dat
chronic
html-generation
jvm-bytecode

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App