B4A Library Facebook - Extends FirebaseAuth to support Facebook

Marcus Araujo

Member
Licensed User
Longtime User
Only these lines caught my attention, but I am not sure if the first one has to do with my process.

Class com.facebook.appevents.AppEvent failed lock verification and will run slower.
Object context is paused. Ignoring CallSubDelayed: JobDone
 

Lucas Eduardo

Active Member
Licensed User
How can i configure my firebase project if i have made two apps with login facebook? There are two app id and two app secret, what do I put in these fields?
 

Devv

Active Member
Licensed User
Longtime User
Hello
thank you fro the great lib
however one of my app users is getting the following error


i think in the latest version of the sdk they fixed this problem
can you please update the lib to the latest SDK ?
 

kstainsb

Member
Licensed User
Longtime User
V1.02 released. It is based on Facebook SDK v7.0.0.

I updated this, and get an error (see attached). Looking in the facebook.xml file it says:
<version>1.01</version>
<dependsOn>facebook-core-5.5.0.aar</dependsOn>
<dependsOn>facebook-login-5.5.0.aar</dependsOn>
<dependsOn>facebook-common-5.5.0.aar</dependsOn>
<dependsOn>com.android.support:cardview-v7</dependsOn>
I wonder if these need updating to 7.0.0., v.1.02..?
 

Attachments

  • err.png
    18.8 KB · Views: 270

Stevenindonesia

Member
Licensed User
Erel,

I have downloaded the Facebook Example.zip. Tried to compile application but with error below :

Compiling resources (0.87s)
Linking resources Error
error: resource style/Theme.AppCompat.NoActionBar (aka com.TWorld.PBrowser:style/Theme.AppCompat.NoActionBar) not found.
error: resource style/Theme.AppCompat.Dialog (aka com.TWorld.PBrowser:style/Theme.AppCompat.Dialog) not found.
error: failed linking references.

Checked on AppCompat library but still the same thing. What went wrong?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I've updated the example.

It compiled fine with the AppCompat library. I guess that your SDK is misconfigured. Delete your SDK. Upgrade to B4A v10.9 and download the updated resources.
 

Stevenindonesia

Member
Licensed User
Erel,

Thank for your fast response. I uninstalled all SDK and reinstall the latest from your installation tutorial. Everything works just fine now.

Thanks!!
 

Stevenindonesia

Member
Licensed User
Hi Erel,

I have been trying to generate 'Key Hashes' in Facebook Developer with command as such :
* FOR DEBUG
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

* FOR RELEASE
keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore /Users/***/Documents/keystore/***.jks | openssl sha1 -binary | openssl base64

The facebook demo app works - (But just google log in)
As for facebook, It is still not working. I suspect the 'Key Hashes' is the problem here.

Where can we get a clearer writeup to generate 'Key Hashes' for b4a? Other programming languages has terminals... but not b4a.

Sorry i am a little confuse with this.
 

Stevenindonesia

Member
Licensed User
Hi all,
I just recently got facebook login working. The funny thing is that the facebook does not return email address. Is there any particular thing that i need to set? or maybe in facebook developer? Anyone?

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…