How to send friend request using Facebook dialogs on Android?
I want tot send a friend request using the Facebook Android SDK. I'm currently using this code (which I got from here ): Bundle parameters = new Bundle(); parameters.putString("APP_ID","USERNAME"); facebook.dialog(this, "friends", parameters, this); where APP_ID is the Facebook ID of my app and USERNAME is the username of the friend I want to add. This leads to the following error: API Error Code:100 Invalid parameter The parameter id is required I thought the id parameter meant the APP_ID. I have gone through the relevant documentation regarding dialogs at http://developers.facebook.com/docs