Better sharing


I had to do 'orrible stuff (coding in PHP  for the first time in 15 years!) but I managed to find a way that seems to allow sharing your replay key with a nice OG preview that shows your results etc.

Unfortunately, I'm still stuck with the fact that itch.io doesn't allow games to receive any kind of value from the URL, so you're still going to have to paste the whole URL in the "Replay Key" field if you want to compete against those results, but at least you should be able to show off properly.

https://og.wordrush.eu/img.php?replay=3.1.550092.000b.00012776.IT8cbb3abf.d3f9b793

That's assuming the OG stuff works as intended because, apparently, Signal doesn't show the image (Mastodon does, and the OG tags should be all in order as far as I can tell). I'll fix what I find, anyway

As a side note, I'm told that "Replay Key" is not an entirely transparent/obvious concept so I'm looking for alternatives. "Match key", maybe?

UPDATE: Signal shows the image correctly, now - I just had to be a good citizen and add a Content-Length header.

Files

wordrush-web.zip Play in browser
Version 73 5 days ago

Leave a comment

Log in with itch.io to leave a comment.