java更改Facebook SDK请求对话框标题和通知标题
这个问题是关于安卓的。。。一个星期以来,我一直在尝试将我自己的消息显示为邀请/请求对话框以及通知的标题(对于facebook SDK 3.0+),但我不知道如何显示,facebook SDK文档是!@#$,我必须从一开始就阅读所有的文档,以了解一点信息
这是我的密码
final Bundle parameters = new Bundle();
parameters.putString("app_id", /*app id*/);
parameters.putString("to", /*selected friends*/);
parameters.putString("message", /*a message displayed to the inviter*/);
WebDialog dialog = new WebDialog.RequestsDialogBuilder(
this, Session.getActiveSession(), parameters)
.setOnCompleteListener(new OnCompleteListener() {/*what ever happens here */}
}).build();
dialog.show();
现在有两点:
1- i want to set the title of the request dialog, all i can see is "app requests"
2- i want to change the message that appears in the notification for the receiver
请不要告诉我看到了facebook的文档,这是一篇文章@#$
# 1 楼答案
不确定是否可以更改通知的消息。如果你能在文档中找到它,它会告诉你这是不可能的(至少这是我上次遇到的)。但是您可以更改对话框的标题