承接 neerajsohal/amplifier 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

neerajsohal/amplifier

Composer 安装命令:

composer require neerajsohal/amplifier

包简介

Extension of Facbeook PHP SDK

README 文档

README

Build Status

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:

{
    "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.

Available Methods

hasLikedPage

Checks weather a user has liked a page or not

Amplifier::hasLikedPage(bigint $page_id)

Returns

boolean

uploadImage

uploads an image to user's profile

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

returns

mixed

links

Amplifier on Packagist: https://packagist.org/packages/neerajsohal/amplifier

Facbeook's PHP SDK on Github: https://github.com/facebook/facebook-php-sdk

统计信息

  • 总下载量: 207
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固