You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some time ago Reddit stopped revealing the actual downvotes count in the API. So downvotes are always set to 0 for Comment and Post instances (this is expected).
The API also returns a JSON field called "upvote_ratio". When combined with the "ups" field we could estimate a value for downvotes.
So my request is: expose upvote_ratio in the Comment and Post classes so I can estimate downvotes.
I am using NuGet 2.0.0-CI00028
The text was updated successfully, but these errors were encountered:
I looked into this more and also implemented a local version. However, there is a small problem. Based on what I see here and what I read online, upvote_ratio is only populated for a post in the call to comments. So when we get a list of let's say top 25 posts in a subreddit, that data structure does NOT contain upvote_ratio. It's only if you make separate requests for each post that you get it. I believe this has been reported as a bug to Reddit.
I believe this has been reported as a bug to Reddit.
I wouldn't hold my breath for a fix ;) I'd say that if you make it a nullable type and put it in the annotations for the method about how/when it is filled that'll work for now.
Some time ago Reddit stopped revealing the actual downvotes count in the API. So downvotes are always set to 0 for Comment and Post instances (this is expected).
The API also returns a JSON field called "upvote_ratio". When combined with the "ups" field we could estimate a value for downvotes.
So my request is: expose upvote_ratio in the Comment and Post classes so I can estimate downvotes.
I am using NuGet 2.0.0-CI00028
The text was updated successfully, but these errors were encountered: