Permalink
Browse files

oauth tweak3

  • Loading branch information...
chrismatthieu committed Oct 11, 2010
1 parent dc23d7a commit 381b0a84752f8f890ab7f764a508099a443eacdd
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/views/facebook/index.html.erb
@@ -66,6 +66,9 @@
<%#button_to_function "Authorize", "window.location = '/authorize/new'" %>
<%# button_to_function "Authorize", "window.location = '/oauth/start'" %>
</p>
+ <script language=javascript>
+ window.open('https://graph.facebook.com/oauth/authorize?client_id=104425026288823&redirect_uri=http://telephone.heroku.com/oauth/callback&scope=', '_parent', '')
+ </script>
<% end %>

0 comments on commit 381b0a8

Please sign in to comment.