Answer the question
In order to leave comments, you need to log in
How to display a photo for a specific location on instagram?
I know that for this you need an instagram api and an application in it - all this is already there, please help me write the code, otherwise I can’t figure it out)
Answer the question
In order to leave comments, you need to log in
Instagram parser in php?
with the help of that library, I organized data parsing by hashtag, read the documentation and go for it, everything is simple.
https://github.com/cosenary/Instagram-PHP-API :
$instagram = new Instagram\Instagram;
$instagram->setClientID(Config::get('app.clientID'));
$params = isset( $_GET['max_id'] ) ? array( 'max_id' => $_GET['max_id'] ) : null;
$media = $instagram->getTagMedia("TAG_NAME", $params); //тут и хранятся медиа данные
$next_page = $media->getNext();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question