gpt4 book ai didi

java - Android Facebook 邀请

转载 作者:行者123 更新时间:2023-11-30 00:39:29 30 4
gpt4 key购买 nike

我正在尝试将邀请 friend 功能集成到我的应用程序中。我成功地实现了 Facebook SDK 和 Facebook 登录,但是当我尝试使用他们文档中的代码时:

String appLinkUrl, previewImageUrl;

appLinkUrl = "https://fb.me/#####";
previewImageUrl = "https://lh3.googleusercontent.com/xBD-lKB1aa2p6UTfDcU7i0Q-lQa0vEJalYPqTwJcZv7kyf49iXaNFh0ZwsBR";

if (AppInviteDialog.canShow()) {
AppInviteContent content = new AppInviteContent.Builder()
.setApplinkUrl(appLinkUrl)
.setPreviewImageUrl(previewImageUrl)
.build();
AppInviteDialog.show(this, content);
}

我遇到了一些奇怪的错误(出现了弹出窗口,但它并没有消失,并且只显示了带有微调器加载的白屏)并且我遇到了这个错误:

03-13 10:35:16.567 3893-3893/com.fbdemoappI/chromium: 
[INFO:CONSOLE(155)]
"Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.", source: https://m.facebook.com/connect/dialog/MPlatformAppInvitesJSDialog?app_id=567834300069406&method_args=%7B%22destination%22facebook%22%2C%22preview_image_url%22%3A%22https%3A%5C%2F%5C%2Flh3.googleusercontent.comD-lKB1aa2p6UTfDcU7i0Q-lQa0vEJalYPqTwJcZv7kyf49iXaNFh0ZwsBRUOyr71I%3Dw300-rw%22%2C%22app_link_url%22%3A%22https%3A%5C%2F%5C%2Ffb.me%5C%2F653314188188083%22%7D&bridge_args=%7B%22action_id%22%3A%22d4cf30db-8610-49c1-9b24-2e7a02d7c072%22%7D&display=touch&android_key_hash=XClByNT0DDJvruTU5ocwA8AW4-I%0A (155)

最佳答案

我遇到了同样的错误,这是一个 facebook 错误,他们正在解决这个问题。供引用请通过链接https://developers.facebook.com/bugs/721787828000962/

关于java - Android Facebook 邀请,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42760571/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com