Skip to content

Commit

Permalink
Minor code/documentation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Hediard committed Apr 25, 2012
1 parent 772d122 commit 02f0950
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ grails run-app

Browse to :

* <http://localhost:8080/facebook-sdk-grails-demo/website/> for the website example
* <http://localhost:8080/facebook-sdk-demo/website/> for the website example
* <http://apps.facebook.com/my-app-name-space> for the app example on Facebook
4 changes: 2 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Grails Metadata file
#Sat Mar 10 10:21:56 CET 2012
app.grails.version=2.0.1
#Fri Apr 20 12:20:52 CEST 2012
app.grails.version=2.0.3
app.name=facebook-sdk-demo
app.servlet.version=2.5
app.version=0.1
6 changes: 3 additions & 3 deletions grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ grails.resources.modules = {
grails.plugins.fboostrapp.fixtaglib = true

// Facebook sdk plugin
//grails.plugins.facebooksdk.appId = {YOUR_APP_ID}
//grails.plugins.facebooksdk.appPermissions = {YOUR_APP_PERMISSIONS}
//grails.plugins.facebooksdk.appSecret = {YOUR_APP_SECRET}
grails.plugins.facebooksdk.appId = 0
grails.plugins.facebooksdk.appPermissions = "email"
grails.plugins.facebooksdk.appSecret = ""
4 changes: 3 additions & 1 deletion grails-app/views/app/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
We use the Facebook JavaScript SDK to provide a richer user experience. For more info,
look here: http://github.com/facebook/facebook-js-sdk
-->
<facebook:initJS appId="${facebook.app.id}" />
<facebook:initJS appId="${facebook.app.id}">
// Put here any JS code to be executed after Facebook JS initialization
</facebook:initJS>

<g:if test="${!facebook.authenticated}">
<h2 class="tab">Authentication</h2>
Expand Down
4 changes: 3 additions & 1 deletion grails-app/views/website/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
We use the Facebook JavaScript SDK to provide a richer user experience. For more info,
look here: http://github.com/facebook/facebook-js-sdk
-->
<facebook:initJS appId="${facebook.app.id}" />
<facebook:initJS appId="${facebook.app.id}">
// Put here any JS code to be executed after Facebook JS initialization
</facebook:initJS>

<h2 class="tab">Authentication</h2>
<g:if test="${facebook.authenticated}">
Expand Down

0 comments on commit 02f0950

Please sign in to comment.