Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Instagram.php
  • Loading branch information
Bolandish committed Nov 24, 2016
2 parents 46ea91a + 31275dd commit a235f0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
24-11-2016 : Instagram closed the endpoint. We are trying figure out a new way to get access to it.

# Get instagram images by hashtag and user id!
A workaround for the new Instagram policy to get images by hashtag and user id.
No need for accesstoken :)
Expand Down
6 changes: 6 additions & 0 deletions test/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
//Get 10 images/videos after the media with the id 1060728019300790746 from Selena Gomex
$media = Bolandish\Instagram::getMediaAfterByUserID(460563723,1060728019300790746, 10);

//Its getting 10 last comments under Selena Gomezs photo
$media = Bolandish\Instagram::getCommentsByMediaShortcode("BGQh8XmOjLM", 10);

//Get 10 comments before the comment with the id 17862588298017953 under Selena Gomezs photo
$media = Bolandish\Instagram::getCommentsBeforeByMediaShortcode("BGQh8XmOjLM", 17862588298017953, 10);

//Display square images only
$media = Bolandish\Instagram::getMediaByHashtag("wildlife", 20);
foreach($media as $value){
Expand Down

0 comments on commit a235f0c

Please sign in to comment.