README.rdoc in meal_ticket-0.1.0 vs README.rdoc in meal_ticket-0.1.1
- old
+ new
@@ -73,10 +73,10 @@
FACEBOOK_CALLBACK = "path/to/my/facebook/callback" # whatever URL you've created to grab the user data and do something useful
Now, redirect users to facebook_auth_url, passing the permissions you want to ask for. Like so:
# For a full list of permissions, see https://developers.facebook.com/docs/authentication/permissions/
- redirect_to facebook_auth_url("user_photos,publish_stream")
+ redirect_to facebook_auth_url(root_url, "user_photos,publish_stream")
After they authenticate, they'll be redirected to your +FACEBOOK_CALLBACK+ URL with query string params like:
?facebook[token]=q2jf89ojq.j32f|FQf9j23la&facebook[expires]=4829