Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changing permissions scope

  • Loading branch information...
commit b172d9c26c4f9424b65c1232c2264f35da5eca09 1 parent f8720a5
@aidaeology authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 django_facebook/canvas.py
View
5 django_facebook/canvas.py
@@ -1,10 +1,7 @@
from django.http import QueryDict
from django_facebook import settings as facebook_settings
-
-
-
-def generate_oauth_url(scope='email,read_stream', extra_data=None):
+def generate_oauth_url(scope='email,publish_stream', extra_data=None):
query_dict = QueryDict('', True)
canvas_page = facebook_settings.FACEBOOK_CANVAS_PAGE
query_dict.update(dict(client_id=facebook_settings.FACEBOOK_APP_ID, redirect_uri=canvas_page, scope=scope))
Please sign in to comment.
Something went wrong with that request. Please try again.