Data communication problem with Custom TinyWebDB and arduino

Hi, everyone.

I started a project this time. This project include process that ultrasonic sensor's value is sent from the Arduino to the web server, and the value is displayed to the application. I am using App Inventor2 as a tool for developing applications, but I am having trouble using TinyWebDB or FirebaseDB.

I have two questions about this.

http://appinventor.mit.edu/explore/content/custom-tinywebdb-service.html

I created the personal tinywebdb to work with the Google Dashboard by referring to the link above. I get a runtime error when I try to connect to the web server via the code below.
something remains on the Google Dashboard graph, but it is not accessible from Arduino. I have no idea why. Is there problem in my code or custom tinywebDB ?


#include <ArduinoJson.h>

char ssid[]="AndroidHotspot----";
char pass[]="ra--------";
char server[] = "http://----------.appspot.com/";
int status = WL_IDLE_STATUS;

WiFiClient client;

int led=2;
int buttonpin=8;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(led,OUTPUT);
pinMode(buttonpin,INPUT_PULLUP);

WiFi.init();
if (WiFi.status() == WL_NO_SHIELD) {
Serial.println("WiFi shield not present");
// don't continue
while (true);
}

while ( status != WL_CONNECTED) {
Serial.print("Attempting to connect to WPA SSID: ");
Serial.println(ssid);
// Connect to WPA/WPA2 network
status = WiFi.begin(ssid, pass);

}

Serial.println("You're connected to the network");
client.connect(server, 8080);
Serial.println("You're connected to the DB");

}
char recv;
void loop() {

if(Serial.available()>0){
recv=Serial.read();
if(recv=='T'){
digitalWrite(led,HIGH);
delay(200);

}
else{
digitalWrite(led,LOW);
delay(200);
}

if(digitalRead(buttonpin)==LOW){
Serial.write('b');
}
else{
Serial.write('a');
}
delay(200);
}
}

After first method(TinywebDB) failed, I was trying to communicate with Arduino with firebaseDB.
Currently, I am using a wizi250 , and I get an error when trying to compile Firebase Liberary in arduino sketch. i search example about firebase DB data communication, but there are just example about esp8266. :frowning:

If you know an example of communicating data to firebaseDB with wizi250, thank you so much for letting me know.