Edent,
@Edent@mastodon.social avatar

Is there a version of FourSquare / Swarm for the Fediverse?

I want to check in to a specific location and share that online. Not looking for badges and mayors etc.

Just a geotagged post saying "I am here".

Edent,
@Edent@mastodon.social avatar

With the help of @darius's brilliant https://tinysubversions.com/notes/activitypub-tool/

And thanks to @ldodds's exquisite https://osm-queries.ldodds.com/tutorial/index.html

I am now able to find a nearby from and share it as a post to the Fediverse!

Early days, but I think building a style "Check In To This Location" service might actually be possible!

(Mastodon doesn't expose the lat/long - but they are there.)

jack,
@jack@allnutt.net avatar

@Edent @darius @ldodds

There is a native Arrive activity[0] in the ActivityStreams vocabulary, that would probably be more semantically useful to such a service?

(I suspect that Mastodon and most other fedi software would ignore these, though?)

There's also a native Place object, too.[1]

[0] https://www.w3.org//TR/activitystreams-vocabulary/#dfn-arrive

[1] https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place

Edent,
@Edent@mastodon.social avatar

@jack thanks!
I'll try with "arrive" and see what happens.
I am already using "place" - but not as a top level object. Because (to my mind) this is a message about a place rather than the place itself.
If that makes sense?

jack,
@jack@allnutt.net avatar

@Edent Ah, yeah, sorry. I missed that looking at your screenshot and thought it was just name/lat/long!

Edent,
@Edent@mastodon.social avatar

@jack no worries.

Looks like "arrive" isn't accepted by Mastodon. So I'll stick with a normal status for now.

darius,
@darius@friend.camp avatar

@Edent @jack I checked Friendica because they tend to support the most objects and events out of everyone. I'm not an expert on their code but there seems to be lat lng parsing here

https://github.com/friendica/friendica/blob/75b37fe376330425240211cfe58a9f7fd640f180/src/Protocol/ActivityPub/Receiver.php

Edent,
@Edent@mastodon.social avatar

And here it is working with an attached image!

All I need now is an ActivityPub server which is simple enough for me to run and hack. And works with my host.

(I'm not looking for software suggestions yet.)

Screenshot of JSON code. It shows the location.

dominik,
@dominik@nona.social avatar

@Edent is the location format some kind of standard?

Edent,
@Edent@mastodon.social avatar
dominik,
@dominik@nona.social avatar

@Edent thanks!

Edent,
@Edent@mastodon.social avatar

✅ My post has location metadata in it!
👀 The post has been federated to Mastodon & PixelFed!
❌ The embedded geotag isn't shown in either of them (Mastodon doesn't support it, PixelFed doesn't show it for non-native posts).

Next step, find a SIMPLE ActivityPub server (preferably in PHP) which I can use to build this service.

danhon,
@danhon@dan.mastohon.com avatar

@Edent Did you happen to get anywhere on the ActivityPub server end of this?

Edent,
@Edent@mastodon.social avatar

@danhon
Yes! Ish.
Found a Glitch which can do it. Trying to work out how to do it in PHP. Blog post imminent 😄

aligyie,
@aligyie@digitalcourage.social avatar

@Edent not sure if related, but it somehow reminds me of https://github.com/Traewelling/traewelling
@traewelling

mikedev,
mikedev,

The streams repository is here:

https://codeberg.org/streams/streams

box464,
@box464@mastodon.social avatar
Edent,
@Edent@mastodon.social avatar

@box464
Interesting. Does it do locations like "this specific pub" or is it just "this city"?

Radgryd,
@Radgryd@mastodon.social avatar

@Edent @box464 I didn't know there was an option for this on Pixelfed! Another reason for me to make an account. 🤣 Thanks for pointing it out!

box464,
@box464@mastodon.social avatar

@Edent I think just this city? I remember discussions on making enhancements to it recently, so it may have changed. Cool to see that it’s included in the AP data to be consumed.

https://mastodon.social/@dansup/111476703889470058

linux,
@linux@liberdon.com avatar

@Edent
Does 's "Map" app do this?

I use their "phone track" app so the users I choose to share with can see where I am and where I've been, but "Map" might give a more straightforward one-shot location-and-timestamp service like you're seeking. Maybe check that out.

aweatherall,
@aweatherall@mastodon.social avatar

@Edent Pretty sure @slowe has built a client side location lookup that doesn't send your exact location to the server. Could perhaps build something with that to then post an openmaps link to a mastodon instance?

Radgryd,
@Radgryd@mastodon.social avatar

@Edent I had the same thought 10 days ago. And so did @tobi last year: https://dz.social/@tobi/110788022974622777

That would be really cool.
I used to use it a lot back in the day. Birdsite disabling their API probably didn't help with its dying popularity either.

Edent,
@Edent@mastodon.social avatar

@Radgryd @tobi
We're going to have to build this ourselves, aren't we?
🫠

Radgryd,
@Radgryd@mastodon.social avatar

@Edent @tobi Wish I knew how to code and fit that into my time schedule. 🫠

But yeah, looks like there's nothing like it (yet).

Edent,
@Edent@mastodon.social avatar

@Radgryd @tobi
And I was asking about it exactly a year ago!

I think I need to mine @okwithmydecay 's brain for OverPass API knowledge 😁

https://mastodon.social/@Edent/109693718240759716

okwithmydecay,
@okwithmydecay@en.osm.town avatar

@Edent I've only dabbled with Overpass, but am curious to see what a alternative to 's Swarm would look like. I feel that Swarm is already quite niche as an app, as it used to be quite popular, but I only know a handful of people still using it, so a federated alternative could be even more niche.

ill_logic,
@ill_logic@mastodon.social avatar

@Edent I would sometimes add details about the place on OpenStreetMap and joke that I'm "checking in"

cliftonmr,
@cliftonmr@en.osm.town avatar

@ill_logic @Edent It would be cool if a service like this is built, it would be on top of OpenStreetMap. Heck, maybe it could have a built in, super easy way to add a POI if it isn’t there yet.

ill_logic,
@ill_logic@mastodon.social avatar

@cliftonmr @Edent Some sort of connection between fediverse and openstreetmap account. I actually don't really know what foursquare is/was like in the first place though. There are gamified OSM apps right? Are they anything like foursquare?

cliftonmr,
@cliftonmr@en.osm.town avatar

@ill_logic @Edent The only gamified app I know of is @streetcomplete , but it is on Android so I have never used it. As far as I can remember, FourSquare would let you “check in” to establishments, like restaurants and clubs. I don’t know any OSM apps that allow you to do anything other than add/edit information, but I’m on iOS.

ill_logic,
@ill_logic@mastodon.social avatar

@cliftonmr @Edent @streetcomplete But like, what happens when you check in? You "own" that spot until someone else checks in or something? Is there like a map showing everyone who's checked in different places?

Edent,
@Edent@mastodon.social avatar

@ill_logic @cliftonmr In the original FourSquare, you could "own" a spot by checking into it the most. That was the sort of gamified nonsense which was popular back in the day.

You could also see your friends' reviews of places - much more reliable than normal crowd-sourcing.

All I want to create is a way to post on social media saying "I am currently at this specific pub" or "I'm visiting this cool museum" etc.

I'm struggling to get OverPass to show me nearby POIs, but I'm sure I can!

everyplace,
@everyplace@mastodon.social avatar

@Edent I would love this.

ricmac,
@ricmac@mastodon.social avatar

@Edent Perhaps combine with an open source version of What3Words? “I’m the mayor of embezzled.funicular.rhododendron” :)

danhon,
@danhon@dan.mastohon.com avatar

@ricmac @Edent this sounds like the worst possible implementation :)

