Click or drag to resize
MediaSearch Method (Double, Double, NullableInt32)
Search for media in a given area.

Requires Authentication: False

Namespace: InstaSharp.Endpoints
Assembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Task<MediasResponse> Search(
	double latitude,
	double longitude,
	Nullable<int> distance
)

Parameters

latitude
Type: SystemDouble
Latitude of the center search coordinate. If used, longitude is required.
longitude
Type: SystemDouble
Longitude of the center search coordinate. If used, latitude is required.
distance
Type: SystemNullableInt32
Default is 1km (distance=1000), max distance is 5km.

Return Value

Type: TaskMediasResponse
Media Response
See Also