B4J Question How to use Firebase REST API in B4J

jmon

Well-Known Member
Licensed User
Longtime User
hi,

I tested a while ago, and have a working example done already. Only the connection and insert part are done, you can add more functions.

If you add more functions, please share what you did :) we could finish this library.
 

Attachments

  • firebasedb_test.zip
    4.2 KB · Views: 256
Upvote 0

hanyelmehy

Active Member
Licensed User
Longtime User
hi,

I tested a while ago, and have a working example done already. Only the connection and insert part are done, you can add more functions.

If you add more functions, please share what you did :) we could finish this library.
i get this when try to run
B4X:
Waiting for debugger to connect...
Program started.
Connection with Firebase Database Successful.
oAuthRefreshToken = xxxxxxxxxxxxxxxx
Connected
org.apache.http.impl.client.DefaultHttpClient handleResponse
WARNING: Authentication error: Unable to respond to any of these challenges: {}
{
  "error" : "Unauthorized request."
}
Unauthorized
 
Upvote 0

hanyelmehy

Active Member
Licensed User
Longtime User
did you correctly set you url, client email, password and API Key?
It seems you have a problem with the authorization
i get email,password from Authentication USERS and Browser api key (auto created by Google Service)
 
Upvote 0
Top