Skip to content

Commit 841fb3e

Browse files
committed
1.0.10
1 parent 4d52fe8 commit 841fb3e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/InstagramAPI.php

+11
Original file line numberDiff line numberDiff 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

src/RocketAPI.php

+1-1
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)