Dymantic / laravel-instagram-feed

147 stars 51 forks source link

Cannot get more than 15 items in a feed. #70

Open packtloss opened 1 year ago

packtloss commented 1 year ago

I'm not sure if this project is actively maintained anymore - but if it is, any insight as to why i can not see more than 15 results at a time? Additionally, is there a way to force latest/oldest posts first?

php artisan instagram-feed:refresh 100

$feed = \Dymantic\InstagramFeed\InstagramFeed::for('profilename',100);

$feed = Profile::where('username', 'profilename')->first()->feed(100);

$schedule->call(function() { Profile::where('username', 'profilename')->first()->refreshFeed(100); })->twiceDaily();

Am i doing something wrong?

michaeljoyner commented 1 year ago

Hi @packtloss, sorry for the late reply. I wouldn't call this package "actively" maintained, as I have very little time for it these days, and only do things if I need them myself. Not great, but such is life.

I can't see the problem with your issue, or anything that you are doing wrong. The default count is 20, not 15, so the fact that don't get more that 15 records is odd. It is possible that Instagram have changed the API from their side, and the count/limit managed by the package no longer applies.