the problem in which I came across today was: how to link my Android app using Facebook SDK for Android?
The premise is that your Android app must appear in the App Center of Facebook and must be integrated with Facebook by the appropriate SDK.
The crucial point that is not mentioned by facebook tutorial is that the method to be called is "apprequests".
This is the code:
Bundle parameters = new Bundle(); params.putString("method", "apprequests"); WebDialog.RequestsDialogBuilder req = new WebDialog.RequestsDialogBuilder(this, mSession, parameters); req.setMessage("Your message that compare in the request"); req.setTitle("The title of the web dialog"); req.build().show();
Also not specifying your friends (like the example code above) user will see a Multi Friend Selector and will be able to select a maximum of 50 recipients.
Excellent! Very useful post for android developer.
ReplyDeleteandroid application development companies