Skip to content

kingink/bitly-oauth-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitly Oauth Python (Flask) Example

Setup on bitly

Go to https://bitly.com/a/oauth_apps and follow the steps to register a new application.

Make sure to use your Client ID and Client Secret in index.html.erb and welcome_controller.rb.

The files

This example is modeled after bitly-oauth-rails

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

bitly_oauth.py - This is were the meat is. After the user logs in they will be redirected back here for more of the oauth process and to get the user access token.

templates/oauth.html - Access_token and Login will show on this page.

##Links

bitly Developer Website

More on bitly Authentication

About

Bitly Authorization with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages