kokororin / twitter-birthday
Parse out birthday info of twitter users.
dev-master
2017-10-26 13:22 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: ~6.0
- symfony/css-selector: ~2.8 | ~3.3
- symfony/dom-crawler: ~2.8 | ~3.3
Requires (Dev)
- phpunit/phpunit: ^4.0
This package is auto-updated.
Last update: 2024-11-29 05:32:40 UTC
README
The Twitter API doesn't show user birthdays, but we can scrape the user profile page and parse out the birthday info.
Installation
$ composer require kokororin/twitter-birthday:dev-master
Usage
$birthday = new TwitterBirthday('pile_eric'); echo $birthday['month']; // 5 echo $birthday['day']; // 2
License
The MIT License (MIT).