How to get the list of feeds/activities for users whom we are following.
I tried $user_feed_1->following(10, 20);
but not getting feed data like we get in $user_feed_1->getActivities(5, 10);
I am using Laravel framework. I am not getting any error but getting output array(size=4) 'created_at' =>string'2016-04-29T04:14:49.416Z'(length=24) 'feed_id' =>string'flat:1986'(length=9) 'target_id' =>string'user:6028'(length=9) 'updated_at' =>string'2016-04-29T04:14:49.416Z'(length=24)
Not the output as for feed
If you want to retrieve the list of users, and not the follow connections created for their feeds, you should store the follow connections in your database as well.
The official laravel example apps does exactly this, it stores follow connections between users and sends API calls whenever those connections are created or destroyed. You can see how that's done by looking at the
Follow
model in the code of the example.