1

我正在尝试在我的应用程序中与用户的特定聊天中发送打开的 fb-messenger。我有用户的 app_scope_id,与我的应用相关。但是,据我目前所知,我需要全球 facebook id 才能让信使在与该人的对话中启动。有没有办法通过 app_scope_id 实现这一点?

代码:

Uri uri = Uri.parse("fb-messenger://user/");
uri = ContentUris.withAppendedId(uri,[APP SCOPE ID]);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
4

0 回答 0