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 781 forks source link

Add curl error info in case of failed request #16

Closed gicolek closed 11 years ago

gicolek commented 11 years ago

Hey Christian,

I think that it'd be worth adding some debug / error handlers to the plugin. Plenty of inexperienced programmers might come into issues while using this great library and configuring it wrongly.

I'd also like to do the same with examples provided by you, however they most probably deserver a separate commit for that.

What do you think?