aka freamon

Codeberg: https://codeberg.org/freamon?tab=activity

Anything from https://lemmon.website is me too.

  • 0 Posts
  • 32 Comments
Joined 6 months ago
cake
Cake day: March 27th, 2024

help-circle
  • Oh. I subscribed to this post because I hoped someone would be able to give an answer too.

    It’s been a day, so before I forget and on the basis that some answer is better than none at all, I’ll have a crack:

    400 Bad Request isn’t much to worry about, it doesn’t mean anything is malfunctioning and it can happen for a gazillion reasons. One is you’ve joined a new community and someone Likes a comment you don’t have (particularly if it’s nested in other comments you also don’t have). Another is if someone Likes a post or comment by a user on an instance that you’ve defederated from (your instance is defed’d from lemmygrad and hexbear whereas lemmy.ml isn’t)

    As for 499, that seems to be a client issue, and that client mostly seems to be beehaw, who are stuck on an old Lemmy version and being increasingly wonky (in the other direction, they often reply in HTML rather than JSON and randomly decide that their communities’ inboxes don’t exist, so I wouldn’t worry about stuff from them either)


  • Seems like ‘posts’ works okay, but it’s ‘comments’ that don’t (and overview is a mix of both).

    API call to see posts:
    curl --request GET --url 'https://lemmy.world/api/v3/user?username=beebarfbadger&sort=TopDay&page=1&limit=1' --header 'accept: application/json' | jq .posts[].post.published = 2024-09-26T15:35:33.998368Z (today’s top post is today)

    API call to see comments:
    curl --request GET --url 'https://lemmy.world/api/v3/user?username=beebarfbadger&sort=TopHour&page=1&limit=1' --header 'accept: application/json' | jq .comments[].comment.published = 2024-03-03T05:09:45.255807Z (this hour’s top comment was in March)

    They probably know about it, but if not it’s probably a good idea to report the bug here: https://github.com/LemmyNet/lemmy/issues




  • Andrew@piefed.socialtoAsklemmy@lemmy.mlHow to use peertube
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 days ago

    Yeah (well, nerds anyway). With Lemmy, if you do curl --header 'accept: application/activity+json' --location https://lemmy.wtf/c/gametrailers/followers | jq . it tells you there’s 68 but not who they are. With PeerTube you can do curl --header 'accept: application/activity+json' --location https://peertube.wtf/video-channels/startgametrailers/followers?page=1 | jq . and it provides names (including me and you and a bot from leaf.dance)

    (edit to fix URLs)




  • I think it’s just a desire to indicate some uncertainty about something (like - I’m not an expert, my opinion on whatever could change with time or new information). A full stop seems arrogant somehow.

    I realise it’s not a good impulse and mostly resist. Mostly …

    (that last one’s nothing to do with the above reasoning, it’s just a line from Aliens that’s stuck in my head).












  • This isn’t really my area, but I’ll have a crack. From what I understand, Lemmy uses the ‘meta og:image’ tag to grab a thumbnail. Inspecting your site, I can see that that tag is in the html head. However, if you just ‘curl’ the URL, then it isn’t in the results. Using ‘curl’ for URLs from sites that are known to work in terms of generating thumbnails (theguardian and bbc), the tag is visible in the result.

    This suggests that your site is using further scripting on page load to provide the meta tags, whereas perhaps Lemmy can only get them if they are provided immediately. There are other sites (like Reuters), who use additional scripting, that Lemmy is unable to get thumbnails for also (e.g. https://lemmy.world/post/16203031)