Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrimaud committed Sep 20, 2021
1 parent 4859cc0 commit 74ebf5f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ If you like or use this package, please share your love by starring this reposit
- **NEW : Fetch Reels 🎉**
- **NEW : Fetch IGTV 🎉**
- **NEW : Fetch medias where a user has been tagged on 🎉**
- **NEW : Fetch HD profile picture 🎉**
- **NEW : Post a message to a media 🎉**

This version can retrieve **ANY** Instagram feed using **web scrapping**.

Expand All @@ -53,6 +55,11 @@ composer require pgrimaud/instagram-user-feed

# Changelog

**v6.12** - 2021-09-20:

- Add method to post message on a media (example [here](https://github.com/pgrimaud/instagram-user-feed/blob/master/examples/post-comment.php)) 🎉.
- Add method to get HD profile picture (example [here](https://github.com/pgrimaud/instagram-user-feed/blob/master/examples/profile-alternative.php)) 🎉.

**v6.11** - 2021-09-13:

- Add method to fetch medias where a user has been tagged on (example [here](https://github.com/pgrimaud/instagram-user-feed/blob/master/examples/tagged-medias.php)) 🎉.
Expand Down
11 changes: 11 additions & 0 deletions tests/Utils/EndpointsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,15 @@ public function testGetLiveUrl()
$endpoint = Endpoints::getLiveUrl('pgrimaud');
$this->assertSame('https://www.instagram.com/pgrimaud/live/?__a=1', $endpoint);
}

public function testGetCommentUrl()
{
$endpoint = Endpoints::getCommentUrl(123456789);
$this->assertSame('https://www.instagram.com/web/comments/123456789/add/', $endpoint);
}
public function testGetProfileUrl()
{
$endpoint = Endpoints::getProfileUrl(123456789);
$this->assertSame('https://i.instagram.com/api/v1/users/123456789/info/', $endpoint);
}
}

0 comments on commit 74ebf5f

Please sign in to comment.