Skip to content

Commit

Permalink
Merge pull request #15 from toddetzel/fixes/facebook
Browse files Browse the repository at this point in the history
Facebook Graph API Fixes
  • Loading branch information
wooyek committed Dec 24, 2015
2 parents 954c42b + 13d02e0 commit 1709869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask_social_blueprint/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_profile(self, raw_data):
import facebook

graph = facebook.GraphAPI(access_token)
profile = graph.get_object("me?fields=email")
profile = graph.get_object("me", fields="email")
profile_id = profile['id']
data = {
"provider": "Facebook",
Expand Down

0 comments on commit 1709869

Please sign in to comment.