【问题标题】:Is it possible to send a caption/annotation to Instagram via its custom URL scheme from Mobile Safari?是否可以通过 Mobile Safari 的自定义 URL 方案向 Instagram 发送标题/注释?
【发布时间】:2012-09-25 16:01:07
【问题描述】:

我想允许我的移动网站用户上传照片,在 Mobile Safari 中输入标签和标题,然后打开预先填充了该图片、标签和标题的 Instagram。

根据this 文档,可以预填充图像和标签,但唯一提到预填充标题的是“要在照片中包含预填充的标题,您可以设置注释属性对包含键“InstagramCaption”下的 NSString 的 NSDictionary 的文档交互请求。

我可以使用自定义 URL,例如:instagram://media?id=999&tag?name=sweet_tag&InstagramCaption?caption='My sweet caption.' 来预填充图像、标签和标题吗?

【问题讨论】:

    标签: mobile mobile-safari instagram


    【解决方案1】:

    此功能确实存在,只是尚未添加到文档中。

    从我们的下一个版本 (2.3.0) 开始,您将能够传入一个 相机 URL 挂钩的标题参数,如下所示:

    instagram://camera?caption=hello

    确保它是正确的 URL 编码(# 应该是 %23 等)

    已提交给 Apple,因此应该会在不久的将来发布。

    干杯, -- Mike Krieger Instagram 联合创始人

    https://groups.google.com/forum/?fromgroups=#!topic/instagram-api-developers/0lsJyFcfYPw

    【讨论】:

      猜你喜欢
      • 2014-05-03
      • 2016-08-27
      • 1970-01-01
      • 2017-07-07
      • 1970-01-01
      • 2016-02-22
      • 2011-01-20
      • 1970-01-01
      • 2014-05-02
      相关资源
      最近更新 更多