Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Use app_id on plate object instead of reading from Facebook #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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