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
|float
Latitude of the center search coordinate. If used, lng is required.
"min_timestamp"
:int
A unix timestamp. All media returned will be taken later than this timestamp.
"lng"
:string
|float
Longitude of the center search coordinate. If used, lat is required.
"max_timestamp"
:int
A unix timestamp. All media returned will be taken earlier than this timestamp.
"distance"
:int
Default is 1km (distance=1000), max distance is 5km.
- Parameter
cb
Callback function when in async mode