bissolli/twitter-php-scraper
Composer 安装命令:
composer require bissolli/twitter-php-scraper
包简介
Twitter PHP Scraper. Get account information, tweets, likes, re-tweets and comments.
README 文档
README
Twitter PHP Scrapper. Get account information, tweets, likes, re-tweets and comments through the Twitter handle.
Code Example
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());
Installation
Using composer
composer require bissolli/twitter-php-scraper
If you don't have composer
You can download it here.
TODO
- Implement .travis.yml
统计信息
- 总下载量: 842
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-13