André Gasser · @andregasser
251 followers · 557 posts · Server fosstodon.org

A new snapshot is out. I have re-ordered some method parameters in certain calls to improve friendliness. If you get compilation errors, just quickly check the method signature and modify accordingly. Should be no big thing. Also, I got a report about a kotlin-stdlib version issue that should now be fixed.

Details here: github.com/andregasser/bigbone

#bigbone #java #mastodon #kotlin #library

Last updated 1 year ago

André Gasser · @andregasser
251 followers · 557 posts · Server fosstodon.org

@tokyo_0 @bocops great news 👍🏻😊 Hey no rush, it is done when it is done. I've stopped counting how man times I've planned to implement something for and in the end I was just too tired. My two kids started school and kindergarten, so I was running around the last two weeks 😂 There will be better times! 😊👍🏻

#bigbone

Last updated 1 year ago

André Gasser · @andregasser
249 followers · 551 posts · Server fosstodon.org

Today, I have upgraded to latest 8.3. Also, the bookmarks API found its way into the lib.

Small steps, but moving forward.

Now time to get some rest.

#bigbone #gradle #mastodon #java #kotlin

Last updated 1 year ago

André Gasser · @andregasser
247 followers · 550 posts · Server fosstodon.org

is getting support for the markers API, which allows developers to retrieve and update the "last read status" on the home timeline and in the notifications section.

github.com/andregasser/bigbone

Next snapshot coming soon.

#bigbone #java #kotlin #mastodon #library

Last updated 1 year ago

bocops · @bocops
29 followers · 182 posts · Server fosstodon.org

@tokyo_0 I didn't have your tool in mind when implementing this - it would in fact be problematic when moving many posts at once, if those posts have duplicate content.

Workarounds would be to use a previous snapshot, or post duplicate posts spread apart by more than one hour - both not really practical.

If your tools needs it, this idempotency key could be made optional.

@andregasser

#bigbone

Last updated 1 year ago

bocops · @bocops
29 followers · 182 posts · Server fosstodon.org

@tokyo_0 I'm afraid this is something I might have caused with one of my latest PRs to : github.com/andregasser/bigbone

Posting a status now sends an idempotency key as described here: docs.joinmastodon.org/methods/

This idempotency key is generated by hashing the whole parameter list, which means that trying to post the same status a second time will fail and instead return the first status.

@andregasser

#bigbone

Last updated 1 year ago

André Gasser · @andregasser
247 followers · 536 posts · Server fosstodon.org

Updated project documentation. Wrote a new contribution guideline, added support information and polished the project README a bit.

github.com/andregasser/bigbone

#bigbone #java #kotlin #mastodon #client

Last updated 1 year ago

André Gasser · @andregasser
243 followers · 529 posts · Server fosstodon.org
André Gasser · @andregasser
242 followers · 528 posts · Server fosstodon.org

Tonight, when the kids are gone to bed, I'll build a new snapshot and start implementing the Markers API.

#bigbone

Last updated 1 year ago

André Gasser · @andregasser
242 followers · 528 posts · Server fosstodon.org

@andypiper Thanks for adding to the list of Java/Kotlin client libraries. Highly appreciated. Noticed it just recently. 😀

#bigbone

Last updated 1 year ago

André Gasser · @andregasser
238 followers · 520 posts · Server fosstodon.org

I have just realized that is now listed on Mastodons "Libraries and Implementations" page. That's pretty cool I'd say. 😄

docs.joinmastodon.org/client/l

#bigbone #java #kotlin #library #mastodon

Last updated 1 year ago

André Gasser · @andregasser
238 followers · 520 posts · Server fosstodon.org

The conversations API and the directories API are coming to our Java/Kotlin client library for Mastodon. One PR to be reviewed, then I'll create a new snapshot.

github.com/andregasser/bigbone

github.com/andregasser/bigbone

#bigbone #java #kotlin #mastodon

Last updated 1 year ago

Tokyo Outsider (337ppm) · @tokyo_0
570 followers · 1487 posts · Server mas.to

...an SSL certificate of its own, adding to cost and complexity. Under time constraints and given the scale of the task, I set it to one side.

But more instances seem to be fine with low-volume news bots now. And the library exists now, too, and I'm familiar with it through my work on . It seems relatively trivial now to write code to post things.

So I'm toying with this again. It's very much on the backburner still, but seeing how people seem to be abandoning...

#mastodoncontentmover #bigbone

Last updated 1 year ago

André Gasser · @andregasser
238 followers · 516 posts · Server fosstodon.org

@tokyo_0 @pilhuhn @bocops Believe it or not, everything I see posted under the hashtag is related to our library (yet). 😅

#bigbone

Last updated 1 year ago

André Gasser · @andregasser
238 followers · 516 posts · Server fosstodon.org

@tokyo_0 @pilhuhn @bocops Yes, noticed this too. There is just sooo many things to consider when picking a name. And take it for granted, EVERY time you have a new candidate, there's for sure something you did not consider. Aargh. But Yuki is gone, as the .social domain is already taken. Will add "Check Mastodon hashtag" to my list of things to check for my next candidate
😄

I'll stay with until I have a better name at hand.

Also added to the list: "Crowd-checking with Mastodon users"

#bigbone

Last updated 1 year ago

Tokyo Outsider (337ppm) · @tokyo_0
532 followers · 673 posts · Server mas.to

The new code that splits posts according to the character limit on a target instance works with the latest update of the / Java library on which depends (thank you @andregasser and @bocops) and is pulling the instance limits correctly from the instance. That was the last major test this update had to pass.

I'll keep testing this version with real data for the next day or two then hopefully release it before the weekend.

#mastodoncontentmover #yuki #bigbone

Last updated 1 year ago

Tokyo Outsider (337ppm) · @tokyo_0
532 followers · 673 posts · Server mas.to

The new code that splits posts according to the character limit on a target instance works with the latest update of the /#Yuki Java library on which depends (thank you @andregasser and @bocops!) and is pulling the instance limits correctly from the instance. That was the last major test this update had to pass.

I'll keep testing this version with real data for the next day or two then hopefully release it before the weekend.

#mastodoncontentmover #bigbone

Last updated 1 year ago

André Gasser · @andregasser
238 followers · 505 posts · Server fosstodon.org

I seems @bocops and I have found a new name for the current project: It's "yuki", that's it. It's Japanese and means "snow". I like the name because it is short, easy to remember. Furthermore, our library originates from the project, whose author is also japanese.

So far I have not found any negative interpretation of this word.

#bigbone #mastodon4j #yuki #mastodon #java #kotlin

Last updated 1 year ago

bocops · @bocops
27 followers · 154 posts · Server fosstodon.org

@tokyo_0 That is correct. 422 generally refers to any "unprocessable entity", which might mean different things depending what API endpoint you're posting to. In the context of media attachments, it seems to mean just that, though.

For what it's worth, the method has the mime type as an explicit parameter, while the web interface must get that from somewhere else. Any chance that mf.getMimeType() does not return the correct thing in this specific case?

@andregasser

#bigbone

Last updated 1 year ago

bocops · @bocops
25 followers · 144 posts · Server fosstodon.org

Also, thanks to a new snapshot, it is now possible to temporarily filter a hashtag, which will remove all posts containing it from the home timeline for a week.

This could be especially useful for event-style that one might want to avoid while the event takes place, like the recent Eurovision Song Contest - or it could be a specific topic that a followed news account likes to post about.

#bigbone #hashtags #altamira

Last updated 1 year ago