本文介绍了Facebook好友邀请请求不显示信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个字符串消息=你好;
键,当用户得到邀请,他没有看到我的短信,但类似你从...
params.putString(消息,消息);
params.putString(发送,123123123);
WebDialog webdialog =新WebDialog.Builder(PurchaseFlowActivity.this,
Session.getActiveSession()动作,则params)
.setOnCompleteListener(新WebDialog.OnCompleteListener(){
@覆盖
公共无效的onComplete(束值,
FacebookException错误){ }
})。建立();
窗口dialog_window = progressDialog.getWindow();
dialog_window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
webdialog.show();
解决方案
在通知弹出没有显示消息的邀请的
如果目标用户已经安装了该应用程序已经它才会显示。
I have a String message = "hi";
and when the user gets the invitation he doesn't see my message, but something like 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();
解决方案
The message is not shown in the notification popup for invites.
It is only shown if the target user has installed the app already.
这篇关于Facebook好友邀请请求不显示信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!