messenger-bot-tutorial
messenger-bot-tutorial copied to clipboard
problem getting sender id
Hi, I have created my bot and it is working like a charm. I want to know the facebook ID of the person who is contacting my bot.
event.sender.id
is returning ID of my facebook page. I need to know the ID in order to know the name of this person and some other info so that I am able to process his request.
Can u help plz.
Refer to, User Profile API You need to send USER_ID as param to the API in order to get the user profile info.