From cbbf10c7f30dbf5e82e3cef71e3fc864aba5b851 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 19 Oct 2019 21:15:48 +0100 Subject: drop instagram stuff --- lib/helpers.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/helpers.php') diff --git a/lib/helpers.php b/lib/helpers.php index 57e3374..4d6ca3c 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -377,15 +377,6 @@ function relative_time($date) { return $rel->timeAgo($date); } -function instagram_client() { - return new Andreyco\Instagram\Client(array( - 'apiKey' => Config::$instagramClientID, - 'apiSecret' => Config::$instagramClientSecret, - 'apiCallback' => Config::$base_url . 'auth/instagram/callback', - 'scope' => array('basic','likes'), - )); -} - function validate_photo(&$file) { try { -- cgit v1.2.3