{"id":15714310,"url":"https://github.com/singhkunal2050/facebookslacknotifier","last_synced_at":"2026-05-05T15:36:03.622Z","repository":{"id":256232054,"uuid":"852403551","full_name":"singhkunal2050/FacebookSlackNotifier","owner":"singhkunal2050","description":"Slack Notification Integration for Facebook Messages","archived":false,"fork":false,"pushed_at":"2024-09-24T04:08:27.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:46:41.906Z","etag":null,"topics":["express","facebook","integration","node","sdk","slack","webhook"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/singhkunal2050.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":"2024-09-04T18:40:17.000Z","updated_at":"2024-09-24T04:08:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"00352172-0c25-45fe-804c-70893a0b5833","html_url":"https://github.com/singhkunal2050/FacebookSlackNotifier","commit_stats":null,"previous_names":["singhkunal2050/facebookslacknotifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhkunal2050%2FFacebookSlackNotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhkunal2050%2FFacebookSlackNotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhkunal2050%2FFacebookSlackNotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhkunal2050%2FFacebookSlackNotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhkunal2050","download_url":"https://codeload.github.com/singhkunal2050/FacebookSlackNotifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372502,"owners_count":20766625,"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":["express","facebook","integration","node","sdk","slack","webhook"],"created_at":"2024-10-03T21:36:04.670Z","updated_at":"2026-05-05T15:36:03.434Z","avatar_url":"https://github.com/singhkunal2050.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack-Facebook Integration Project\n\n## Demo \n\n\u003c!https://www.loom.com/ share/93342a285e884831bc82cff51af22bd9(test)!\u003e\n\n## Project Objective\n\nThis project integrates Slack and Facebook, enabling automatic messaging in a Slack channel whenever a new message is received on a Facebook page. The integration is built using TypeScript, Express.js, and Slack's Web API.\n\n## Features\n\n- **Facebook Integration:** Listens for new messages on a Facebook page.\n- **Slack Integration:** Automatically posts these messages to a specified Slack channel.\n- **Secure Communication:** Ensures secure interaction between Facebook and Slack via a verification process.\n\n## Project Setup\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed on your machine:\n\n- **Node.js** (version 16.x or later)\n- **npm** (globally installed)\n\n### 1. Clone the Repository\n\n`git clone git@github.com:singkunal2050/facebookslacknotifier.git`\n\n### 2. Install Dependencies\n\n`npm install`\n\n### 3. Create Environment Configuration\n\nCreate a `src/configs.ts` file with the following content:\n\n```javascript\nconst configs = {\n  token: \"your-slack-bot-token\",\n  channelId: \"your-slack-channel-id\",\n  verifyToken: \"your-facebook-verify-token\",\n};\n\nexport default configs;\n```\n\nReplace `'your-slack-bot-token'`, `'your-slack-channel-id'`, and `'your-facebook-verify-token'` with your actual values.\n\n- ** Note: Use Environment Variables for these Sensitive Information **\n\n```.env\nSLACK_TOKEN=your-slack-token\nSLACK_CHANNEL_ID=your-channel-id\nVERIFY_TOKEN=your-verify-token\nappPort=3000\n```\n\n### 4. Start the Development Server\n\n`npm run dev`\n\nThis will start the server using `nodemon`.\n\n### 5. Deploy the Application\n\n`npm run serve`\n\nThis will serve the application using `node`.\n\n## Project Structure\n\n\u003c!--\n`` |-- src\n|   |-- index.ts          # Main entry point\n|   |-- configs.ts        # Configuration file for API tokens\n|   |-- slack.ts          # Slack integration logic\n|   `-- facebook.ts       # Facebook webhook handler (if any)\n|\n|-- package.json          # Project dependencies and scripts\n|-- tsconfig.json         # TypeScript configuration\n|-- README.md             # Project documentation `` --\u003e\n\n## Additional Details\n\n- **OAuth Scopes Required:**\n\n  - `channels:join`\n  - `channels:read`\n  - `chat:write`\n\n- **Webhook Verification:** This project uses Facebook's webhook verification process. Ensure that your Facebook app's webhook is set up correctly to receive updates.\n- **Troubleshooting:** If you encounter issues, ensure all environment variables are correctly set and that the Slack bot is invited to the correct channel.\n\n- **Logging:** The project uses the `winston` library for logging. The log file is located at `/app.log`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghkunal2050%2Ffacebookslacknotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghkunal2050%2Ffacebookslacknotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghkunal2050%2Ffacebookslacknotifier/lists"}