Laravel package that connect to Instagram's new API Basic Display. Retrieve personal user's posts and keep them in cache, with specific commands or with Scheduler and take care to refresh the token's every two months.
MIT License
3
stars
3
forks
source link
Empty return by "InstagramBasicFeed::getUserMediasWithHashtag($tag)" #9
In the view facade class not works for me. I solved with declaration of an instance of the class crawler... I'm not enough skilled to understand/solve the problem
@php
$tag = '';
if (isset($hashtag)) $tag = $hashtag;
$instagramCrawler = new ChillPills\InstagramBasicFeed\InstagramFeedCrawler();
@endphp
@foreach(InstagramFeed::getUserMediasWithHashtag($tag) as $media)
....
In the view facade class not works for me. I solved with declaration of an instance of the class crawler... I'm not enough skilled to understand/solve the problem @php $tag = ''; if (isset($hashtag)) $tag = $hashtag; $instagramCrawler = new ChillPills\InstagramBasicFeed\InstagramFeedCrawler(); @endphp