{"id":20610546,"url":"https://github.com/jabhij/facebook_chatbot","last_synced_at":"2025-09-03T05:43:33.619Z","repository":{"id":41512110,"uuid":"71221026","full_name":"jabhij/Facebook_ChatBot","owner":"jabhij","description":"Creating a ChatBot using Python for my facebook page.","archived":false,"fork":false,"pushed_at":"2022-11-19T15:07:13.000Z","size":12,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-27T11:47:46.920Z","etag":null,"topics":["chatbot","facebook","flask","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabhij.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}},"created_at":"2016-10-18T07:32:09.000Z","updated_at":"2024-05-28T14:09:28.000Z","dependencies_parsed_at":"2023-01-21T20:19:40.172Z","dependency_job_id":null,"html_url":"https://github.com/jabhij/Facebook_ChatBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jabhij/Facebook_ChatBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabhij%2FFacebook_ChatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabhij%2FFacebook_ChatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabhij%2FFacebook_ChatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabhij%2FFacebook_ChatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabhij","download_url":"https://codeload.github.com/jabhij/Facebook_ChatBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabhij%2FFacebook_ChatBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273397843,"owners_count":25098234,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatbot","facebook","flask","python","python3"],"created_at":"2024-11-16T10:17:10.154Z","updated_at":"2025-09-03T05:43:33.593Z","avatar_url":"https://github.com/jabhij.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Facebook ChatBot\n\nCreating a ChatBot using Python for my [Facebook Page](https://www.facebook.com/geeksangle/).\n\n## Description\n\n- Language: Python\n- Packages: `Flask \u0026 Requests`\n- Input: `From your Facebook Page`\n- Output: `Message Deliveries, Message Reads, Messages, Message Echoes, Messaging Options, Messaging Postbacks, etc info.`\n\n## How To?\n\nFollow the steps described below.\n\n### 1 - Install Dependencies \n\n#### 1.1 Python Packages\n\nInstall Flask and requests using `pip` if you already don't have any in your machine.\n\n`pip install flask`    \n`pip install requests`\n\n#### 1.2 ngrok\n\nFor the headache free webhook integrations and securing tunnel connection with facebook.\n\nInstall `ngrok` from [web - ngrok](https://ngrok.com/)\n\n### 2 - Runing Server \u0026 Tunnel Connection\n\n- Run the dev server using    \n`fb_chatbot_server.py`\n\n- Now use `ngrok` to tunnel the connection, as:   \n`ngrok http 80`\n\n- Now, you'll get to see a active url for your local server, as:    \n`https://4e9f87b7.ngrok.io`\n\n### 3 - Setup Facebook App (Guidelines)\n\n- Create a [Facebook App](https://developers.facebook.com/apps/).\n- Add a Product- `Messenger`.\n- Enable webhooks. Use the above URL as the callback webhook URL.\n- Edit [fb_chatbot_server.py](https://github.com/jabhij/Facebook_ChatBot/blob/master/fb_chatbot_server.py) and update the `VERIFY_TOKEN` with the token you set.\n- Once the callback is verified, subscribe the app to one of your pages.\n- Generate a `Page Access Token` for your page.\n- Edit [fb_chatbot_server.py](https://github.com/jabhij/Facebook_ChatBot/blob/master/fb_chatbot_server.py) and update the `ACCESS_TOKEN` with the new token.\n\n### Catch me\n\nFor any query, ping me on \n- LinkedIn: [@jabhij](https://www.linkedin.com/in/jabhij/)\n- Twitter: [@jabhij](https://twitter.com/jabhij)\n- Web: [LetUsTweak](http://letustweak.com)\n\nHope, it helps!! ヅ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabhij%2Ffacebook_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabhij%2Ffacebook_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabhij%2Ffacebook_chatbot/lists"}