Skip to content

Instantly share code, notes, and snippets.

@nparsons08
Created Dec 11, 2019
Embed
What would you like to do?
// mobile/android/app/src/main/kotlin/io/getstream/flutter_the_stream/MainActivity.kt:86
private fun follow(user: String, token: String, userToFollow: String): Boolean {
val client = CloudClient.builder(API_KEY, token, user).build()
client.flatFeed("timeline").follow(client.flatFeed("user", userToFollow)).join()
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment