Method Web.Api.Instagram.V1()->Media()->search()
- Method search
- Description
Search for media in a given area. The default time span is set to 5 days. The time span must not exceed 7 days. Defaults time stamps cover the last 5 days. Can return mix of image and video types.
- Parameter
params Can have:
"lat":string|floatLatitude of the center search coordinate. If used, lng is required.
"min_timestamp":intA unix timestamp. All media returned will be taken later than this timestamp.
"lng":string|floatLongitude of the center search coordinate. If used, lat is required.
"max_timestamp":intA unix timestamp. All media returned will be taken earlier than this timestamp.
"distance":intDefault is 1km (distance=1000), max distance is 5km.
- Parameter
cb Callback function when in async mode