Hey, This is super cool! One suggestion: Is there a way to pull reactions as it is (heart, unicorn, and bookmarks seperately) and display them with the icons? It would be more cool. 😊
Sadly, no. The API only offers a sum of all positive reactions - not a breakdown of each.
Ah, got it.
Btw, simply scrape the URL of the post and get the values from HTML.
Ah wait, you have to render the HTML - because it's built on react.
Yes, as this is a client side script I don’t want to scrape anything and rather just rely on the APIs.
I could make a request for the functionality in the API but there’s no guarantee it will be added.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, This is super cool! One suggestion: Is there a way to pull reactions as it is (heart, unicorn, and bookmarks seperately) and display them with the icons? It would be more cool. 😊
Sadly, no. The API only offers a sum of all positive reactions - not a breakdown of each.
Ah, got it.
Btw, simply scrape the URL of the post and get the values from HTML.
Ah wait, you have to render the HTML - because it's built on react.
Yes, as this is a client side script I don’t want to scrape anything and rather just rely on the APIs.
I could make a request for the functionality in the API but there’s no guarantee it will be added.