like gaming app, how to invite my freinds to play my game in facebook notificatin through sromku library? I have used invitelistener it calls onComplete method but freinds did not get notification or message #400
SimpleFacebook mSimpleFacebook;
mSimpleFacebook.invite("I invite you to use this app", onInviteListener, null);
OnInviteListener onInviteListener = new OnInviteListener() {
@Override
public void onException(Throwable throwable) {
}
@Override
public void onFail(String reason) {
}
@Override
public void onComplete(List<String> invitedFriends, String requestId) {
Log.i(Constants.TAG, "Invitation was sent to " + invitedFriends.size() + " users with request id " + requestId);
}
@Override
public void onCancel() {
Log.i(Constants.TAG, "Canceled the dialog");
}
/*
* You can override other methods here:
* onFail(String reason), onException(Throwable throwable)
*/
};