2. Setup Facebook App - TomGrill/gdx-facebook GitHub Wiki
Before you can use gdx-facebook you have to set up a new app at https://developers.facebook.com/apps/
Additional steps:
General
- Got Settings -> Advanced -> Enable "Native or desktop app?"
- Go to Products -> Facebook Login -> Client OAuth Settings and add to Valid OAuth redirect URIs:
https://www.facebook.com/connect/login_success.html
Android
- Add a new platform Android.
- Enable Single Sign On
- Add the key hashes of your debug and certificate. Read this to find out how to do that. https://developers.facebook.com/docs/android/getting-started/
- Enable Deep Linking (only required when using Game Requests feature)
iOS
- Add a new platform iOS
- Enable Single Sign On
- Add the Bundle ID. (Must be same as your robovm.properties->app.id value.)
- Enable Deep Linking (only required when using Game Requests feature)
GWT / HTML
- Add a new platform Website
- Add the Facebook Login product to your app and add each URL your app is hosted to Valid O-Auth redirect URL list. Like: http://localhost:8080/html/