Is it possible to filter on a feed

天涯浪子 提交于 2019-12-10 18:23:28

问题


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 follow which have that tag or potentially a collection of tags if the category was All Sports for example.

Looking in the api and docs it seems that a feed is pivoted on a single attribute so I can do a request for all posts of people I follow but not all posts for people I follow that are about NCAA or NFL.


回答1:


Currently the getstream-io api does not have any filtering capability for the retrieval of activities. All possible options for retrieval of activities can be found in the REST docs



来源:https://stackoverflow.com/questions/34788681/is-it-possible-to-filter-on-a-feed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!