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

Multiple users in bot framework
Don't let member to send message in telegram group
Connecting a bot to Microsoft Teams with dedicated API?
How do I parse string response in api.ai?
C# Bot Framework : Form flow set value for the field based on previous Answer [duplicate]
Connecting existing Slack RTM bots to new Microsoft bot framework back end after upgrade
Cancel a prompt or dialog after certain time - Bot Framework
How do I add a deep link to an app from my messenger bot?
How can I use the same bot on multiple facebook pages using bot framework
Why have I no callback query when i use URL in inline_keyboard?
Bot service with OAuth endpoint
What is the right way to measure time between bot's message and user's answer in the bot framework?
Telegram bot issue
Design custom entities for api.ai
How can I make a program to operate another program? [closed]
How to get the Skype username using skype calling feature

Categories

HOME
entity-framework
class
matrix
couchdb
semantic-web
mongoid
portable-class-library
apache-kafka-connect
save
phpseclib
erd
cname
stimulsoft
synthesis
jqxgrid
parceler
error-logging
ini
quartz.net
tortoisemerge
oracleforms
sfml
microprocessors
docx4j
google-play-developer-api
wampsharp
shapeless
dreamfactory
textmate2
bluemixtools
cargo
forms-authentication
cartopy
mv
widestring
rdp
netapp
system-on-chip
spooler
jqgrid-asp.net
permission-denied
common-table-expression
realstudio
return-type
sharpdx
karabiner
renderman
redisson
wikimapia
clrs
lvalue
bpms
qtextedit
elastic4s
deviare
java-2d
tsqlt
yii2-model
deferred-rendering
noclassdeffounderror
simian
miniconda
in-app-billing
perceptron
msgpack
auto-generate
org-babel
deque
text-align
nssortdescriptor
tidyr
phonegap-facebook-plugin
dos2unix
symja
dmake
network-printers
two.js
fileshare
xulrunner
typesafe-stack
meteorite
codahale-metrics
quickgraph
apportable
nsmutablestring
clearinterval
first-class
uploading
acpi
quartz-core
play2-mini
representation
botnet
activestate
asdoc
fxruby
jquery-effects
version-control-migration
synthesizer

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