Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/references.js Secret
Created Nov 8, 2019

Embed
What would you like to do?
var references = streamUtils.referencesFromActivities(stream.results);
streamUtils.loadReferencedObjects(references, params.user_id, function(referencedObjects) {
streamUtils.enrichActivities(stream.results, referencedObjects);
// return the enriched activities
console.log(stream.results);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.