Is it possible through flickr api or some other service obtain CC-images taken at the location the user is situated?
Like getting the lat and long from the browser and sending it to flickr and then fetching an image taken there? Similar to how the yahoo app on iOS does.
Check out the flickr API documentation for flickr.photos.search
.
There are optional lat, lon, radius and geo-context parameters.
Here is an example url showing the format for an endpoint to search for photos at a specific location:
https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=e693af3d1f05789dfaad53030d8ba9e2&lat=37.7994&lon=122.3950&format=rest&api_sig=b5935d841e55cb4281b9c84701422ae8
I tested the endpoint in postman and in my browser, and it returns an xml including photos tagged to the lat and lon I specified.
The example was created thanks to some documentation here: https://www.flickr.com/services/api/flickr.photos.geo.photosForLocation.html
And the ever handy Flickr api explorer tool: https://www.flickr.com/services/api/explore/flickr.photos.search
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With