I am using the Android Hackbook app. I have slightly modified the code to send a app request to a a Custom Friend. Here is the code.
Bundle params = new Bundle();
params.putString("title", "invite friends");
params.putString("message", getString(R.string.request_message));
params.putString("to", userId);
Utility.mFacebook.dialog(Hackbook.this, "apprequests", params, new AppRequestsListener());
This brings up a dialog to send a app request to the friend who user id i selected. The AppRequestsListener code gets executed and it shows me a toast that the request was successful. How the user never receives the request. What am i doing wrong. Is there some permission that i need to grant to the application first. Really stuck, any help would be good
Kind Regards,
Try this:
This works for me. User receive request as expected.