metanet/php-twitter-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

metanet/php-twitter-api

最新稳定版本:v1.0.3

Composer 安装命令:

composer require metanet/php-twitter-api

包简介

PHP library to make usage of the twitter API more easy

关键字:

README 文档

README

This is a simple PHP wrapper for the twitter API (version 1.1).

This is a fork of the twitter-api-php from J7mbo.

It simplifies the whole API requesting thing a bit.

Example

try {
	$twitterApi = new ch\metanet\twitter\api\TwitterAPI('access_token', 'access_token_secret', 'consumer_key', 'consumer_key_secret');
	
	$twitterApi->performRequest('statuses/update', TwitterAPI::REQUEST_METHOD_POST, array(
		'status' => 'foo bar baz'
	));
} catch(Exception $e) {
	echo 'ERROR during API call: ' , $e->getMessage() , ' (Code: ' , $e->getCode() , ')';
}

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL
  • 更新时间: 2014-11-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固