Last active
April 18, 2018 08:18
-
-
Save CedricL46/c52ea159f47044cec1a7fe07256ada4a to your computer and use it in GitHub Desktop.
ClaudiaBotBuilder Configure facebook step commands : https://cedricleruth.com/how-to-build-a-facebook-chatbot-aws-lambda-and-claudia-js-bot-builder/
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
ubuntu@ip-YourComputer:~/FbJokeBot$ claudia update --configure-fb-bot | |
updating REST API apigateway.createResource parentId=parentId pathPart=facebook restApiId=0s7tsgupdating REST API apigateway.createResource parentId=parentId pathPart=telegram restApiId=0s7tsgupdating REST API apigateway.createResource parentId=parentId pathPart=groupme restApiId=0s7tsgrate-limited by AWS, waiting before retry apigateway.setAcceptHeader | |
Facebook Messenger setup | |
Following info is required for the setup, for more info check the documentation. | |
Your webhook URL is: https://YourAmazonLambdaGeneratedURL/latest/facebook | |
Your verify token is: AClaudiaGeneratedToken | |
Facebook page access token: YourAppPageAccessToken(Messenger>Parameters>GenerateToken) | |
Facebook App Secret: YourAppSecretKey(found in your app parameters) | |
rate-limited by AWS, waiting before retry apigateway.setAcceptHeader | |
{ | |
"FunctionName": "fbjokebot", | |
"FunctionArn": "arn:aws:lambda:eu-west-1:YOURID:function:fbjokebot:8", | |
"Runtime": "nodejs6.10", | |
"Role": "arn:aws:iam::YOURID:role/fbjokebot-executor", | |
"Handler": "bot.proxyRouter", | |
"CodeSize": 737045, | |
"Description": "https://cedricleruth.com/how-to-build-a-facebook-chatbot-aws-lambda-and-claudia-js-bot-builder/", | |
"Timeout": 3, | |
"MemorySize": 128, | |
"LastModified": "2018-04-18T07:44:11.911+0000", | |
"CodeSha256": "9KZRL6kxmO5gT/+=", | |
"Version": "8", | |
"KMSKeyArn": null, | |
"TracingConfig": { | |
"Mode": "PassThrough" | |
}, | |
"MasterArn": null, | |
"RevisionId": "25b967bb-188e-46b2-8544-97ca5b9af57e", | |
"url": "https://YourAmazonLambdaGeneratedURL/latest", | |
"deploy": { | |
"facebook": "https://YourAmazonLambdaGeneratedURL/latest/facebook", | |
"slackSlashCommand": "https://YourAmazonLambdaGeneratedURL/latest/slack/slash-command", | |
"telegram": "https://YourAmazonLambdaGeneratedURL/latest/telegram", | |
"skype": "https://YourAmazonLambdaGeneratedURL/latest/skype", | |
"twilio": "https://YourAmazonLambdaGeneratedURL/latest/twilio", | |
"kik": "https://YourAmazonLambdaGeneratedURL/latest/kik", | |
"groupme": "https://YourAmazonLambdaGeneratedURL/latest/groupme", | |
"line": "https://YourAmazonLambdaGeneratedURL/latest/line", | |
"viber": "https://YourAmazonLambdaGeneratedURL/latest/viber", | |
"alexa": "https://YourAmazonLambdaGeneratedURL/latest/alexa" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment