Method Web.Api.Instagram.V1()->Locations()->search()


Method search

mapping search(ParamsArg params, void|Callback cb)

Description

Search for a location by geographic coordinate.

See also

http://instagram.com/developer/endpoints/locations/#get_locations_search

Parameter params
"lat" : float

Latitude of the center search coordinate. If used, lng is required.

"distance" : int

Default is 1000m (distance=1000), max distance is 5000.

"lng" : float

Longitude of the center search coordinate. If used, lat is required.

"foursquare_v2_id" : string|int

Returns a location mapped off of a foursquare v2 api location id. If used, you are not required to use lat and lng.

"foursquare_id" : string|int

Returns a location mapped off of a foursquare v1 api location id. If used, you are not required to use lat and lng. Note that this method is deprecated; you should use the new foursquare IDs with V2 of their API.

Parameter cb