Required help in retrieving facebook username
Hello Team
How to retrieve Facebook name using BOT Framework in node js?
The "user" object on the incoming message has the user's Facebook name in it.
How to represent the syntax in coding since I am new to this I am not aware of it. On Sat, 8 Oct 2016 at 2:53 AM, Jim Lewallen [email protected] wrote:
The "user" object on the incoming message has the user's Facebook name in it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1401#issuecomment-252364516, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frlFMbPAsdtJ6havRafkzcHeGj1rbks5qxrhjgaJpZM4KQwPC .
@vignestheo does this help? https://developers.facebook.com/docs/messenger-platform/user-profile
Thanks for your response I have a another query How to send messages to only certain users of it matches with some variables as condition e.g. Location is Madurai then I will take their facebook id's and using that facebook id's whether I can send broadcast message to only those users.
On Wed, 12 Oct 2016 at 7:02 AM, Dan Marshall [email protected] wrote:
@vignestheo https://github.com/vignestheo does this help? https://developers.facebook.com/docs/messenger-platform/user-profile
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1401#issuecomment-253094544, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5froilYfRTnvfXzWlwifkD0KRo-V0Tks5qzDiogaJpZM4KQwPC .
@Stevenic or @maxpert can you comment or close appropriately?
Sorry for the delay... @vignestheo did you figure this out? unfortunately you'll need to track the address object of every user that contacts your bot and then do your own segmentation based on region. To send a notification you'll then need to do a bot.send() to each user in the given region.
How to do session reset ? and how to clear the session data? and how to do set time out for the particular session
On Mon, Dec 12, 2016 at 2:13 PM Steven Ickman [email protected] wrote:
Sorry for the delay... @vignestheo https://github.com/vignestheo did you figure this out? unfortunately you'll need to track the address https://docs.botframework.com/en-us/node/builder/chat-reference/interfaces/_botbuilder_d_.imessage.html#address object of every user that contacts your bot and then do your own segmentation based on region. To send a notification you'll then need to do a bot.send() to each user in the given region.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1401#issuecomment-266372111, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frtOfgwneRiUi2AM_lSSQLdp6z5hTks5rHQkjgaJpZM4KQwPC .
This issue is getting a little overloaded. Could you create a new issue and provide more details about what you're trying to do?
I just went through this as part of BotBuilder v3.8, and I decided to write about the steps here if anyone is interested:)
http://chitrang.me/2017/05/24/facebook-user-name-bot-framework-botbuilder/