File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
# instagram-php-scraper
2
2
# Usage
3
3
4
+ #v0.5.0
5
+ Important update:
6
+
7
+ First of all thank you guys for your suggestions and support.
8
+ This is * not final* fix for getting medias by tags and locations.
9
+
10
+ if you need to get medias by tags or locations:
11
+ ``` php
12
+ $instagram = Instagram::withCredentials('username', 'password');
13
+ $instagram->login();
14
+ // And then you be able to query instagram with newly updated methods. (Notice that these methods are not static anymore)
15
+
16
+ $user = $instagram->getAccountById(3);
17
+ $medias $instagram->getLocationTopMediasById(1)
18
+ $medias = $instagram->getLocationMediasById(1);
19
+ $location $instagram->getLocationById(1);
20
+ $medias = self::$instagram->getTopMediasByTagName('hello');
21
+ ```
22
+
23
+ Be carefull with login method. I am planning to implement session caching soon
24
+
25
+
4
26
` composer require raiym/instagram-php-scraper `
5
27
6
28
You can’t perform that action at this time.
0 commit comments