I have a problem with displaying feeds from "timeline". I've installed the app wich works fine, and connects to the API. I have admin account who follows his own account. But following method from the controller does not retrieve anything:
public function feed()
{
$feed = FeedManager::getNewsFeeds(Auth::id())['timeline'];
$enricher = new Enrich;
$activities = $feed->getActivities(0,25)['results'];
$activities = $enricher->enrichActivities($activities);
return View::make('flat_feed', array('activities'=> $activities));
}
However, I've created method to retrieve specific user feeds, and it works fine:
public function user_feed()
{
$feed = FeedManager::getUserFeed(Auth::id());
$enricher = new Enrich;
$activities = $feed->getActivities(0,25)['results'];
$activities = $enricher->enrichActivities($activities);
return View::make('flat_feed', array('activities'=> $activities));
}
Can you tell me why in "timeline" ( feed() method ) there are no feeds ? Thanks
I have a problem with displaying feeds from "timeline". I've installed the app wich works fine, and connects to the API. I have admin account who follows his own account. But following method from the controller does not retrieve anything:
However, I've created method to retrieve specific user feeds, and it works fine:
Can you tell me why in "timeline" ( feed() method ) there are no feeds ? Thanks