cosenary / Instagram-PHP-API

An easy-to-use PHP Class for accessing Instagram's API.
http://cosenary.github.com/Instagram-PHP-API
BSD 3-Clause "New" or "Revised" License
1.46k stars 782 forks source link

on line 627 Undefined offset: 1 #231

Open dancodery opened 7 years ago

dancodery commented 7 years ago

In Line 611 is curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); set to false. With every request I get Undefined offset: 1

I got no mistakes after I set it true curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);

Over here https://www.instagram.com/developer/authentication/ they are writing that every request must be made over SSL