{"id":13584672,"url":"https://github.com/dedalozzo/facebook-od","last_synced_at":"2025-08-29T14:16:58.680Z","repository":{"id":56938273,"uuid":"86618523","full_name":"dedalozzo/facebook-od","owner":"dedalozzo","description":"Facebook Open Graph Object Debugger Command-Line Interface (CLI).","archived":false,"fork":false,"pushed_at":"2019-01-08T12:18:28.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T14:43:08.197Z","etag":null,"topics":["cache","cli","debugger","facebook","object","open-graph","php","refresh","scrape"],"latest_commit_sha":null,"homepage":"","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/dedalozzo.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}},"created_at":"2017-03-29T18:55:53.000Z","updated_at":"2022-02-18T12:16:32.000Z","dependencies_parsed_at":"2022-08-21T06:50:19.285Z","dependency_job_id":null,"html_url":"https://github.com/dedalozzo/facebook-od","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedalozzo%2Ffacebook-od","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedalozzo%2Ffacebook-od/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedalozzo%2Ffacebook-od/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedalozzo%2Ffacebook-od/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedalozzo","download_url":"https://codeload.github.com/dedalozzo/facebook-od/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251890092,"owners_count":21660445,"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":["cache","cli","debugger","facebook","object","open-graph","php","refresh","scrape"],"created_at":"2024-08-01T15:04:26.138Z","updated_at":"2025-05-01T14:31:44.396Z","avatar_url":"https://github.com/dedalozzo.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/3f/facebook-od/v/stable.png)](https://packagist.org/packages/3f/facebook-od)\n[![Latest Unstable Version](https://poser.pugx.org/3f/facebook-od/v/unstable.png)](https://packagist.org/packages/3f/facebook-od)\n[![Build Status](https://scrutinizer-ci.com/g/dedalozzo/facebook-od/badges/build.png?b=master)](https://scrutinizer-ci.com/g/dedalozzo/facebook-od/build-status/master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dedalozzo/facebook-od/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dedalozzo/facebook-od/?branch=master)\n[![License](https://poser.pugx.org/3f/facebook-od/license.svg)](https://packagist.org/packages/3f/facebook-od)\n[![Total Downloads](https://poser.pugx.org/3f/facebook-od/downloads.png)](https://packagist.org/packages/3f/facebook-od)\n\n\nFacebook Object Debugger CLI\n============================\nThe Facebook Object Debugger CLI is command-line interface used to refresh the information of any page shared on \nFacebook. Unfortunately this operation can be done manually using the [Facebook Open Graph Object Debugger](https://developers.facebook.com/tools/debug/og/object/).\nTo overcome this limitation I have created this command-line interface, using the official [Facebook SDK for PHP](https://github.com/facebook/php-graph-sdk).\n\n\nComposer Installation\n---------------------\n\nTo install Facebook Object Debugger CLI, you first need to install [Composer](http://getcomposer.org/), a Package Manager \nfor PHP, following those few [steps](http://getcomposer.org/doc/00-intro.md#installation-nix):\n\n```sh\ncurl -s https://getcomposer.org/installer | php\n```\n\nYou can run this command to easily access composer from anywhere on your system:\n\n```sh\nsudo mv composer.phar /usr/local/bin/composer\n```\n\n\nFacebook Object Debugger CLI Installation\n-----------------------------------------\nOnce you have installed Composer, it's easy install Facebook Object Debugger CLI.\n\n1.  Move into the directory where you prefer install Facebook Object Debugger CLI:\n  ```sh\n  cd /usr/local\n  ```\n\n2.  Create a project for Facebook Object Debugger CLI:\n  ```sh\n  sudo composer create-project 3f/facebook-od\n  ```\n  \n3.  For your convenience create a symbolic link for the `fbod` executable in your `/usr/local/bin` directory:\n  ```sh\n  sudo ln -s /user/local/facebook-od/bin/fbod.php /usr/local/bin/fbod\n  ```\n\n\nSupported Commands\n------------------\nLists commands. \n```sh\nfbod list [--xml] [--raw] [--format=\"...\"] [namespace]\n```\n\nDisplays help for a command. \n```sh\nfbod help [--xml] [--format=\"...\"] [--raw] [command_name]\n```\n\nFetches new scrape information and update the Facebook cache. \n```sh\nfbod refresh [-i|--file[=\"...\"]] [-u|--url[=\"...\"]] \n  [-d|--id[=\"...\"]] [-s|--secret[=\"...\"]] [-t|--token[=\"...\"]] \n  [-e|--encode]\n```\n\n\nUsage\n-----\nUsing the Facebook Object Debugger CLI is really simple. You can refresh a single URL or a bunch of URLs providing a \ntext file with a list of URLs, one for each line.\n\n```sh\nfbod refresh -u http://www.example.com/foo-bar-123\n```\n\n```sh\nfbod refresh -i urls.txt\n```\n\nYou must also provide an **App ID**, an **App Secret** and an **App Access Token** or a **User Access Token**. To see \nyour token please use the [Access Token Tool](https://developers.facebook.com/tools/access_token/). You can use both \nthe App Access Token or the User Access Token, just keep in mind the first one does not expire.\nFor your convenience you can rename (or copy) the `config.default.ini` to `config.ini`, then replace the \nvalues for your application. Otherwise you can provide those parameters using the designed options from the command-line.\n\n\nDocumentation\n-------------\nThe documentation can be generated using [Doxygen](http://doxygen.org). A `Doxyfile` is provided for your convenience.\n\n\nRequirements\n------------\n- PHP 5.4.0 or above.\n\n\nAuthors\n-------\nFilippo F. Fadda - \u003cfilippo.fadda@programmazione.it\u003e - \u003chttp://www.linkedin.com/in/filippofadda\u003e\n\n\nLicense\n-------\nFacebook Object Debugger CLI is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedalozzo%2Ffacebook-od","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedalozzo%2Ffacebook-od","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedalozzo%2Ffacebook-od/lists"}