title: how to communicate with facebook api through appium
body: <p>I am writing an android testing program on java using a Web server to send commands to a device and I want to test logging in with different accounts on Facebook.Although I am not able to enter the email and the password to the input boxes.How can i access these fields in order to put email and password and press log in?</p>
  
  <p>Right now i am trying to access the fields like this although it doesn't seem to work.</p>
  
  <pre><code>        driver.findElements(By.className("android.widget.EditText")).sendKeys(email);       //Email adress or phone number
          driver.findElements(By.className("android.widget.EditText")).sendKeys(psw);                             //password
  </code></pre>