本文介绍了新的Instagram API-最小时间戳消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算在Instagram API中使用/media/search端点.为了我们的目的,我们需要使用MIN_TIMESTAMP来获取在特定时间戳记之后编写的出版物.但是,我注意到此参数在不赞成使用的API中可用,而在新API中不可用:

I am planning to use the /media/search endpoint in the Instagram API. For our purposes we would need to use MIN_TIMESTAMP to get publications written after a certain timestamp. However, I have noticed that this parameter is available in the deprecated API, and it is not available in the new API:

这是已弃用的API中的端点: https://www.instagram.com/developer/deprecated/endpoints/media/#get_media_search

This is the endpoint in the deprecated API:https://www.instagram.com/developer/deprecated/endpoints/media/#get_media_search

这是新API中的端点: https://www.instagram.com/developer/endpoints/media/#get_media_search

This is the endpoint in the new API:https://www.instagram.com/developer/endpoints/media/#get_media_search

如您所见,MIN_TIMESTAMP和MAX_TIMESTAMP从新文档中消失了.但是,我已经使用这些参数执行了查询,它们似乎可以正常工作.

As you can see, MIN_TIMESTAMP and MAX_TIMESTAMP disappear from the new documentation. However, I have performed a query with these parameters and they seem to work.

我已经搜索了 Instagram的开发人员博客,但没有对此发表任何评论.这些时间戳参数将来会消失吗?

I have searched in Instagram's developers blog and I did not find any comment on this.Are these timestamp parameters disappearing in the future?

推荐答案

更改已于今天(2016年6月1日)推出,您将看到现在不再考虑min_timestamp了.

The changes were rolled out today (1st June 2016) and you will see that now the min_timestamp is no longer taken in to account.

这篇关于新的Instagram API-最小时间戳消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 21:00