{"id":19935132,"url":"https://github.com/optimizely/messenger-fullstack-example","last_synced_at":"2025-05-03T12:31:03.815Z","repository":{"id":71780358,"uuid":"102145818","full_name":"optimizely/messenger-fullstack-example","owner":"optimizely","description":"An example of using Full Stack with Facebook messenger","archived":true,"fork":false,"pushed_at":"2023-02-27T16:51:07.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-16T13:42:15.305Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/optimizely.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-01T19:21:01.000Z","updated_at":"2024-06-08T05:40:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0d302e9-b368-40d5-a0cc-3173945e5b8d","html_url":"https://github.com/optimizely/messenger-fullstack-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Fmessenger-fullstack-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Fmessenger-fullstack-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Fmessenger-fullstack-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Fmessenger-fullstack-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/optimizely","download_url":"https://codeload.github.com/optimizely/messenger-fullstack-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190710,"owners_count":21708934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:18:54.017Z","updated_at":"2025-05-03T12:31:03.809Z","avatar_url":"https://github.com/optimizely.png","language":"JavaScript","readme":"# Facebook Messenger Full Stack Demo\n\n---\n\nA Facebook messenger bot that uses Full Stack to test responses and interactions with users.\n\n# Local Environment Setup\n\n---\nAccount Setup\n1. Create an Optimizely Full Stack project\n2. Access a Facebook Developer account, and create a new app for Messenger [](https://developers.facebook.com/docs/messenger-platform/guides/quick-start)\n3. Create a Verify Token for authentication with Facebook (select messages \u0026 messaging_postbacks for your Subscription fields)\n\nDeveloper Setup\n1. Clone the repo\n2. Run ```npm install```\n3. Create a .env file ```touch .env```\n4. Enter your Optimizely Full Stack project in the .env file as ```PROJECT_ID={your project id}```\n5. Enter your Facebook API token in the .env file as ```FACEBOOK_TOKEN={your token}```\n6. Enter your verify token in the .env file as ```VERIFY_TOKEN={your token}```\n6. To start the app after setup, ```npm start```\n\nNote: You will also need to have a publicly accessible url to receive POSTs from Facebook for authentication and to receive incoming messages. One recommended approach to do this locally is to use [Ngrok](https://www.npmjs.com/package/ngrok) or deploy the sample app to [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizely%2Fmessenger-fullstack-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptimizely%2Fmessenger-fullstack-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizely%2Fmessenger-fullstack-example/lists"}