Skip to content

Instantly share code, notes, and snippets.

@iskenxan
Created April 7, 2019 19:11
Show Gist options
  • Save iskenxan/1f9d51b244bfd7c7c64600ef3d06e641 to your computer and use it in GitHub Desktop.
Save iskenxan/1f9d51b244bfd7c7c64600ef3d06e641 to your computer and use it in GitHub Desktop.
GetStream follow user
const followUser = (username, following) => {
const timelineFeed = client.feed('timeline', username);
timelineFeed.follow('user', following);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment