Category Archives: Social networking

Embedding Mastodon posts in WordPress

I’m someone who has made their escape from Twitter, mostly posting to a mix of Mastodon, Threads and Bluesky.

It was really easy to embed a Twitter post in WordPress: just paste the URL into the block editor and it’d do the hard work for you.

That doesn’t work for Mastodon, possibly because it’s so many different domains (servers) that WP can’t figure out when it’s a Mastodon post. Pasting the URL just displays… the URL.

Mastodon does have a function to get the embed code, which you can put into a WP Custom HTML block… but that didn’t work for me either. On my personal blog with its modified Twenty Twenty theme, the Mastodon post appeared hard against the left hand side of the browser window, out of whack with the rest of the post text.

With some experimentation and Googling, I discovered that tweaking the embed code slightly made it better.

Basically in the HTML, edit the blockquote style attribute margin and change it from 0 to auto. That made it appear in line with the rest of the post.

I’d love to show you it here, but it turns out the even older theme we’re using on geekrant.org.right now can’t handle them at all. Attempting to save a post with embedded Mastodon HTML results in a Save error. (And I don’t have time right now to get screen grabs.)

Hmm, might be time for a theme update.

Anyway, hope this helps someone else out there (and remind me of what I need to do next time).

Refreshing Facebook link previews

Sometimes when posting a link, something goes wrong and the preview doesn’t come up properly.

I hit this issue yesterday when posting a link from my personal blog. At the FB probe went looking, it seemed to hit a database error, so that’s what it said. Not very helpful.

I tried the site itself, and it was up. Retrying from FB didn’t fix it – it was now in the cache. Thankfully there’s a way of refreshing it:

Go to https://developers.facebook.com/tools/debug/

Enter the URL and it’ll show you the current cached preview image, and any errors.

Click the Scrape Again button to refresh it.

Neato.

Allow more JavaScript, maintain privacy

I’ve long regarded JavaScript in the browser to be one of the biggest security holes in web-browsing, and at the same time the Internet works less and less well without it. In 2008 Joel Spolsky made the observation that for some people the Internet is just broken:

Spolsky:   Does anybody really turn off JavaScript nowadays, and like successfully surf the Internets?

Atwood:   Yeah, I was going through my blog…

Spolsky:   It seems like half of all sites would be broken.

Which is not wrong.  Things have changed in the last five years, and now the Internet is even more broken if you’re not willing to do whatever random things the site you’re looking at tells you to, and whatever other random sites that site links off to tell you to, plus whatever their JavaScript in turn tells you to. This bugs me because it marginalizes the vulnerable (the visually impaired, specifically), and is also a gaping security hole.  And the performance drain!

Normally I rock with JavaScript disabling tools and part of my tin-foil-hat approach to the Internet, but I’m now seeing that the Internet is increasingly dependent on fat clients. I’ve seen blogging sites that come up empty, because they can’t lay out their content without client-side scripting and refuse to fall back gracefully.

So, I need finer granularity of control.  Part one is RequestPolicy for FireFox, similar to which (but not as fine-grained) is Cross-Domain Request Filter for Chrome.

The extensive tracking performed by Google, Facebook, Twitter et al gives me the willys. These particular organisations can be blocked by ShareMeNot, but the galling thing is that the ShareMeNot download page demands JavaScript to display a screenshot and a clickable graphical button – which could easily been implemented as an image with a href. What the hell is wrong with kids these days?

Anyway, here’s the base configuration for my browsers these days:

FireFox Chrome Reason
HTTPSEverywhere HTTPSEverywhere Avoid inadvertent privacy leakage
Self Destructing Cookies “Third party cookies and site data” is blocked via the browser’s Settings, manual approval of individual third party cookies. Avoid tracking; StackOverflow (for example) completely breaks without cookies
RequestPolicy Cross-Domain Request Filter for Chrome Browser security and performance, avoid tracking
NoScript NotScripts Browser security and performance, avoid tracking
AdBlock Edge Adblock Plus Ad blocking
DoNotTrackMe DoNotTrackMe Avoid tracking – use social media when you want, not all the time
Firegloves (no longer available), could replace with Blender or Blend In I’ve have had layout issues when using Firegloves and couldn’t turn it off site-by-site

Google engineer’s rant about Google Plus

A fascinating rant about why Google Plus isn’t working (as well as some interesting stuff about Amazon), from a Google insider.

Google+ is a knee-jerk reaction, a study in short-term thinking, predicated on the incorrect notion that Facebook is successful because they built a great product. But that’s not why they are successful. Facebook is successful because they built an entire constellation of products by allowing other people to do the work. So Facebook is different for everyone. Some people spend all their time on Mafia Wars. Some spend all their time on Farmville. There are hundreds or maybe thousands of different high-quality time sinks available, so there’s something there for everyone.

