Android Facebook邀请直接访问断开的链接,而不是google play
我正在使用安卓系统中最新的Facebook SDK向我的应用程序发送邀请,但当朋友们收到邀请并点击它时,他们会被定向到Facebook应用程序断开的页面(未找到页面),而不是google play进行下载。有人知道为什么吗 这是我的密码:Android Facebook邀请直接访问断开的链接,而不是google play,android,facebook,facebook-graph-api,Android,Facebook,Facebook Graph Api,我正在使用安卓系统中最新的Facebook SDK向我的应用程序发送邀请,但当朋友们收到邀请并点击它时,他们会被定向到Facebook应用程序断开的页面(未找到页面),而不是google play进行下载。有人知道为什么吗 这是我的密码: Bundle bundle = new Bundle(); bundle.putString("message", message); bundle.putString("app_id", applicationId); i
Bundle bundle = new Bundle();
bundle.putString("message", message);
bundle.putString("app_id", applicationId);
if (friendId != null) {
bundle.putString("to", friendId);
}
bundle.putString("title", title);
WebDialog applicationInvitationDialog = new WebDialog.RequestsDialogBuilder(
activity,
ParseFacebookUtils.getSession(),
bundle
)
.setOnCompleteListener(
new WebDialog.OnCompleteListener() {
/**
*
* @param bundle
* @param facebookException
*/
@Override
public void onComplete(Bundle bundle, FacebookException facebookException) {
boolean wasSent = false;
if (facebookException != null) {
Configuration.singleton().getCrashReportHandler().logException(
facebookException
);
} else {
wasSent = true;
}
callback.callback(
wasSent, getInvitees(bundle)
);
}
}
).build();
applicationInvitationDialog.show();
发现了问题。我根本不需要发送应用程序id。
希望它能帮助别人。你是在使用你的google play应用程序id而不是引用你的google play应用程序的facebook应用程序id吗?哦。。。你是说我应该发送Google应用程序id而不是Facebook应用程序id。。。不,正好相反,但看起来你已经明白了。