Twitter PHP Scraper. Get account information, tweets, likes, re-tweets and comments.
bissolli/twitter-php-scraper is a Laravel package for twitter php scraper. get account information, tweets, likes, re-tweets and comments..
It currently has 14 GitHub stars and 842 downloads on Packagist (latest version v1.3.1).
Install it with composer require bissolli/twitter-php-scraper.
Discover more Laravel packages by bissolli
or browse all Laravel packages to compare alternatives.
Last updated
Twitter PHP Scrapper. Get account information, tweets, likes, re-tweets and comments through the Twitter handle.
To get the user profile:
$twitter = new \Bissolli\TwitterScraper\Twitter('official_php');
var_dump($twitter->getProfile());
To load all the reachable tweets (last 20 tweets)
$twitter = (new \Bissolli\TwitterScraper\Twitter('official_php'))->loadTweets();
var_dump($twitter->getProfile());
var_dump($twitter->getTweets());
composer require bissolli/twitter-php-scraper
You can download it here.