connecting MPU6050 with ESp8266

Hey guys trying to connect MPU6050 with ESP8266 and send data to API of (www.thingspeak.com) but the data esp8266 is sending is not accurate it is sending values either -1or 0.
please help out unable to resolve issues.
ihave connnected following.
gpio0-SDA(MPU6050)
gpio2-SCL(MPU6050)
please help out!!