{"id":18539073,"url":"https://github.com/simov/facebook-sync","last_synced_at":"2026-07-19T13:33:50.320Z","repository":{"id":66028222,"uuid":"107090165","full_name":"simov/facebook-sync","owner":"simov","description":"Sync Facebook Feeds and Events","archived":false,"fork":false,"pushed_at":"2018-01-19T13:38:38.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T13:02:40.764Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simov.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":"2017-10-16T07:04:16.000Z","updated_at":"2017-10-16T07:05:03.000Z","dependencies_parsed_at":"2023-03-18T22:38:40.059Z","dependency_job_id":null,"html_url":"https://github.com/simov/facebook-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simov/facebook-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Ffacebook-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Ffacebook-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Ffacebook-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Ffacebook-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/facebook-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Ffacebook-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279102758,"owners_count":26104113,"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-10-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2024-11-06T19:46:09.018Z","updated_at":"2025-10-15T18:49:47.662Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# facebook-sync\n\n- Syncs multiple Facebook feeds and their posts, created since certain point in time and also removes duplicate posts.\n- Syncs Facebook events based on feed posts.\n- Post's and Event's fields to retrieve can be configured.\n\n## CLI\n\n```bash\nnode bin/ \\\n  --auth auth.json \\\n  --config config.json \\\n  --fields fields.json \\\n  --db db.json \\\n  --sync feeds|events\n```\n\n## auth.json\n\n```json\n{\n  \"development\": {\n    \"token\": \"[Facebook Access Token]\"\n  }\n}\n```\n\n## config.json\n\n```json\n{\n  \"development\": {\n    \"nuc\": {\n      \"feeds\": [\n        \"[Feed ID 1]\",\n        \"[Feed ID N]\"\n      ],\n      \"sync\": {\n        \"limit\": 10, // how many posts to retrieve from each feed\n        \"since\": 0 // filter posts created since timestamp (automatically updated)\n      }\n    }\n  }\n}\n```\n\n## fields.json\n\n```json\n{\n  \"development\": {\n    \"post\": [\n      \"id\",\n      \"admin_creator\",\n      \"application\",\n      \"call_to_action\",\n      \"caption\",\n      \"created_time\",\n      \"description\",\n      \"feed_targeting\",\n      \"from\",\n      \"icon\",\n      \"instagram_eligibility\",\n      \"is_hidden\",\n      \"is_instagram_eligible\",\n      \"is_published\",\n      \"link\",\n      \"message\",\n      \"message_tags\",\n      \"name\",\n      \"object_id\",\n      \"parent_id\",\n      \"permalink_url\",\n      \"picture\",\n      \"place\",\n      \"privacy\",\n      \"properties\",\n      \"shares\",\n      \"source\",\n      \"status_type\",\n      \"story\",\n      \"story_tags\",\n      \"targeting\",\n      \"to\",\n      \"type\",\n      \"updated_time\",\n      \"with_tags\"\n    ],\n    \"event\": [\n      \"id\",\n      \"attending_count\",\n      \"can_guests_invite\",\n      \"can_viewer_post\",\n      \"category\",\n      \"cover\",\n      \"declined_count\",\n      \"description\",\n      \"end_time\",\n      \"guest_list_enabled\",\n      \"interested_count\",\n      \"is_canceled\",\n      \"is_draft\",\n      \"is_page_owned\",\n      \"is_viewer_admin\",\n      \"maybe_count\",\n      \"name\",\n      \"noreply_count\",\n      \"owner\",\n      \"parent_group\",\n      \"place\",\n      \"start_time\",\n      \"ticket_uri\",\n      \"timezone\",\n      \"type\",\n      \"updated_time\"\n    ]\n  }\n}\n```\n\n## db.json\n\n```json\n[] // initially empty, will be populated automatically\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Ffacebook-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Ffacebook-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Ffacebook-sync/lists"}