{"id":18974998,"url":"https://github.com/bufferapp/facebook-api-wrapper","last_synced_at":"2025-06-22T01:35:29.251Z","repository":{"id":22029799,"uuid":"94859509","full_name":"bufferapp/facebook-api-wrapper","owner":"bufferapp","description":"Buffer's Facebook PHP API wrapper","archived":false,"fork":false,"pushed_at":"2025-05-06T10:00:28.000Z","size":118,"stargazers_count":13,"open_issues_count":1,"forks_count":7,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-06-01T16:18:25.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bufferapp.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,"zenodo":null}},"created_at":"2017-06-20T06:54:37.000Z","updated_at":"2025-05-06T10:00:33.000Z","dependencies_parsed_at":"2025-04-09T12:22:54.097Z","dependency_job_id":"2845047a-9299-408f-9e35-2cc594370a7d","html_url":"https://github.com/bufferapp/facebook-api-wrapper","commit_stats":{"total_commits":67,"total_committers":8,"mean_commits":8.375,"dds":0.6865671641791045,"last_synced_commit":"38bfc7795a46e101526a9b3a93adafefd698d5b6"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/bufferapp/facebook-api-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Ffacebook-api-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Ffacebook-api-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Ffacebook-api-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Ffacebook-api-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufferapp","download_url":"https://codeload.github.com/bufferapp/facebook-api-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Ffacebook-api-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261220801,"owners_count":23126820,"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-11-08T15:16:55.089Z","updated_at":"2025-06-22T01:35:24.239Z","avatar_url":"https://github.com/bufferapp.png","language":"PHP","readme":"# facebook-api-wrapper\nBuffer's Facebook PHP API wrapper\n\nOur FB API wrapper library provides helpful utility methods to work with [FB Graph API](https://developers.facebook.com/docs/graph-api).\n\nMethods supported in the wrapper:\n- `setAccessToken($accessToken)`\n- `getPageInsightsMetricsData($pageId, $insightsMetrics, $since, $until)`\n- `getPagePostGraphMetricsData($pageId, $postId, $metrics)`\n- `getPageBatchPostsGraphMetricsData($postIds, $metrics)`\n- `getPagePostInsightsMetricData($pageId, $postId, $insightsMetrics)`\n- `getPageBatchPostsInsightsMetricData($postIds, $insightsMetrics)`\n- `getPagePosts($pageId, $since, $until, $limit = 100)`\n\n\nRequirement \u0026 Installation\n-----\nThis package requires PHP 5.6 or higher.\n\nOpen your composer.json file and add the new required package.\n```\n   \"bufferapp/facebook-api-wrapper\": \"^1.0.0\"\n```\n\nNext, open a terminal and run.\n```\ncomposer update\n```\n\nNow you can reference the wrapper anywhere as `use Buffer\\Facebook\\Facebook;`.\n\n\nTests\n-----\nBefore running the tests make sure you have installed all the dependancies with\n`composer install`.\n\nThe tests can be executed by using this command from the base directory:\n\n    bin/phpunit -c phpunit.xml --bootstrap vendor/autoload.php\n\nContributing\n----\n\nYou're welcome to contribute to this repo.\n\n\n## Did you find a bug?\n\nIf you found a bug then please go ahead and [open a GitHub issue](https://github.com/bufferapp/facebook-api-wrapper/issues), and we'll try to fix it as soon as possible.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Ffacebook-api-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufferapp%2Ffacebook-api-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Ffacebook-api-wrapper/lists"}