Created
April 7, 2019 19:15
-
-
Save iskenxan/7905a45da54266917c22c4d50c7bca71 to your computer and use it in GitHub Desktop.
Getting Activity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getTimelineFeed = (username) => { | |
const timeLineFeed = client.feed('timeline', username); | |
return timeLineFeed.get({ | |
limit: 25, | |
reactions: { | |
counts: true, | |
}, | |
}).then((result) => { | |
return result; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment