vahan90 / twitter-search
A PHP-SDK for Twitter Search API that will be extended to include all features
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:package
Requires
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2024-10-05 03:46:22 UTC
README
Here is a simple twitter php api handling package. I will add more features from time to time.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
All you need is composer.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --install-dir=bin --filename=composer
php bin/composer
sudo mv composer.phar /usr/local/bin/composer
composer
Installing
First things first, clone this repo
Afterwards install the dependencies with composer
composer install
Afterwards check out my index.php file in there to get a feel.
include "vendor/autoload.php";
use Twitter\Search\Search;
$search = new Search();
$search->setToken('API_KEY','API_SECRET');
$search->setValues('query', 'count(optional)');
$search->search();
Authors
- Vahan Terzibashian - Initial work - Vahan90
License
This project is licensed under the GPL License - see the LICENSE.md file for details