I spent to day lost in Mastodon again. Trying to refine the API calls down so I could get a better set of results. I tried the search api in version 2. Which ever way I tried to send the query string it either told me I hadn’t sent the right parameter or the api endpoint returned a 404. I tried the notifications API, it didn’t work. I tried re visiting a PHP library I’d used last week (but which had issues with ssl verification). I rigged the code so it wouldn’t check ssl certificates. I got to see the url request it made was the same as the one I tried originally. Using the library didn’t alter the result set.
all I wanted was to filter the types of notifications to just mentions. The api documentation lists an exclude types parameter. It doesn’t work. Three different attempts, no change, no success. No idea of how to make work
li had some rrrors as rate limited, some as my errors and the lack of success as who knows.
I could raise a hug report on the library but it’ is six years since the last commit. I could raise a bug report with mastodon but I guess they’re kinda busy. I could keep trying but this ground is starting to feel kinda stony and there aren’t rain clouds just blazing sun. I would have thought, expected this to be a world easier, and I don’t feel it is fair to expect someone to help me for free. I don’t expect bugs to be addressed as there’s a world of bigger things.
So the options to regroup and try again, but with lower expectations, till eventually there are none.
If this is what I thinks it’s for so not fuss much. The 11 lines works fine and checking the loop for mentions as types does the job.
It’s not a dig, it’s more the joy of not wanting to log a bug, because it might lead to work, when the whole logic of open soruce is many eyes make easy fixes, but i’m not skilled enough to set up a mastodon to test it out
Not a dig at you 🙂