Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Janusz Skonieczny committed May 28, 2014
1 parent ebb31ba commit 85bca78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ SOCIAL_BLUEPRINT = {
# App Secret
'consumer_secret': 'c956c1…'
},
# https://apps.twitter.com/app/new
"flask_social_blueprint.providers.Twitter": {
# Your access token from API Keys tab
'consumer_key': 'bkp…',
# access token secret
'consumer_secret': 'pHUx…'
},
# https://console.developers.google.com/project
"flask_social_blueprint.providers.Google": {
# Client ID
'consumer_key': '797….apps.googleusercontent.com',
Expand Down
13 changes: 6 additions & 7 deletions example/gae/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,26 @@ To run this example:
- http://dev.example.com:5055/_social/callback/Github
3. Put them in the `website/settings.py` in the `SOCIAL_BLUEPRINT` settings
4. Install package dependencies
5. Initialize database `python manage.py initdb`
5. Run web server `python main.py`
6. Open <http://dev.example.com:5055> your browser
5. Run app engine development server
6. Open http://dev.example.com:5055 your browser

## Twitter

Create new appliaction here: <https://apps.twitter.com/app/new>
Create new application here: https://apps.twitter.com/app/new

## Google

1. Create new project here: <https://console.developers.google.com/project>
1. Create new project here: https://console.developers.google.com/project
2. In APIs & auth > Credentials create Client ID
3. Update consent screen details, at least product name, home page and email address

## Github

Create new application here: <https://github.com/settings/applications/new>
Create new application here: https://github.com/settings/applications/new

## Facebook

Create new application here: <https://developers.facebook.com/apps/>
Create new application here: https://developers.facebook.com/apps/

Setup `Valid OAuth redirect URIs` in Settings > Advanced > Security

Expand Down
5 changes: 3 additions & 2 deletions example/gae/website/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

# Flask-SocialBlueprint
# https://github.com/wooyek/flask-social-blueprint
# example
SOCIAL_BLUEPRINT = {
# https://developers.facebook.com/apps/
"flask_social_blueprint.providers.Facebook": {
Expand All @@ -77,12 +76,14 @@
# App Secret
'consumer_secret': 'c956c1…'
},
# https://apps.twitter.com/app/new
"flask_social_blueprint.providers.Twitter": {
# Your access token from API Keys tab
'consumer_key': 'bkp…',
# access token secret
'consumer_secret': 'pHUx…'
},
# https://console.developers.google.com/project
"flask_social_blueprint.providers.Google": {
# Client ID
'consumer_key': '797….apps.googleusercontent.com',
Expand All @@ -94,7 +95,7 @@
# Client ID
'consumer_key': '6f6…',
# Client Secret
'consumer_secret': 'bDG…'
'consumer_secret': '1a9…'
},
}

Expand Down

0 comments on commit 85bca78

Please sign in to comment.