Bitly Authorization PHP Quick Example
Switch branches/tags
Nothing to show
Clone or download
Latest commit 53ae912 Jul 31, 2013
Failed to load latest commit information.
index.html Update index.html May 2, 2013
oauth.php Update oauth.php Jun 3, 2013 Update Jul 31, 2013

Bitly Oauth PHP Quick Template

Setup on bitly

Go to and follow the steps to register a new application.

The "Redirect URI" must be the same link to where you put oauth.php for your redirect.

Copy down your Client ID and Client Secret and insert them into index.html and oauth.php.

The files

index.html - Simple link that starts the authentication process. This will take the user to a bitly login page.

oauth.php - After the user logs in they will be redirected back here for more of the oauth process and to get the user access token.


bitly Developer Website

More on bitly Authentication