Skip to content

No "timeline" feeds #13

Description

@DominikStyp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions