我有一个String message = "hi";
,当用户收到邀请时,他看不到我的消息,但是类似you have a request from ...
params.putString("message", message);
params.putString("to", "123123123");
WebDialog webdialog = new WebDialog.Builder(PurchaseFlowActivity.this,
Session.getActiveSession(), action, params)
.setOnCompleteListener(new WebDialog.OnCompleteListener() {
@Override
public void onComplete(Bundle values,
FacebookException error) {
}
}).build();
Window dialog_window = progressDialog.getWindow();
dialog_window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
webdialog.show();