E
E
Evgeny Mikhailov2014-07-16 18:41:04
PHP
Evgeny Mikhailov, 2014-07-16 18:41:04

How to display photos from instagram - on the site at a specific geolocation?

Friends, good afternoon! Please help me with this question. We're making a multimedia page on the city's website in Moe. We are faced with the task of embedding an instagram snippet that will display photos added by people with a specific geo-location. In this case, we have the subject of architectural monuments, we want the person who posted a photo with a place, for example, "Monument to the Wars of the War of 1941-1945", this photo would get to our site. Can such a task be accomplished? Is it in this form? Thank you very much!

ps output by hash tags is not suitable (because there is a lot of spam)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kharitonov, 2014-07-16
@derealty

Looks like Location or Geography Subscriptions API might work for you instagram.com/developer/realtime

D
Dmitry Entelis, 2014-07-16
@DmitriyEntelis

You need Geography Subscriptions

curl -F 'client_id=CLIENT-ID' \
     -F 'client_secret=CLIENT-SECRET' \
     -F 'object=geography' \
     -F 'aspect=media' \
     -F 'lat=35.657872' \
     -F 'lng=139.70232' \
     -F 'radius=1000' \
     -F 'callback_url=http://YOUR-CALLBACK/URL' \
     https://api.instagram.com/v1/subscriptions/
instagram.com/developer/realtime
Specify the coordinates of all your monuments with a certain radius, wait.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question