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
Getstream seen and unseen posts in a flat feed
Does Getstream support "seen" and "unseen" posts?
Essentially, I'd like to be able to show the user the number of new posts that have been posted to the feed since the last time they visited it.
After they see the new posts on the feed, reset the…
user2038460
3
votes
1 answer
Prevent duplicate getstream.io activities with different timestamps
The documentation states that the uniqueness of an activity is either determined by time or by time plus foreign id.
We would like to suppress similar activities (like "user 1 updated article 2") within e.g. the same hour of the day to prevent…

Olsu
- 93
- 1
- 5
3
votes
3 answers
How to count number of activities in a getstream feed?
Does getstream provide a way to retrieve the number of activities within a feed? I have a notification feed setup. I can retrieve the activities using paginated get. However, I would like to display the number of items within the feed.

jgdreyes
- 169
- 1
- 6
3
votes
1 answer
Objects returned from promise are undefined
I am trying to wrap the getstream API in an angular service (factory)
Here is my code:
.factory('FeedStream', function($http, $q) {
var client = stream.connect('xxxxxxxxxxx');
return {
feed : function() {
…

roob
- 2,419
- 3
- 29
- 45
3
votes
1 answer
Unsubscribe/Disconnect the real time update JS library
We are dealing with a SPA (single page application) so when the user logs in the UI refreshes without a page refresh. We also initiate the stream socket connection through the library like below. Now when the user logs out we want to destroy this.…

user391986
- 29,536
- 39
- 126
- 205
3
votes
1 answer
Update object info for old post
I am sending user id(stored in our own DB) as actor while posting activity on getstream. In object field I am sending other info of user such as name/dob etc. which are in our database too.
Suppose some one updates the user info e.g. name in our…

Ankesh Kumar
- 515
- 2
- 17
3
votes
1 answer
can we get all activity without user ID in getstream
Can we get stream without user id i.e. without $results = $user_feed_1->getActivities(5, 10);
I want to get all streams for all users. Is it possible ?

Ankesh Kumar
- 515
- 2
- 17
3
votes
1 answer
getstream-io notification feed mark_read response seems incorrect
I noticed that when I get activities from a notification feed using mark_read=[] the response seems incorrect: response.unread shows the correct counter (that is, it has decreased by 1), but the object for in response.results has…

aiguofer
- 1,887
- 20
- 34
3
votes
1 answer
Stream-rails - Model method activity_should_sync? being ignored
I've just started playing with the stream-rails gem, and have the flat and user feeds working more or less.
One of my models is being made into an activity when an instance is created - even though my activity_should_sync? is implemented to return…

dale
- 43
- 3
3
votes
1 answer
Creating Feed Groups for a Post instead of for a User
Hi I've a Post model with owner, and an Answer model with all answers from that Post. How can I use Getstream.io to create streams that will result in the following:
"Julie, Frank and 20 more answer your post" ( you're the post owner)
"Julie post a…

Bartolome Serapio
- 104
- 6
3
votes
1 answer
GetStream (Django) - Cannot Enrich Notification Feed
I am using the GetStream Django package to interact with getstream.io. I have had success using the Enricher() class to enrich my activity feed with Django model information for the feed_manager.get_user_feed(), but cannot get similar results with…

Adam Hopkins
- 6,837
- 6
- 32
- 52
3
votes
1 answer
How to implement Activity comments in Rails?
What approaches are there to implement comments on feed activities with GetStream using Ruby on Rails?
Are there any plugins for that, 3rd party, etc.? A Google search doesn't yield any results.
I am using the Stream-rails library.
Update [19th…

Kenny Meyer
- 7,849
- 6
- 45
- 66
2
votes
1 answer
Naming conflict with the Swift StreamVideo SDK
How can I solve a naming conflict between e.g. a local User object and the same object name in the StreamVideo SDK?
Regular imports can lead to problems with existing project files that have the same names. Also, there can be a conflict with the…

Stefan Blos
- 172
- 7
2
votes
1 answer
GetStream: Change message bubble background
How to change GetStream own/current bubble message background color in React Native?
const theme = {
messageSimple: {
content: {
container: {
backgroundColor: 'purple',
},
},
file: {
container: {
…

Bitwise DEVS
- 2,858
- 4
- 24
- 67
2
votes
1 answer
How to initiate and immediately open your very first channel from noChannelsView with SwiftUI?
Im using getStream ChatChannelListView to present all channels. But when there is no chats im overriding ViewFactory makeNoChannelsView with my custom noChannelsView that has button to initiate chat.
As my noChannelsView is embeded in NavigationView…

Nikola
- 65
- 5