【问题标题】:How to open facebook messenger chat window using app-scoped id in android如何在android中使用app-scoped id打开facebook messenger聊天窗口
【发布时间】:2015-11-01 23:15:23
【问题描述】:

我可以在我的应用程序中使用 graph-api 获取应用范围内的用户 ID。 然后,如何在 android 中使用 app-scoped id 打开 facebook messenger 聊天窗口。

我们可以使用 global-facebook-id(使用意图和 uri)打开 facebook messenger 聊天窗口。

Uri uri = Uri.parse("fb-messenger://user/");
uri = ContentUris.withAppendedId(uri, Long.parseLong(peopleId));
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

但是,使用 app-scoped-id 获取 global-facebook-id 是不可能的。

然后,我想知道如何仅使用 app-scoped-id 打开 facebook messenger 聊天窗口。我不需要发私信,只需打开即可。

感谢您的阅读!

【问题讨论】:

    标签: android facebook facebook-graph-api messenger


    【解决方案1】:

    这是不可能的。 开发人员与 Facebook Messenger 交互的唯一方式是...

    【讨论】:

      猜你喜欢
      • 2012-12-07
      • 2016-08-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多