Skip to content

Commit

Permalink
Use app_id on plate object instead of reading from Facebook
Browse files Browse the repository at this point in the history
Fixes app_id-based bugs from heroku#11.
  • Loading branch information
stuartpb committed Feb 26, 2013
1 parent 0d21bdb commit 304d1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta property="og:image" content="<%= url('/logo.png') %>" />
<meta property="og:site_name" content="<%= app.name %>" />
<meta property="og:description" content="My first app" />
<meta property="fb:app_id" content="<%= app.id %>" />
<meta property="fb:app_id" content="<%= req.facebook.plate.app_id %>" />

<script type="text/javascript" src="/scripts/jquery.min.js"></script>

Expand Down Expand Up @@ -96,7 +96,7 @@
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId : '<%= app.id %>', // App ID
appId : '<%= req.facebook.plate.app_id %>', // App ID
channelUrl : '<%= url_no_scheme('/channel.html') %>', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
Expand Down

0 comments on commit 304d1b5

Please sign in to comment.