Download the PHP package 3f/facebook-od without Composer
On this page you can find all versions of the php package 3f/facebook-od. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package facebook-od
Facebook Object Debugger CLI
The Facebook Object Debugger CLI is command-line interface used to refresh the information of any page shared on Facebook. Unfortunately this operation can be done manually using the Facebook Open Graph Object Debugger. To overcome this limitation I have created this command-line interface, using the official Facebook SDK for PHP.
Composer Installation
To install Facebook Object Debugger CLI, you first need to install Composer, a Package Manager for PHP, following those few steps:
You can run this command to easily access composer from anywhere on your system:
Facebook Object Debugger CLI Installation
Once you have installed Composer, it's easy install Facebook Object Debugger CLI.
-
Move into the directory where you prefer install Facebook Object Debugger CLI:
-
Create a project for Facebook Object Debugger CLI:
- For your convenience create a symbolic link for the
fbod
executable in your/usr/local/bin
directory:
Supported Commands
Lists commands.
Displays help for a command.
Fetches new scrape information and update the Facebook cache.
Usage
Using the Facebook Object Debugger CLI is really simple. You can refresh a single URL or a bunch of URLs providing a text file with a list of URLs, one for each line.
You must also provide an App ID, an App Secret and an App Access Token or a User Access Token. To see
your token please use the Access Token Tool. You can use both
the App Access Token or the User Access Token, just keep in mind the first one does not expire.
For your convenience you can rename (or copy) the config.default.ini
to config.ini
, then replace the
values for your application. Otherwise you can provide those parameters using the designed options from the command-line.
Documentation
The documentation can be generated using Doxygen. A Doxyfile
is provided for your convenience.
Requirements
- PHP 5.4.0 or above.
Authors
Filippo F. Fadda - http://www.linkedin.com/in/filippofadda
License
Facebook Object Debugger CLI is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
All versions of facebook-od with dependencies
ext-curl Version *
symfony/console Version ~3
monolog/monolog Version ~1
facebook/graph-sdk Version ~5.4