Change the $YourPackageName in .uml file to your PackageName.R for exmaple if your package name is com.sample.project then replace $YourPackageName with com.sample.project.R
Get User Details of facebook account by seeking permssion from htttps://facebook.developers.com and target your user more better.
Register to facebook dvelopers and create your app and get credentails from it. For more details visit https://rearandroid.com {YOUR_FACEBOOK_APP_ID} {YOUR_FACEBOOK_TOKEN}
STEPS:
- Register at https://developers.facebook.com/
- Create and App depending upon your usage you may select Game or App (if you select App you will not get features such as changing username and avataar while login,Invite FRiends and more)
- After creating your app select setup for login
- Add your Package name in the Required Project field
- Add your Packagename.MainActivity in the Required Project class for login function call in the setup section(for example if your package name is com.x.y fill in the filed with com.x.y.GameActivity)
- Then create a Sha256 using cmd as mentioned in teh setup documentation. 7.now you are able to use Login,Invite friends and Share InGame posts