Permanently Deleted

  • Alliegaytor [she/her]@vegantheoryclub.org
    ·
    2 months ago

    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
    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
    }
    '
    

  • mathemachristian [he/him]
    ·
    edit-2
    2 months ago

    they can downvote if their instance is federated with yours, the downvotes won't federate though and will only be seen by users on the same instance.

    look at some hexbear posts from lemmy.ml and lemm.ee for instance.

    Woops read this the wrong way around. No they can't at least not with the UI. Look at any lemm.ml or lemm.ee post from hexbear.

  • delirious_owl@discuss.online
    ·
    2 months ago

    Downvote are an important method for controlling misinformation. We do need better info in side bars informing users what the button is for and what it is not for

  • Markaos@lemmy.one
    ·
    2 months ago

    Not familiar with the API, and I'm not entirely sure if it's not just a bug in Eternity (fork of Infinity), but lemmy.one doesn't have downvotes and I don't get the option to downvote anywhere.