title: Apprequest of Android Facebook sdk 3.0
body: <p>I am using the updated Facebook SDK V3.0 final for Android. I am trying to send app requests to facebook frineds who do not have the application. The code is:</p>
  
  <pre><code>public void fbookinvite(){
  
          Bundle postParams = new Bundle();
          postParams.putString("name", "X");
          postParams.putString("message", "DOWNLOAD X.");
  
          Session session = Session.getActiveSession();
  
          postParams.putString("access_token", session.getAccessToken());
  
          if (session==null||session.getState().isClosed()){
              System.out.println("session is null");
          }else{
              //meaning we are good to go.
              Request request = new Request(session,"/friend facebook id/apprequests", postParams, HttpMethod.POST, new Request.Callback() {
  
                  @Override
                  public void onCompleted(Response response) {
  
                      System.out.println("response was: "+response.toString());
                  }
  
              });
  
              Request.executeBatchAsync(request);
          }       
      }
  </code></pre>
  
  <p>When the code runs I get one of the following from the printed response:</p>
  
  <pre><code>responseCode: 400, graphObject: null, error: {HttpStatus: 400, errorCode: 2, errorType: OAuthException, errorMessage: (#2) Failed to create any app request}, isFromCache:false
  </code></pre>
  
  <p>... or:</p>
  
  <pre><code>Response:  responseCode: unknown, graphObject: null, error: {HttpStatus: -1, errorCode: -1, errorType: null, errorMessage: null}, isFromCache:false}
  </code></pre>
  
  <p>I have the following permissions: <code>publist_stream</code> and <code>publish_actions</code>.</p>
  
  <p>After solving the problem I'd also like to know how to add a group of recipients to the app request.</p>
  
  <p>I do not want to use the Facebook dialog.</p>