Browse files

adjusting scope of permissions, no need for email or publish_stream

  • Loading branch information...
1 parent 447c498 commit 3ad9685d9f8d4d79b4db2be42047dbc61c828e06 @pedro pedro committed Sep 15, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 app.rb
@@ -5,7 +5,14 @@
set :raise_errors, false
set :show_exceptions, false
-FACEBOOK_SCOPE = 'email, status_update, publish_stream, publish_actions, user_likes, user_photos'
+# Scope defines what permissions that we are asking the user to grant.
+# In this example, we are asking for the ability to publish stories
+# about using the app, access to what the user likes, and to be able
+# to use their pictures. You should rewrite this scope with whatever
+# permissions your app needs.
+# See
+# for a full list of permissions
+FACEBOOK_SCOPE = 'publish_actions,user_likes,user_photos,user_photo_video_tags'
abort("missing env vars: please set FACEBOOK_APP_ID and FACEBOOK_SECRET with your app credentials")

0 comments on commit 3ad9685

Please sign in to comment.