2017 © Pedro Peláez
 

library amplifier

image

neerajsohal/amplifier

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Amplifier

Build Status, (*1)

Amplifier is an extension of Facebook PHP SDK. It provides additional methods to Facebook's SDK., (*2)

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:, (*3)

  • 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 :), (*4)

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:, (*5)

{
    "require": {
        "neerajsohal/amplifier": "dev-master"
    }
}

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., (*6)

Available Methods

hasLikedPage, (*7)

Checks weather a user has liked a page or not, (*8)

Amplifier::hasLikedPage(bigint $page_id)

Returns, (*9)

boolean

uploadImage, (*10)

uploads an image to user's profile, (*11)

Amplifier::uploadImage(String $image_path, String $description)

returns, (*12)

mixed

Amplifier on Packagist: https://packagist.org/packages/neerajsohal/amplifier, (*13)

Facbeook's PHP SDK on Github: https://github.com/facebook/facebook-php-sdk, (*14)

The Versions

05/01 2017

dev-development

dev-development https://github.com/neerajsohal/amplifier

  Sources   Download

MIT

The Requires

 

29/10 2014

dev-master

9999999-dev https://github.com/neerajsohal/amplifier

Extension of Facbeook PHP SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

sdk facebook

29/10 2014

v0.3

0.3.0.0 https://github.com/neerajsohal/amplifier

Extension of Facbeook PHP SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

sdk facebook

29/11 2013

v0.2

0.2.0.0 https://github.com/neerajsohal/amplifier

Extension of Facbeook PHP SDK

  Sources   Download

The Requires

 

The Development Requires

sdk facebook

28/11 2013

dev-php54

dev-php54 https://github.com/neerajsohal/amplifier

Extension of Facbeook PHP SDK

  Sources   Download

The Requires

 

The Development Requires

sdk facebook

26/11 2013

v0.1

0.1.0.0 https://github.com/neerajsohal/amplifier

Extension of Facbeook PHP SDK

  Sources   Download

The Requires

 

The Development Requires

sdk facebook