【问题标题】:How to get the Instagram picture or video URL directly from copy or share URL?如何直接从复制或分享 URL 中获取 Instagram 图片或视频 URL?
【发布时间】:2019-11-21 10:28:35
【问题描述】:

我想制作一个使用复制 URL 从 Instagram 下载图像的 Android 应用。 我被困在第一步本身 谁能帮我从复制链接中获取图像或视频 URL? 谢谢

【问题讨论】:

    标签: java android json android-studio instagram


    【解决方案1】:

    在不使用任何 API 的情况下,我们只需在帖子 URL 的末尾添加以下字符串即可获取帖子的 JSON 文件。

    ?__a=1
    

    示例:发布链接

    https://www.instagram.com/p/B-xoLq7h6xS
    

    JSON 链接

    https://www.instagram.com/p/B-xoLq7h6xS/?__a=1
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-01-21
      • 1970-01-01
      • 1970-01-01
      • 2020-11-01
      • 2019-03-17
      • 1970-01-01
      • 2012-01-09
      • 1970-01-01
      相关资源
      最近更新 更多