File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 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) {
263263 ]);
264264 }
265265
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+
266277 /**
267278 * @throws Exceptions\NotFoundException
268279 * @throws Exceptions\BadResponseException
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class RocketAPI {
55 private $ base_url = "https://v1.rocketapi.io/ " ;
66 private $ token ;
77 private $ max_timeout = 30 ;
8- private $ version = "1.0.9 " ;
8+ private $ version = "1.0.10 " ;
99 private $ is_debug = false ; // Set true if you want to debug your requests
1010
1111 public function __construct ($ token , $ is_debug = false ) {
You can’t perform that action at this time.
0 commit comments