Demo app for Grails Facebook SDK and Grails Shiro Plugin
Groovy CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
grails-app
web-app
.gitignore
README.md
application.properties

README.md

Grails Facebook SDK - Shiro Demo

Sample app to demo how to integrate Grails Shiro plugin with Grails Facebook SDK plugin.

Getting started

1- Download or clone the plugin GitHub project.

git clone https://benorama@github.com/benorama/grails-facebook-sdk-demo-shiro.git

2- Create a Facebook app on Facebook Developers, in order to get your own app ID and app secret.

Configure your Facebook app as below:

  • App name space = my-app-name-space
  • App domain = localhost
  • Website URL = http://localhost:8080/facebook-sdk-demo-shiro/website/
  • sandbox mode = enabled (in Advanced setting, to be able to use the app on Facebook without SSL certificate)

3- Add your Facebook app parameters to grails-app/conf/Config.groovy.

grails.plugin.facebooksdk.app.id = {APP_ID}
grails.plugin.facebooksdk.app.permissions = {APP_PERMISSIONS}
grails.plugin.facebooksdk.app.secret = {APP_SECRET}

4-Run the app from the project root.

grails run-app

Browse to http://localhost:8080/facebook-sdk-demo-shiro/website/.