Created
August 4, 2016 06:38
-
-
Save xVir/2afaf50b561aadee574ba711da611d0d to your computer and use it in GitHub Desktop.
Get user id in FB API.AI bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let apiaiRequest = apiAiService.textRequest(text, | |
{ | |
sessionId: sessionIds.get(sender), | |
contexts: [ | |
{ | |
name: "generic", | |
parameters: { | |
facebook_user_id: sender | |
} | |
} | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment