B4J Question How to Get oauth token for firebase realtime database?

virpalacios

Active Member
Licensed User
Longtime User
Hi Everyone, have a good morning, afternoon or night around the world.

I am looking for a way to get the Google oauth token for use the RESP API in Firebase Database, I already do in B4A, however in B4J it looks diferent.
I already read about how to get it from Php (using the googleservice.json provided by firebase console for Android App),
👉Article How to get oauth token for firebase messaging
I tried using my android firebase app json file, but I got several errors running php script.

I will be glad for any hint about to set this procedure and get the token.

PS. Already set project app (Web) in firebase console, so I got api key, project id, database url. ....

Thanks in Advance 👋:)
 

aeric

Expert
Licensed User
Longtime User
The answer is already inside the B4J Sending Tool.
 
Upvote 1

virpalacios

Active Member
Licensed User
Longtime User
Hi Aeric, thanks for send me this useful information, I started to study it. I have some issues getting the correct json file, but I feel in good track,

Thanks Again

Best Regards
 
Upvote 0
Top