Stephen

  • Total activity 138
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 2 users
  • Votes 0
  • Subscriptions 75

Articles

Recent activity by Stephen Recent activity Votes
  • Common Server-side REST API requests - Chat

    Get Channel Data by CID (All the data)   curl --location --request POST 'https://chat.stream-io-api.com/channels?api_key={api_key}' \--header 'Accept: application/json' \--header 'Stream-Auth-Type...

  • How to not render Silent Messages - Chat

    Silent messages are a way to avoid a message from incrementing unread counts for channels or for marking a channel as unread.  Silent messages do still send a push notification.    For the React an...

  • I'm receiving HTTP 403 Errors in my Feeds App

    The Stream Feeds API is built with a simple permissions system for read and write privileges.  Permissions are defined at a Feed Group level.  With Server-side permissions (Stream client instantiat...

  • How to handle muted messages in React - Chat

    Muting another user By default, any user is allowed to mute another user. This can be achieved with the following code const mutedUser = await client.muteUser(targetUser);   The default behavior fo...

  • How can I enable logs in Stream Chat? (JS client)

    You can enable logs in JS when instantiating the chat client  // instantiate client with logsconst serverClient = StreamChat.getInstance(appKey, secret, { logger: (logLevel, message, extraData) => ...

  • If an activity is added to a feed with TO, will it fan-out?

    In short, yes. When an activity is added to a feed, even if it's added using the TO field, then it will fan-out to all feeds that follow that feed, including notification feeds.  Here are the docs ...

  • What if the same activity is added to a notification feed twice?

    If an activity is added twice to a feed, we automatically dedup it, so it will not appear twice on that feed. so long as it is added using the TO or addToMany methods and it is the same activity.  ...

  • How to check if a user is already following a feed?

    In order to check if a user already follows a feed , perhaps to render a different button or to avoid additional API calls, you can use the feed.Following() endpoint, for example, to check if user1...

  • How does Activity Copy Limit work?

    This parameter is documented here: https://getstream.io/docs/#followingIt means the number of activities to be copied from the followed feed to the following feed.It's limited between 0 and 1000 wi...

  • Can I use my own database for Stream Feeds?

    No, unfortunately, the beauty of our algorithms and API won't work on your own database. If you would like to save activities, reactions, relationships, and follows in your own database, you should...