【问题标题】:Still not getting proper resolution landscape, portrait images back from the API仍然没有从 API 返回正确的分辨率横向、纵向图像
【发布时间】:2016-01-19 13:51:25
【问题描述】:

我按照步骤 在https://instagram.com/developer/ 上登录到您的客户端应用程序设置 单击顶部导航菜单上的管理客户。 找到您的 API 客户端,然后单击编辑。 单击 API 客户端应用程序的“迁移”选项卡,然后选中“非方形媒体”框。 点击更新客户端。

并启用了非方形媒体并上传了几张风景和肖像照片,我仍然只得到方形照片;请找到仍然显示 640 * 640 的示例响应;请帮助;

{ caption: "", commentCount: 0, cmets: null, createdTime: "Oct 15, 2015", deleted: null, height: 640, id: null, providerImageId: null, thumbnailInfo: { caption: null, commentCount :0,cmets:null,createdTime:null,deleted:null,height:150,id:null,providerImageId:null,thumbnailInfo:null,type:null,url:“https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e35/12144260_893144404097052_1454548341_n.jpg”,用户名:null,宽度:150 },类型:null,url:“https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s640x640/sh0.08/e35/12144260_893144404097052_1454548341_n.jpg”,用户名:“anilk”,宽度:640 },

【问题讨论】:

    标签: instagram instagram-api


    【解决方案1】:

    您是否正在尝试从 iOS Hook 上传图片?根据我自己的测试,Instagram 中的横向和纵向图像仅在从 Instagram 应用程序的图库中选择图像时才有效。当通过钩子传递图像时,它只是裁剪它。

    【讨论】:

      【解决方案2】:

      试试这个链接:https://api.instagram.com/v1/tags/nonsquare/media/recent/?client_id=[CLIENT-ID]https://instagram.com/explore/tags/nonsquare/。有很多非正方形的图片。

      当您在 Instagram 上传图片时,应用程序默认使用方形。要上传非方形图片,只需在过滤器选择之前点击图片左下角的灰色小按钮即可。

      【讨论】:

        猜你喜欢
        • 2021-11-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-02-07
        • 1970-01-01
        • 2015-09-09
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多