首页 文章

仍未获得适当的分辨率景观,从API返回的肖像图像

提问于
浏览
0

我按照以下步骤登录到您的客户端应用程序设置https://instagram.com/developer/单击顶部导航菜单上的管理客户端 . 找到您的API客户端,然后单击“编辑” . 单击API客户端应用程序的“迁移”选项卡,然后选中“"Non square media"”框 . 单击更新客户端 .

并启用了非正方形媒体并上传了一对风景照片和portriot照片,但我仍然只能获得方形照片;请找到仍然显示640 * 640的示例响应;请帮助;

{caption:“", commentCount: 0, comments: null, createdTime: " 2015年10月15日", deleted: null, height: 640, id: null, providerImageId: null, thumbnailInfo: { caption: null, commentCount: 0, comments: 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 ", username: null, width: 150 }, type: null, url: " https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s640x640/sh0.08/e35/12144260_893144404097052_1454548341_n.jpg ", username: " anilk”,宽度:640},

2 回答

  • 0

    您是否尝试从iOS Hook上传图像?从我自己的测试中可以看出,Instagram中的风景和肖像图像仅在Instagram应用程序中从图库中选择图像时起作用 . 当通过钩子传递图像时,它只是剪切它 .

  • 0

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

    当您在Instagram上传图片时,应用程序使用square作为默认值 . 要上传非方形图像,只需在滤镜选择之前单击图像左下角的小灰色按钮 .

相关问题