File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,17 @@ public function getMediaIdByShortcode($shortcode) {
263
263
]);
264
264
}
265
265
266
+
267
+ /**
268
+ * @throws Exceptions\NotFoundException
269
+ * @throws Exceptions\BadResponseException
270
+ */
271
+ public function getMediaIdByShare ($ share ) {
272
+ return $ this ->request ('instagram/media/get_id_by_share ' , [
273
+ 'share ' => $ share ,
274
+ ]);
275
+ }
276
+
266
277
/**
267
278
* @throws Exceptions\NotFoundException
268
279
* @throws Exceptions\BadResponseException
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class RocketAPI {
5
5
private $ base_url = "https://v1.rocketapi.io/ " ;
6
6
private $ token ;
7
7
private $ max_timeout = 30 ;
8
- private $ version = "1.0.9 " ;
8
+ private $ version = "1.0.10 " ;
9
9
private $ is_debug = false ; // Set true if you want to debug your requests
10
10
11
11
public function __construct ($ token , $ is_debug = false ) {
You can’t perform that action at this time.
0 commit comments