title: Is it possible to send friend requests via Android Facebook SDK 3.0?
body: <p>I'm trying to send friend requests from the Android SDK for Facebook. I had the opportunity to ask a Facebook engineer and he said friend requests were currently not supported in Android. So I think I'm stuck redirecting the user to the browser. My question is how do I do that? This is my code so far: (It doesn't work)</p>
  
  <pre><code>private void sendRequestDialog()
  {
  String USER_ID = "stack.overflow.123";
  
  Bundle params = new Bundle();
  
  params.putString("id", USER_ID);
  
  WebDialog requestsDialog = (
      new WebDialog.RequestsDialogBuilder(getActivity(),
          Session.getActiveSession(),
          params))
          .setOnCompleteListener(new OnCompleteListener()
          {
              @Override
              public void onComplete(Bundle values, FacebookException error)
              {
                  if(error != null)
                  {
                      if(error instanceof FacebookOperationCanceledException)
                      {
                          Toast.makeText(getActivity().getApplicationContext(), "Request cancelled", Toast.LENGTH_SHORT).show();
                      }
                      else
                      {
                          Toast.makeText(getActivity().getApplicationContext(), "Network Error", Toast.LENGTH_SHORT).show();
                      }
                  }
                  else
                  {
                      final String requestId = values.getString("request");
                      if (requestId != null)
                      {
                          Toast.makeText(getActivity().getApplicationContext(), "Request sent", Toast.LENGTH_SHORT).show();
                      }
                      else
                      {
                          Toast.makeText(getActivity().getApplicationContext(), "Request cancelled", Toast.LENGTH_SHORT).show();
                      }
                  }   
              }
  
          })
          .build();
  requestsDialog.show();
  }
  </code></pre>