Alliegaytor [she/her]@vegantheoryclub.orgMtoVegan@vegantheoryclub.org•Vegan Theory Club Weekly Mega thread: 2024-12-31 - 2024-1-7 - Happy New Year!English
2·
4 days ago
[object Object]
It should be pinned now!
@ambiguous_yelp@vegantheoryclub.org, would you be ok if I pinned this post? It has lots of really useful information and I would love for new people coming to this community to see it. Thank you for all the work you have done here :)
I tested it using the api on this instance /api/v3/post/like
and I was unable to downvote any post. I also tried /api/v3/comment/like
and it would also fail due to {"error":"downvotes_are_disabled"}⏎
.
I made sure to try and downvote a comment/post on an instance with downvotes enabled.
Not sure why people are saying you can, unless I’ve completely screwed this up, but it seems that downvotes don’t work at all via the api if it’s disabled.
curl --request POST \
--url https://vegantheoryclub.org/api/v3/post/like \
--user-agent "Mozilla/5.0 (X12; Linux x86_128) Gecko/19840101 0.821/xoferiF" \
--header 'authorization: Bearer REDACTED ' \
--header 'content-type: application/json' \
--data '
{
"score": -1,
"post_id": 362154
}
'