kokororin / twitter-birthday
Parse out birthday info of twitter users.
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/kokororin/twitter-birthday
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: 2025-09-29 02:02:04 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).