title: Send scores to facebook graph api from android app
body: <p>I want to post score points using facebook graph api, from my android application</p>
  
  <p>I create android app in facebook developers page. I set to Native Android App , and I set Mobile Web settings like on image below </p>
  
  <p><img src="https://i.stack.imgur.com/CmAiz.png" alt="enter image description here"></p>
  
  <p>In  android code I user this permissions for my app:</p>
  
  <p><code>String[] permissions =  {"publish_stream","publish_actions","user_games_activity","friends_games_activity"};</code></p>
  
  <p>After successful login on facebook, I try to post score points to facebook using this android code </p>
  
  <pre><code>Bundle params = new Bundle();
      params.putString("score", "100");
      //params.putString("access_token", "token as constant");
  
      String response = "null";
  
      Utility.mFacebook.setAccessToken("token as constant");
  
      try {
          response = Utility.mFacebook.request("user_id/scores", params, "POST");
      } catch (FileNotFoundException e) {
  
          e.printStackTrace();
      } catch (MalformedURLException e) {
  
          e.printStackTrace();
      } catch (IOException e) {
  
          e.printStackTrace();
      }
  </code></pre>
  
  <p>And I receive this response:</p>
  
  <p><code>{"error":{"message":"(#15) This method must be called with an app access_token.","type":"OAuthException","code":15}}
  </code></p>
  
  <p>I get same error if I use Graph API Explorer:</p>
  
  <p><img src="https://i.stack.imgur.com/lqnF7.png" alt="enter image description here"></p>
  
  <p>In  facebook settings ->Apps -> AppName -> Advanced->App Type is set to "Web" (I also try with Native/Desktop but I get same error)</p>
  
  <p>Can anyone help me and tell me how to sent score from my android app to fb?</p>
  
  <p>Thanks</p>