Closed SKLn-Rad closed 1 year ago
Hey Ryan!
Would you mind contacting the support (https://getstream.io/contact/support/) with your appID and API key? It could be an integration error or configuration problem, or it could be a bug and then it will come back to me :)
We're adding a "withUserId" param, which should be available on the next release, which should help your problem.
Hey!
In short, we have an application which calls to a backend to handle all of the posting of the activities; and getting of the activity list for the client as we shim some extra data on top of the response.
I cannot seem to get own_reactions or reaction_counts to work to save my life and we're currently dependent on it for a milestone we're facing and was wondering if you could help!.
I expect it is something we're doing wrong with handling of the user token.
Here is our process:
Preamble: Background context
The posts are posted to the user feed; with the timeline feed of the == user subscribing to that feed.
All reactions are posted to the user feed with expectations for them to filter down; but we're unable to see reaction counts on the user feed either.
Step 1: Getting the user token
We use our API secret to get a server token, which we then exchange with the users UID; in order to get the client "client", and then the token.
Step 2: Posting an activity
All activities in our API live in the same schema, so we simply pass the users UID as a string; and set the origin to the poster feed; the foreign key and the object to the ID in our database.
Step 3: Posting the reaction
I should mention that we get all the comments down from the API when we call
client.reactions.filter
. And all properties you can assume are stringsStep 4: Getting my reactions with counts
Apologies for the long tangent but your API docs on your website don't line up so I assumed it might be some configuration somewhere!
You guys are awesome! Keep up the good work. Ryan