From c9685773d2c85b709894f2e999a22b680b94dd49 Mon Sep 17 00:00:00 2001 From: denisdenisi4 <86909129+denisdenisi4@users.noreply.github.com> Date: Tue, 25 Jan 2022 13:51:46 +0500 Subject: [PATCH] Make getCacheKey API public. (#1026) See details in [issue](https://github.com/postaddictme/instagram-php-scraper/issues/1025). --- src/InstagramScraper/Instagram.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InstagramScraper/Instagram.php b/src/InstagramScraper/Instagram.php index 6742897c..d5a32546 100644 --- a/src/InstagramScraper/Instagram.php +++ b/src/InstagramScraper/Instagram.php @@ -2048,7 +2048,7 @@ public function loginWithSessionId($sessionId) /** * @return string */ - private function getCacheKey() + public function getCacheKey() { return md5($this->sessionUsername); }