A person page generator, with twitter API
This project is proudly inspired by this one
All the flowers goes to Jessica Lord :)
php5-curl Debian systems
sudo apt-get install php5-curl
This project used the Twitter API in PHP, see more here
git clone http://github.com/ne02ptzero/my-page.git my/awesome/directory
You have to make an app in twitter for API credentials
Follow these instructions.
Now, you can configure the php : (generate.php:14)
$oauth_access_token = ""; // Access Token
$oauth_access_token_secret = ""; // Access token secret
$consumer_key = ""; // API key
$consumer_secret = ""; // API key Secret
$username = ""; // Twitter Username
$github_user = ""; // Github username
$mail = ""; // Your email
And... that's it.
Now, there is a problem:
Twitter API limit request in an hour, so at a point, the page generate.php shall not work temporarly.
See more here
So, you have to do this:
php generate.php > my-page.html
If you have a server with ssh, why not a cron for this ?
5 * * * * php generate.php > my-page.html
The style is in style.css, feel free to change it !