Ganapathy C
Ganapathy C

Reputation: 5999

Facebook Application request

I want to give Application request to the list of user from my android application.

The main thing is "The App request must not go to wall , it must go to user's inbox or App request list"

is there any way using graph api or facebook api.

Upvotes: 2

Views: 2331

Answers (3)

Spinettaro
Spinettaro

Reputation: 300

You must create a Dialog using WebDialog.RequestsDialogBuilder, also the most important thing is to set the method for apprequests:

Bundle parameters = new Bundle();
params.putString("method", "apprequests");
WebDialog.RequestsDialogBuilder req = new WebDialog.RequestsDialogBuilder(this, mSession, parameters);
req.setMessage("Your message");
req.setTitle("Title for the web dialog");
req.build().show();

You can find more explanations here

Upvotes: 0

adifire
adifire

Reputation: 610

Now they have added the Requests dialog api for android too. Check out the facebook android sdk documentation! https://developers.facebook.com/docs/mobile/android/build/

Upvotes: 2

bkaid
bkaid

Reputation: 52073

You would need to embed the Facebook Requests dialog into a web view. There isn't a graph api method for sending app invites.

Upvotes: 3

Related Questions