A user counted as active in each day if they had created a post or comment in the past 14 days

  • @layla
    hexbear
    33
    2 years ago

    Nice! Does this account for the bug that the site had in the early days where it'd count multiple tabs as a unique user?

    • bottech [he/him]
      hexagon
      hexbear
      37
      2 years ago

      I did not use the online counter, instead i looked at all the comments and posts and counted the author of them as active for the next 14 days

      • @layla
        hexbear
        21
        edit-2
        2 years ago

        Cool! Second question: When a comment/post is edited or deleted, the date visible through the UI becomes the date of the latest action, not when it was originally written... does the script account for that as well? Not sure of the API's behaviour tbh.

        • bottech [he/him]
          hexagon
          hexbear
          22
          2 years ago

          Data returned through API contains both the publish date and edit date, i only used the publish date so the final data was not influenced by edits to comments/posts

          • @layla
            hexbear
            15
            2 years ago

            Interesting, ty :)