Skip to content

Instantly share code, notes, and snippets.

@ispiropoulos
ispiropoulos / Readme.md
Last active September 14, 2023 12:29 — forked from mikkipastel/index.js
facebook chatbot from cloud function in firebase

Firebase Cloud function for simple Messenger greet and echo Bot

Notes

You need to add 3 environment variables:

ACCESS_TOKEN

This is the page specific access token you have generated, from the app settings on the Facebook developers console

VERIFY_TOKEN

This is the verify token you will provide when you subscribe the app to the webhook on the Facebook developers console

@ispiropoulos
ispiropoulos / 0_reuse_code.js
Created February 3, 2016 10:53
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console