Skip to content
/ my-page Public

A person page generator, with twitter API

Notifications You must be signed in to change notification settings

N0ich/my-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My Page

A person page generator, with twitter API

Screenshot

This project is proudly inspired by this one

All the flowers goes to Jessica Lord :)

Requirements

php5-curl Debian systems

sudo apt-get install php5-curl

This project used the Twitter API in PHP, see more here

Installation

git clone http://github.com/ne02ptzero/my-page.git my/awesome/directory

Configuration

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

Style

The style is in style.css, feel free to change it !

About

A person page generator, with twitter API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published