Categories

Facebook

 

Go to https://developers.facebook.com/apps and create new app.

Create new Android app and fill it with following information:

Use your App Id and MainActivity namespace. Key Hashes can be generated on your pc, but the easiest way is to copy them from Facebook error which will occur when you will try to log in. There are 2 keystores, one for debug and one for release.

 

Replace FacebookAppId property in IniProperties.cs with your own.

Go to Info.plist in your iOS project and in Advanced tab add following URL Type: „fbYOURAPPID”

Add the following to your Info.plist file(open it with Notepad):

<key>LSApplicationQueriesSchemes</key>
<array>                               
<string>fbapi</string>                               
<string>fb-messenger-api</string>                               
<string>fbauth2</string>                               
<string>fbshareextension</string>                
</array>
back to top