问题描述
我正在尝试使用Instagram API为Instagram中的图像设置自定义宽度.我正在使用主题标签来获取所有相关图像.我可以要求Instagram为我提供自定义图像尺寸吗?我知道有3种尺寸:缩略图,low_resolution,standard_resolution.这就是我所能得到的吗?谢谢!
I am trying to set custom width for images in Instagram, using Instagram API. I am using hashtag to grab all images related. Can I ask Instagram to serve me custom image sizes? I know there are 3 sizes: thumbnail, low_resolution, standard_resolution. Is that all what I can get? Thanks!
推荐答案
简单地搜索并替换_5(或_6,即)即可得到所需的尺寸(见下文):
Simple do a search and replace on _5 (or _6, ie) to get get your desired size (see below):
图片大小似乎是:
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_7.jpg
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_7.jpg
612px×612px
612px × 612px
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_6.jpg
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_6.jpg
306px×306px
306px × 306px
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_5.jpg
http://distilleryimage7.s3.amazonaws.com/xxxxxxxxx_5.jpg
150px×150px
150px × 150px
似乎_8,_4,_3是无效尺寸.
It appears _8,_4,_3 are not valid sizes.
这篇关于Instagram API自定义图像宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!