{"id":20462024,"url":"https://github.com/denvercoder1/facebook-group-feed","last_synced_at":"2025-04-13T06:20:48.276Z","repository":{"id":237419184,"uuid":"614544944","full_name":"DenverCoder1/facebook-group-feed","owner":"DenverCoder1","description":"Send new messages from public Facebook groups to a Discord channel","archived":false,"fork":false,"pushed_at":"2023-03-15T20:03:42.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T22:51:18.210Z","etag":null,"topics":["discord","facebook","hacktoberfest","webhooks"],"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/DenverCoder1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-15T20:03:39.000Z","updated_at":"2024-01-25T13:20:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebf480f9-081e-4bef-bb23-f067c0af7951","html_url":"https://github.com/DenverCoder1/facebook-group-feed","commit_stats":null,"previous_names":["denvercoder1/facebook-group-feed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Ffacebook-group-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Ffacebook-group-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Ffacebook-group-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Ffacebook-group-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DenverCoder1","download_url":"https://codeload.github.com/DenverCoder1/facebook-group-feed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248671348,"owners_count":21143076,"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":["discord","facebook","hacktoberfest","webhooks"],"created_at":"2024-11-15T12:29:37.058Z","updated_at":"2025-04-13T06:20:48.269Z","avatar_url":"https://github.com/DenverCoder1.png","language":"Python","readme":"# facebook-group-feed\n\nSend new messages from public Facebook groups to a Discord channel.\n\nTo send messages to a different source, subclass the `Channel` abstract base class (ABC) in `channel.py` and implement the `send()` method. An example structure of a post can be found in [`structure.md`](structure.md).\n\n## Installation of dependencies\n\nOptionally, create a virtual environment and activate it to avoid installing dependencies globally.\n\n```bash\nvirtualenv .venv\n\n# Linux / macOS\nsource .venv/bin/activate\n\n# Windows\n.venv\\Scripts\\activate.bat\n```\n\nInstall the dependencies.\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n```bash\ncd src\npython -m main\n```\n\nThe exact command to run depends on your Python installation. If you have multiple versions of Python installed, you may need to run `python3` instead of `python`.\n\n## Configuration\n\nThe environment variables `DISCORD_WEBHOOK_URL` and `FACEBOOK_GROUP_IDS` must be set.\n\nThe Discord webhook URL can be obtained by creating a webhook in the Discord channel you want to send messages to (1) Right-click on the channel and select \"Edit channel\", (2) In the \"Integrations\" panel, select \"Webhooks\" then \"New Webhook\", (3) Give the webhook a name and press \"Copy Webhook URL\" to obtain the URL for sending to the webhook.\n\nThe Facebook group ID can be obtained by looking at the URL of the group. For example, the group ID for https://www.facebook.com/groups/1234567890/ is `1234567890`. The group ID may also be a string representing the group name if it appears in the URL.\n\nThe variable `SENT_POSTS_FILENAME` can optionally be set to change the filename of the file that stores the IDs of posts that have already been sent. The default is `sent_posts.txt`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Ffacebook-group-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenvercoder1%2Ffacebook-group-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Ffacebook-group-feed/lists"}