Bolandish / PHP-Instagram-Grabber

A workaround for the new Instagram policy to get images by hashtag and user id. No need for accesstoken :)
150 stars 39 forks source link

I couldn't make it work on Mediatemple Shared Hosting :( #42

Open danielgc opened 7 years ago

danielgc commented 7 years ago

Has anyone tried on a shared hosting?

max-kk commented 7 years ago

Yes, of course.

Just make sure that you have CURL enabled.

https://stackoverflow.com/a/13433965/3475869

danielgc commented 7 years ago

Thx max-kk... that _iscurl() returned as unknown function but phpinfo showed me:

curl cURL support enabled cURL Information 7.26.0

And hosting documentation says they support it.

But when trying require_once 'vendor/autoload.php'; //Its getting 10 images/videoes from instagram with the hastag #nofilter $media = Bolandish\Instagram::getMediaByHashtag("nofilter", 10); returns a blank page :(