Wow! Using Mastodon.py is incredibly easy! Wow wow wow!
Ik heb het de afgelopen weken erg druk gehad met het bouwen van een Mastodon API client in PHP. Afgelopen vrijdag heb ik v1.0 gereleased en daar ben ik best trots op. Ik heb een blog geschreven over de soms best lastige uitdagingen (en de oplossingen) die ik tegenkwam!
https://vazaha.blog/nl/23/een-complete-mastodon-api-client-bouwen
#mastodonAPI #PHP #development #blog
#blog #development #php #mastodonapi
A new #MastodonAPI client in PHP π I love things like this, and want to ensure that community-contributed libraries are publicised for everyone to benefit. Thank you @lhengstmengel ππ» https://github.com/mastodon/mastodon/discussions/26451
Wondering if I need to:
- perform a search (https://docs.joinmastodon.org/methods/search/)
- find the relevant status in the results
- use the ID for the status
Would that be the "local" ID?
#mastodonapi #fediverse #programming
Fedi/Mastodon programmers... with the #MastodonAPI, and given a url to a post on any instance (assuming I have access to the toot from my account), how might I get *my* instance to fetch it and give me a "local" ID that is suitable for passing as the "inReplyToID" in a toot payload?
So, yeah. Loving the API for Mastodon. Have created a tiny Python program that will get the people I am following, look at a few parameters that I consider important (age of last toot, number of their followers etc.)
Then it will prune these for me, cleaning up my following list to ensure I actually follow active accounts, not dormant ones.
Simple, yet effective way of keeping my account clean. Will publish the code if anyone is interested.
#python #mastodonapi #housekeeping
So, yeah. Loving the API for Mastodon. Have created a tiny Python program that will get the people I am following, look at a few parameters that I consider important (age of last toot, number of their followers etc.)
Then it will prune these for me, cleaning up my following list to ensure I actually follow active accounts, not dormant ones.
Simple, yet effective way of keeping my account clean. Will publish the code if anyone is interested.
#python #mastodonapi #housekeeping
about creating a method to get bookmarks in mastodon
https://www.gizmomathboy.com/blog/blog/2023/07/22/getting-mastodon-bookmarks/
Oh hi there @MastodonEngineering π this is where we will be sharing news about code releases and updates, and related news useful for developer and instance operators #MastodonAPI
@tootsdk @technicat nice, congrats on the release and thank you for your continued efforts to make a great #MastodonAPI library! ππ»
@willrbishop this is great! I enjoyed Chirp - thanks for building for Mastodon! #MastodonAPI
I love the whimsy of these apps, and the fact that Mastodonβs API and openness supports the ability to create them. Looking at a community-contributed patch to get them added to the website, too. #retrocomputing #mastodonAPI https://wedistribute.org/2023/07/mastodon-retro-clients/
Just finished a batch update to the third-party apps page on the #Mastodon website with ~9 additions, and also clarified the contribution guidelines in the associated GitHub repo.
Thank you to everyone building with the #MastodonAPI to create cool experiences for users on the platform! π
I know folks have been waiting on a backlog of PRs for additions to the joinmastodon.org/apps site - I am working through them today (and possibly a bit tomorrow, if I run out of time this afternoon) #MastodonAPI ππ»
Are there any apps that use the #MastodonAPI that let you look at a list of your followers and add them to specific #lists as you go down the line, without opening each profile one at a time?
I'm trying to set up lists on my #GoToSocial instance now that it supports them, but I'm already following enough people over there that it's going to be a pain to either open all the profiles one by one or keep another window open so I can search for them one by one.
#mastodonapi #lists #gotosocial
I'm playing with Mastodon's Context API to fetch replies to posts I'm viewing, and while it's too early for me to add this to https://github.com/stefanbohacek/mastodon-tools, the experience is so much better.
Has anyone done anything with this?
#mastodon #mastodonapi #contextapi
One of my vacation goals was some fun #programming and now I may finally introduce you to my new bot.
https://botsin.space/@fakepharma
#mastodonapi #bots
#programming #mastodonapi #bots
Mastodon development question: Is there a standard way to test a mastodon app in development? Like a sandbox or a dedicated instance?
I'm trying to work out how to format my @YiboSemiDaily posts in the new image-posting bot so that I can put line breaks in the post text.
The way it used to work in Cheap Bots Toot Sweet (putting \n in the post text) doesn't work in the new solution. Neither does simply putting a line break in the data cell for the post.
I suspect that there must be a way to encode it in the post so that the #MastodonAPI understands it, but I can't decipher the API spec.