Twitter RESTful avatar API
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 1 commit behind remy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
js
.htaccess
README.md
index.php

README.md

Twivatar

Twivatar is a RESTful API to a Twitter user's avatar built out of frustration of external Twitter apps breaking when the avatar url is stored, and then changed by that user later on Twitter - the result is a broken image on that app unless they constantly check for profile changes.

Usage

<img src="http://twivatar.herokuapp.com/[screen_name]" />

Alternatively you can specify the size image you want from:

  • mini (24x24)
  • normal (48x48 - default)
  • bigger (73x73)
  • original

<img src="http://twivatar.herokuapp.com/[screen_name]/[size]" />

Also, if you need it, you can use HTTPS:

<img src="https://twivatar.herokuapp.com/[screen_name]" />

or

<img src="https://twivatar.herokuapp.com/[screen_name]/[size]" />

License

MIT: http://rem.mit-license.org