itigoppo / twitter-api
Twitter API Library for PHP
0.1.0
2020-02-23 19:21 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- guzzlehttp/oauth-subscriber: ^0.3.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: ^3.1
This package is auto-updated.
Last update: 2025-03-26 10:19:35 UTC
README
TwitterAPIのPHPライブラリです。
- Twitter API version 1.1
Requirements
- PHP7.3
Installation
composer require itigoppo/twitter-api
Usage
$consumerKey = 'Your API key'; $consumerSecret = 'Your API secret key'; $token = 'Your Access token'; $tokenSecret = 'Your Access token secret'; $twitter = new Twitter(new Connector($consumerKey, $consumerSecret, $token, $tokenSecret));