The full rant.

Analysis from Ed Bott:

And there’s the problem with Google+ in a nutshell. It’s a clone of Facebook, built by engineers for people who think like engineers. I now realize what it was I couldn’t put my finger on: this service started out as a list of features. But it didn’t start out with a vision. In fact, I’ve never heard anyone articulate, from a customer’s point of view, why Google+ came into existence in the first place.

I think they’re both probably right… and it’s why I suspect Google Plus won’t get the critical mass to become the replacement for Facebook or Twitter anytime soon.

How not to run a corporate web site

I’ve noticed that Transport For London do this irritating thing: they move (“archive”) their corporate media releases content each month.

So this:
http://www.tfl.gov.uk/corporate/media/newscentre/19678.aspx

— which has been quoted widely as the press release for the Royal Wedding Oyster Card, for instance on the popular Going Underground blog — gets moved to:

http://www.tfl.gov.uk/corporate/media/newscentre/archive/19678.aspx

The old link returns a 404.

WHY? It just seems utterly pointless.

The other thing they do is fail to show, or even link to pictures on their media release pages, even in cases like this where the picture is of prime interest, as the story is “Mayor unveils design of the royal wedding Oyster card”. Instead they make you ring the TFL press office.

Perhaps they haven’t noted the rise of social media, where the messages you put out can be spread by bloggers, Tweeters, Facebookers — none of whom will have the time or motivation to ring your press office to get hold of a photo.

If you hide the official information too much, people will end up relying on the unofficial information out there. Less detail, less reliability, and you’ve got less control of the message you want to put out.

Seems an odd way of doing things in the 21st century.

(I only had this rant because I was looking for a picture of the special Royal Wedding Oyster Card.)

Advertisers impersonating Facebook ON Facebook

This “Mailbook” advert appeared on Scrabble, just below the normal Facebook toolbar.

"Mailbook" ad seen on Facebook

Seems dodgy to me. It’s a quite misleading way to try and get you to click on the ad.

Surprised Facebook would allow something that appears so similar to their own navigation.

Maybe they haven’t spotted it yet. I wonder if the icons are pixel-for-pixel copies?

Damn you Facebook

I just want to look at a photo a friend has posted. No doubt the app in question makes it very easy for my friend to post the photo, but it’s difficult for me to see it without handing over a bunch of control to the app.

Facebook Photo of the Day app permissions

Now, I know it’s not Facebook’s fault specifically, but c’mon, why do I need to give an application access to my Profile and details of my friends just to look at a photo? I don’t want to do that.

Surely they could change the FB API around so it’s easier to have simple interaction with an application (eg to just look at the photo, not post my own) without handing over this kind of permission?

But then the app wouldn’t spread so fast virally, would it.

The fact that this kind of stuff is so typical is not exactly training users to be careful about minding their privacy online.

Fortunately in this case, it appears that the app is just re-broadcasting a photo from the user’s existing collection of photos, so I’ve been able to hunt it down and look at it there.

Of course, it’s in the FB photos standard lowish resolution, no bigger copy available, but that’s another story.

Facebook’s invisible “About Me”

Facebook has new simplified privacy options.

Including one for About Me, which it claims “refers to the About Me description in your profile”.

Facebook security

“About Me”? I don’t remember that.

So I went looking in my profile. It was nowhere to be found. I thought maybe somewhere on the Info tab. Nup, couldn’t see it.

Eventually with some clues from someone on Twitter pointing me to it, I discovered it’s invisible unless you’ve set it to say something. Very helpful.

So to find it, it’s under: Profile / Info tab / Personal Information, then if you can’t see About Me, click the Edit button for Personal Information. Only then will it appear.

And just to confuse things, the “Write something about yourself” box underneath your photo in your Profile is different.

Facebook security issues

So here’s the thing. The other day I was looking at Facebook, at the Wall of a friend of mine, Jason.

And for a few minutes there, Facebook decided I was logged-on as Jason.

Except I wasn’t. I didn’t have any permissions to look at his private stuff, nor change things, but every time I clicked on the Profile button it showed me his Wall, not mine.

Facebook thought I was logged on as Jason

When I clicked Home, it thought I was me again. Clicking back to Profile, Jason again. I just couldn’t get to my own Profile.

In the bottom-right it said I had a bunch of notifications. But it wouldn’t let me see them; they must have been his.

Then I clicked logoff, and became me again.

I had a look at a couple of other friends’ Walls, it didn’t do it. But back on Jason’s, it got stuck again. I let him know, of course.

Makes me glad it didn’t just assume I was him and let me do and see anything he could. All I ever saw (apart from the number of notifications he had) was stuff I could see anyway as his friend.

All very odd.