KirbyGram icon indicating copy to clipboard operation
KirbyGram copied to clipboard

Issie with MediaResponse.php

Open ghost opened this issue 9 years ago • 3 comments

this is the error im getting

Fatal error: Call to a member function get() on array in /home/byo78221/public_html/kingpinstyle.com/site/plugins/kirbygram/lib/Instagram/MediaResponse.php on line 16.

ghost avatar Oct 05 '15 16:10 ghost

and this is the code im using in my footer

`<?php $instagram = new \Instagram();

// Get all of the IMAGES from my feed! $instagram->feed()->only('image')->get();

// Get the latest four images and videos from my feed! $instagram->feed()->limit(4)->get();

// Get the latest four images and videos from my feed except the first one! $instagram->feed()->limit(4)->offset(1)->get(); ?>`

ghost avatar Oct 05 '15 16:10 ghost

Sounds like a configuration issue. Can you confirm these have been setup correctly? Happy to debug if you provide config details.

steadweb avatar Oct 08 '15 10:10 steadweb

Why are you trying to get your feed three times, with different options?

timnarr avatar Oct 13 '15 05:10 timnarr