FeedRepository

FeedRepository

new FeedRepository()

Methods

getUserFeed(userId, sortbyopt) → {LiveCollection}

Get the collection of posts of a user feed.
Parameters:
Name Type Attributes Description
userId String The owner of the user feed
sortby EkoFeedSortingMethod <optional>
The sorting method
Throws:
Will throw an error if parameters are wrong.
Type
EkoSDKInvalidParameterError
Returns:
A LiveCollection instance of posts models.
Type
LiveCollection