ricmac,
@ricmac@mastodon.social avatar

@danhon @Edent I used to be the mayor of Go-Bang, I’ll have you know :P https://www.cybercultural.com/p/foursquare-raps-by-the-go-bang-mayor

joe,
@joe@toot.works avatar

@Edent I don't know ... I wouldn't mind becoming the mayor of the CVS down the street, again.

w8emv,
@w8emv@hachyderm.io avatar

@Edent

Checking in from #EN82dg

Edent,
@Edent@mastodon.social avatar

@w8emv
I do not know what that means, sorry.

w8emv,
@w8emv@hachyderm.io avatar

@Edent

See https://en.wikipedia.org/wiki/Maidenhead_Locator_System

#EN82 is roughly southeastern Michigan and #EN82dg is roughly downtown Ann Arbor. You can add more letters for more precision. System is used by ham radio for the last 40+ years.

Edent,
@Edent@mastodon.social avatar

@w8emv
Ah, sorry, by "location" I meant "The Queen Vic pub" rather than a lat/long.

pavsmith,
@pavsmith@theblower.au avatar

@Edent it'll lead to a further fragmentation of the non stalkbook world. why not have an IFTTT recipe to propagate them to mastodon?

Edent,
@Edent@mastodon.social avatar

@pavsmith
Mastodon doesn't support geotagged posts.

andypiper,
@andypiper@macaw.social avatar

@Edent there should be! You’ve talked yourself into it!

andypiper,
@andypiper@macaw.social avatar

@Edent maybe an ActivityPub-enabled @owntracks like thing …

phlash,
@phlash@mastodon.me.uk avatar

@andypiper @Edent @owntracks
Looks like that's already doable with the mqttwarn backend for OwnTracks: https://mqttwarn.readthedocs.io/en/latest/notifier-catalog.html#tootpaste

Edent,
@Edent@mastodon.social avatar

@phlash @andypiper
As much as I love @owntracks - I think it is for constant recording of location.

I want to post "I am in The George And Dragon pub" with a geotagged reference, photograph, etc.

Slightly different use-case.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • foss
  • DreamBathrooms
  • magazineikmin
  • thenastyranch
  • Youngstown
  • mdbf
  • rosin
  • slotface
  • InstantRegret
  • khanakhh
  • Durango
  • kavyap
  • osvaldo12
  • tacticalgear
  • GTA5RPClips
  • megavids
  • ngwrru68w68
  • everett
  • tester
  • ethstaker
  • cisconetworking
  • cubers
  • modclub
  • provamag3
  • anitta
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines