Hosted News feeds API that allows you to build scalable news feeds and activity streams
Questions tagged [getstream-io]
703 questions
3
votes
1 answer
How do I check my user is already connected?
I made a react hook to return the client for this library, and in this hook, I'm also connecting the user.
useEffect((): any => {
async function getSub() {
const {
data: { createSupportChatSubscription },
} = await…

nyphur
- 2,404
- 2
- 24
- 48
3
votes
1 answer
Create activity in two feed groups in Stream Rails
I am using Stream Rails to build an app with a feed. The user has some page which other users can follow. For that I created a page feed group. Here is my Post model -
class Post < ApplicationRecord
belongs_to :page
belongs_to :author,…

Aniket Bhattacharyea
- 224
- 5
- 17
3
votes
0 answers
Trigger an update in a Feed after posting a reaction
I'm working with the reactions of activities using getstream.io and Reactjs without using
javascript for my custom components instead of the components they provide.
I want to refresh the activity from the feed so I can get updated reactions such as…

M_Armendariz
- 150
- 9
3
votes
2 answers
Callbacks not called on GetStream Swift SDK
I have a blank Xcode project with GetStream integrated
Podfile :
pod 'GetStream'
Initialized GetStream on AppDelegate :
Client.config = .init(apiKey: "XXXXX", appId: "XXXX", logsEnabled: true)
Client.shared.setupUser(token: "XXXXX") { (result)…

ElamParithi Arul
- 377
- 1
- 11
3
votes
1 answer
How do I Enable devTokens on getstream.io?
on this page it says "To enable development tokens, you need to change your application configuration."
https://getstream.io/chat/docs/tokens_and_authentication/?language=js
to allow use of
await client.setUser(
{
id: 'john',
…

JRA
- 33
- 3
3
votes
1 answer
duplicate comments in getstream-io api for swift
Whenever I try to comment on a post in my flat-feed and reload the comment section it. a duplicate set of comment cells is presented so if I have one comment and reload I will now have two duplicate comments. this keeps happening until I close and…

Michael Shea
- 31
- 1
3
votes
1 answer
Pushing notifications using getStream.io
I want to push notification in device like FireBase notification. Is this possible through GetStream.io APIs ? Till now, I got the APIs related to notification feeds and chats, but I think these are for within/inside the application, not for…

Harshita
- 372
- 4
- 16
3
votes
2 answers
GetStream.io Chat API - Stop Listening for channel Events in Stream
I'm confused by the documentation on how to stop listening for channel events in JS using the Stream Chat API.
As per the docs:
// remove the handler for all "message.new" events on the channel
channel.off("message.new",…

Meqwz
- 1,319
- 8
- 14
3
votes
1 answer
NotAllowedException when reading feeds on the client
Hi I'm new to GetStream and still learning. Here is a condensed version of what I'm using.
I have a python backend where I create user tokens:
client = stream.connect(...)
token = client.create_user_token(id)
return token
I then pass the token to…

Vill Hong
- 33
- 3
3
votes
0 answers
getstream.io - Cannot create user in PHP backend
I have created a React Native app with a stream from react-native-activity-feed. I use PHP as backend to generate the user session token;
$userId = "42";
$userToken = client->createUserSessionToken($userId);
In my emulator I get following…

LisaWy
- 31
- 2
3
votes
1 answer
How to add comments to get stream in react native
I want to add a comment section to my react native app similar to instagram's one. I am using a getstream activity feed and have tried importing CommentField from react-native-activity-feed but i get an invariant violation error when i use it.…

Deps
- 555
- 1
- 4
- 12
3
votes
1 answer
Commenting in real time using getstream
I'm working with the js/node api of getstream and I'm trying to add a realtime feature to the comments on the activities, but I'm receiving a 403 error, displaying I dont have permission.
I've tried using targetFeeds: '[timeline:userid]' but it…

M_Armendariz
- 150
- 9
3
votes
0 answers
Why am I getting 'cURL error 28: Resolving timed out' error on page refresh? getstream.io
I keep getting a curl timeout using the stream-laravel library from getstream.io. It happens when I request an activity feed for display in a blade template.
I have the settings in stream-laravel config set to timeout at 3. When the page displays,…

RobDiablo
- 205
- 3
- 11
3
votes
1 answer
You are publicly sharing your App Secret. Do not expose the App Secret in browsers: error while calling getStream API from Angular
I am using GetStream API to get feed data. When I am calling API its gives me an error that You are publicly sharing your App Secret. If I pass it null then it gives me 403 error with message "Missing token, in client side mode please provide a feed…

Ruchita Ajmera
- 413
- 1
- 6
- 17
3
votes
0 answers
For getstream.io, what is the best activity model for comments/likes on comments?
I need a little bit of help with GetStream.io activities. I am implementing the usual timeline that one can see on LinkedIn or Facebook where a user can post an object. The activity for this would be:
actor: 'user:john',
verb: 'post',
object:…

Eric Richer
- 525
- 4
- 13