-
-
Save cristoferdomingues/74eba246bdbc92106793a9d184796782 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