Download the PHP package neerajsohal/amplifier without Composer
On this page you can find all versions of the php package neerajsohal/amplifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download neerajsohal/amplifier
More information about neerajsohal/amplifier
Files in neerajsohal/amplifier
Package amplifier
Short Description Extension of Facbeook PHP SDK
License MIT
Homepage https://github.com/neerajsohal/amplifier
Informations about the package amplifier
Amplifier
Amplifier is an extension of Facebook PHP SDK. It provides additional methods to Facebook's SDK.
Couple of months back, I started writing my own methods on top of Facebook's PHP SDK to cut down the development time by defining methods for tasks like:
- whether a person liked a page or not
- has he provided support for a particular extended permission
I am building Amplifier by keeping Composer in mind. Therefore, for installing Amplifier, you should be comfortable with composer. If you are not, I suggest you learn it. It's one of the best things that has happened to PHP and will surely make you a better programmer :)
Requirements
- Facbeook's PHP SDK
- PHP version > 5.3.*
Installation
To install via Composer, Simply add a dependency on neerajsohal/amplifier to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Amplfier's master branch:
If you want to use other version, you can check https://packagist.org/packages/neerajsohal/amplifier. It lists all the versions available. I strongly recommend latest stable version of master branch version for production.
Available Methods
hasLikedPage
Checks weather a user has liked a page or not
Returns
uploadImage
uploads an image to user's profile
returns
links
Amplifier on Packagist: https://packagist.org/packages/neerajsohal/amplifier
Facbeook's PHP SDK on Github: https://github.com/facebook/facebook-php-sdk