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

readme.md

Bitly Oauth PHP Quick Template

Setup on bitly

Go to http://bitly.com/a/oauth_apps 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.

##Links

bitly Developer Website

More on bitly Authentication