getstream io - Creating Feed Groups for a Post instead of for a User -
hi i've post model owner, , answer model answers post. how can use getstream.io create streams result in following:
"julie, frank , 20 more answer post" ( you're post owner)
"julie post new answer in post xxx " ( you're frank)
feed groups per entity
any feed type can used create feed groups entity in application. since default feed group of type flat created called 'user' can confusing, free create feed group type 'flat' post/group/or other entity in program can have own activity feed.
aggregated feeds
to achieve behavior have described above need use aggregated feed type. create feed group of type 'aggregated' described above. every time supplies answer question create activity verb "answer" on feed post. default aggregation rule aggregates time , verb id looks interested in aggregation based on verb id. when retrieve activities aggregated feed can render in format have described above.
Comments
Post a Comment