【问题标题】:How can I make an Instagram deep link to open Instagram and profile story with a custom data?如何创建 Instagram 深层链接以使用自定义数据打开 Instagram 和个人资料故事?
【发布时间】:2022-12-19 14:45:40
【问题描述】:

我会让我的应用程序用户将图像分享到他们的 Instagram。我该怎么做?看了这篇文章,但不清楚:https://pureoxygenlabs.com/step-by-step-creating-deep-links-to-instagram-hashtags-to-increase-mobile-engagement/

我可以使用此 url 方案来共享网络应用程序吗? instagram-stories://share?source_application=

如果是,我如何传递数据本身?按照这个文档,它来到这里:https://developers.facebook.com/docs/instagram/sharing-to-stories

Uri backgroundAssetUri = Uri.parse("your-image-asset-uri-goes-here");
intent.setDataAndType(backgroundAssetUri, MEDIA_TYPE_JPEG);

【问题讨论】:

    标签: facebook-graph-api instagram deep-linking


    【解决方案1】:

    我可以知道你是否找到了答案吗?找到了代码示例,但它在 SWIFT 中,https://gist.github.com/kunofellasleep/e160c64ecea64441ffee0a6a3e18f685

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-25
      • 1970-01-01
      • 2016-07-29
      相关资源
      最近更新 更多