messenger-bot-tutorial icon indicating copy to clipboard operation
messenger-bot-tutorial copied to clipboard

problem getting sender id

Open husseinshaib opened this issue 8 years ago • 1 comments

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.

husseinshaib avatar Jun 02 '16 13:06 husseinshaib

Refer to, User Profile API You need to send USER_ID as param to the API in order to get the user profile info.

maheshambiga avatar Sep 12 '16 06:09 maheshambiga