Open ahmad opened 9 years ago
Seems like this is the underlying problem of this issue. Fatal error: Uncaught exception 'MetzWeb\Instagram\InstagramException' with message 'Error: _makeCall() - cURL error: Unknown SSL protocol error in connection to api.instagram.com:443 ' in vendor/cosenary/instagram/src/Instagram.php:637
Same with me, using latest version .. any fix for this?
Thanks
Right now my solution just comment line around 637 of Instagram.php
+1! received this error as well! an isset change would totally make sense.
+1, same error
+1
Notice: Undefined index: X-Ratelimit-Remaining in /home/..../api/Instagram.php on line 500
+1
+1
+1
+1
Guys I fixed mine: Solution was to include the App Id and Key in all three files.
A mishap a day will keep the bugs away!
+1
+1 any solution?
This issue make it useless
+1
+1
+1
This may or may not be the same for you but dumping the $headers variable showed that the X-RateLimit-Remaining index existed but in lowercase. Maybe a check on both should be made to get past this error.
Line 633 of Instagram.php
From:
$this->_xRateLimitRemaining = $headers['X-Ratelimit-Remaining'];
To
$this->_xRateLimitRemaining = isset($headers['X-Ratelimit-Remaining']) ? $headers['X-Ratelimit-Remaining'] : $headers['x-ratelimit-remaining'];
Have anyone came across this issue before? I'm getting an undefined index notice and the request is not going through.
I saw this post in StackOverflow but I'm not sure how to fix the issue in relation to this library.
Here is the code I'm running. I just modified the success.php file a little bit
Any help would be greatly appreciated!
Thank you, Ahmad