{"id":15792519,"url":"https://github.com/levonet/campaigns-fb","last_synced_at":"2025-10-15T19:35:21.353Z","repository":{"id":67322382,"uuid":"125208986","full_name":"levonet/campaigns-fb","owner":"levonet","description":"Get campaign statistics from Facebook","archived":false,"fork":false,"pushed_at":"2018-03-15T14:52:50.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T23:08:18.848Z","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/levonet.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":"2018-03-14T12:28:16.000Z","updated_at":"2018-03-15T14:52:51.000Z","dependencies_parsed_at":"2023-03-11T01:26:54.972Z","dependency_job_id":null,"html_url":"https://github.com/levonet/campaigns-fb","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"2c64a2faa66e9d9152aeb9ecf05249c9b6506a6c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fcampaigns-fb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fcampaigns-fb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fcampaigns-fb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fcampaigns-fb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levonet","download_url":"https://codeload.github.com/levonet/campaigns-fb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523896,"owners_count":20791444,"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-10-04T23:01:36.834Z","updated_at":"2025-10-15T19:35:16.305Z","avatar_url":"https://github.com/levonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# campaigns-fb\n\nGet campaign statistics from Facebook\n\n```sh\n# install dependencies\nnpm install\n\n# get statistcs\nFB_ACCESS_TOKEN=\"token\" \\\n    FB_ACCOUNT_ID=\"act_0000000000000000\" \\\n    FB_CLIENT_ID=0000000000000000 \\\n    FB_CLIENT_SECRET=\"xxxxxxxxxxxxxxxxxx\" \\\n    DATE_FROM=`date -v-1m +%F` \\\n    DATE_TO=`date +%F` \\\n    SITE_MEDIUM=\"somemedium\" \\\n    SITE_SOURCE=\"somesource\" \\\n    SITE_DOMAIN=\"somedomain\" \\\n    TABLE_NAME=\"db.table\" \\\n    node index.js\n\n# Result in file fb-YYYY-DD-MM.sql, where YYYY-DD-MM is ${DATE_TO}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Fcampaigns-fb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevonet%2Fcampaigns-fb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Fcampaigns-fb/lists"}