sfba.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for the San Francisco Bay Area. Come on in and join us!

Server stats:

2.3K
active users

#webfinger

2 posts2 participants0 posts today

Fetching remote #ActivityPub objects or actors often involves handling #WebFinger lookups, content negotiation, and then parsing potentially untyped JSON.

With #Fedify, it's much simpler: use Context.lookupObject(). Pass it a URI (e.g., https://instance.tld/users/alice) or a handle (e.g., @alice@instance.tld), and Fedify handles the lookup and content negotiation automatically.

The real power comes from the return value: a type-safe Activity Vocabulary object, not just raw JSON. This allows you to confidently access properties and methods directly. For example, you can safely traverse account moves using .getSuccessor() like this:

let actor = await ctx.lookupObject("@alice@instance.tld");
while (isActor(actor)) {
  const successor = await actor.getSuccessor();
  if (successor == null) break;
  actor = successor;
}
// actor now holds the latest account after moves

This is readily available in handlers where the Context object is provided (like actor dispatchers or inbox listeners).

Focus on your app's logic, not protocol boilerplate!

Learn more: https://fedify.dev/manual/context#looking-up-remote-objects

fedify.devContext | FedifyThe Context object is a container that holds the information of the current request. This section explains the key features of the Context object.

Oma #nextcloud palvelin on nyt toiminnassa, ja säädetty kuntoon. Muutama havainto asiaan liittyen heille, jotka suunnittelevat itsehostaamista:

1) Nextcloud -asennuksen voi tehdä monella tapaa. Itse ajoin testin vuoksi asennukset
#dietpi distron, #snap paketin ja #AIO (All-In-One) paketin kautta.

2) Dietpi distron kautta asennus on melko mutkaton prosessi, käyttöliittymä retromaisen tekstipohjainen. Asentuu raudalle ilman kontteja. Joutuu säätämään jälkikäteen, jos haluaa ajella reverse proxyn kautta. Jatkoon, jos säätäminen maistuupi.

3) Snap paketin kautta, asennus on myös melko suoraviivaista, muutaman komentorivikomennon syöttämistä. Asennus menee kontteihin, asennuksessa asentaa snap -version dockerista, josta piireissä ollaan montaa mieltä. Valkotaulun joutuu asentamaan erikseen omaan konttiin, ja on "pain in the rectal area" -tyyppistä. Myös reverse proxyn kanssa menee tappeluksi. Ei jatkoon.

4) AIO -asennus asentaa omiin kontteihin kaiken tarpeellisen,
#borg backupista ja valkotaulupalvelimesta lähtien. Hyvät ohjeet eri reverse proxy -vaihtoehdoille. Asennus verkkoselainpohjainen kontin kautta. Tämä valikoitui omaan purkkiini.

5) On todella harmillista, ettei missään vaihtoehdoista saa
#social -aplikaatiota toimimaan aplikaatiossa #webfinger -käsittelijässä lymyilevän bugin johdosta. Käänsin käytännössä kaikki kivet tuota debugatessa, ja lokien ja testien perusteella syy on apissa, ei itse nextcloud -raamissa. Jos kehitysporukka saisi tuon bugin torpattua, saisin uuden instanssin nextcloudista myös #fediverse -perheeseen.

6) Integraatio mobiililaitteen kanssa onnistuu, valmiit apit ovat
#android ja #iphone luureille. Itse jouduin debuggaaman oman S3 -purkkiservon kanssa, kun iPhonen appi virheili melkoisen määrän alussa. Syy löytyi lopulta #S3 servon ja #bucket -asetuksista.

#selfhosting #asd #adhd #erityismielenkiinnonkohteet

@point5a @Vivaldi @johnbeen So, I happened to get my address, after all. I previously did it, but I still need to set it up in on my app for downloading. Meanwhile, I also now have a secondary account at .
I have also been completing my , , , and other connections at , thanks to , , , , , , and other . Thanks also to people like @pfefferle and many others who have been making these plugin applications happen over the years. Big improvements! Almost there in my setup… getting better everyday. I’ve been incredibly productive, and on the way! Thanks to the community here!! @mastodonmigration too.

@mastodonmigration @bob So, I looked at your instructions, but I realized that they need an update.
First, the desktop editor is not the same as the iPhone - app. Somehow, I kept getting difficulties from the iPhone app to connect and . So, I instead went back to my laptop and did it there.
This is now done by going into the editor, and selecting TOOLS >MARKETING; and then see the CONNECTIONS button on the page (right of the menu). Or HOSTING >CONNECTIONS, depending on how you’re logged in.

Then hit the CONNECT button, sign into the Mastodon Account handle, approve the connection to WordPress by "authorizing" it. You may get a pop-up window in the process.

The home page for the WebFinger protocol really needs a much better introduction to what it does. It should be used widely and supported on nearly every website, especially for media orgs. With it people can put their global identifier on business cards, profile pages and presentation slides so everyone can look them up this way. It can also be updated to make changes or add new accounts.
webfinger.net

webfinger.netWebFinger

Setup my own small linktree styled page. With the help of , -actions and an template - a super fast solution. And totally free of charge. The initial requirement was a file under my own domain to have a permanent mastodon handle ( me(AT)mino.social ). The final result: mino.social. The code is again opensourced, see the link to the github build on the end of the page.

mino.socialJulian @mino Klinck | Socials