The programmers dilemma! I want the utility to somehow already exist but as soon as I find the utility I have the urge to do it myself. What is this affliction.
This is the code I’m going to take inspiration from.
The following query will get you the user id from mastodon.social given a username:
The following query will get the last 20 posts from the above user id: