Questions tagged [getstream-io]

Hosted News feeds API that allows you to build scalable news feeds and activity streams

703 questions
15
votes
2 answers

Stream - Get the total number of followers

I've created a feed reference and fetched the followers like so: var admin = client.feed('user', 'admin'); const res = await admin.followers(); But the returned result contains paginated data. How can I count the total number of followers? Will…
Yaron Levi
  • 12,535
  • 16
  • 69
  • 118
13
votes
2 answers

Incognito Lighthouse performance issues

I am getting this issue while running a performance test. The suggestions is to run it in incognito, but I am running it in incognito and still getting this issue. It is still running the test and giving me a score, but it seems something is…
ayagoub
  • 161
  • 1
  • 5
9
votes
1 answer

ReferenceError: global is not defined with Stream and Angular 7.1

I'm trying to use Stream with Angular 7, however I am getting the following error. ReferenceError: global is not defined ReferenceError: global is not defined at Object../node_modules/faye/src/util/browser/event.js (event.js:45) at…
Corey Roth
  • 1,095
  • 2
  • 8
  • 11
8
votes
1 answer

Timezone bug when retrieving "time" field?

The manual specifies that uniqueness is based on foreign_id and time fields. I have an activity where a user joins a specific event. The event has its own start date which I want to display in the timelines, therefore I am submitting it as extra…
Anders
  • 111
  • 1
  • 3
6
votes
1 answer

Prepending 'SU:' to Actor in Getstream-io Feed Update

Why do you have to prepending SU: to actor ID in a getstream-io feed update? data = {'actor' : 'SU:ronald', 'message': 'hello', 'object' : 'object', 'verb' : 'post' } Without SU: I get the error:…
rbinnun
  • 1,169
  • 2
  • 10
  • 18
6
votes
1 answer

No such method error while using robospice-retrofit and getstream.io

In our project we are using com.octo.android.robospice:robospice-retrofit:1.4.14 , Which require okhttp: 1.6.0 And getstream java client io.getstream.client:stream-repo-okhttp:1.2.2', Which require okhttp:2.2.0 So here gradle is picking up, 2.2.0…
Sanyasirao Mopada
  • 943
  • 12
  • 31
6
votes
1 answer

How to build a news feed with aggregate and flat types?

A simple feature on Facebook is to show posts from your friends, but also posts that your friends shared. In the case of shared posts, it's titled as "Kelly and 4 others" shared XYZ post. In addition, if several of your friends shared the post,…
demig0d
  • 1,131
  • 1
  • 12
  • 24
5
votes
0 answers

GetStream Push Notifications 'BadDeviceToken' error

I followed the following GetStreamIO, react documentation to implement push notifications for an Ionic mobile app. As a start, I was trying this for IOS via APN. https://getstream.io/chat/docs/react/push_introduction/ When I tested the…
psaw.mora
  • 868
  • 1
  • 7
  • 18
5
votes
2 answers

How to collapse/group expo notifications

Hello everybody I'm currently developing an application that uses expo for push notifications. This app includes a chat feature that notifies the user of each message. The real problem is that these notifications are not collapsing immediately so…
Roberto
  • 253
  • 1
  • 9
5
votes
1 answer

Delete Specific getstream feed

I want to delete getstream feed (Single complete stream like TIMELINE:200) by using nodejs client const timeline = client.feed('TIMELINE', '200'); timeline.delete(); // this line throws error TypeError: timeline_200.feed.delete is not a function
user8590996
5
votes
1 answer

GetStream and activity feeds

I have an existing notification feed, but I'm looking at possibly migrating over to GetStream. Currently, I'm using Laravel Notifications, to notify users and other objects. I currently have something like the following: 1) Users 2) Groups 3) Group…
sipher_z
  • 1,221
  • 7
  • 25
  • 48
5
votes
2 answers

How do i serialize objects during enrichment with stream-django and django rest framework?

Im using stream-django with django REST framework and the enriched activities are throwing "not JSON serializable" on the objects returned from enrichment, which is as expected as they have not gone through any serializing. How do i customize the…
Ruben Schmidt
  • 141
  • 1
  • 6
5
votes
1 answer

How we can implement hashtag like feature using getstream

I want to create functionality similar to hashtags on Twitter with the Getstream.io API. Users will post messages to their own flat feeds with certain hashtags. Then I want to be able to filter all activities based on a certain hashtag.
Ankesh Kumar
  • 515
  • 2
  • 17
5
votes
1 answer

Can you mark notifications as NOT seen and NOT read?

I tried to pass false but it doesn't seem to do anything. In any regards what I was really looking for was to unread / unseen. At this point it was mostly for testing purposes but I could see this becoming a feature in our system. mark_read Comma…
user391986
  • 29,536
  • 39
  • 126
  • 205
5
votes
1 answer

Is it possible to filter on a feed

Is it possible to implement filtering on feeds in stream? I would like to allow users to follow other user posts but have those tagged with various categories. The desire is to select a category of Football and see just the posts made by people I…
Andrew Rutter
  • 1,257
  • 2
  • 18
  • 34
1
2 3
46 47