Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Twitter PHP Scraper. Get account information, tweets, likes, re-tweets and comments.

License

Notifications You must be signed in to change notification settings

coolnerdcoder/twitter-php-scraper

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Profile Scraper

Build Status Latest Stable Version Total Downloads License

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

About

Twitter PHP Scraper. Get account information, tweets, likes, re-tweets and comments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.