The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘SocialMedia’ Category

linux – Get final URL after curl is redirected – Stack Overflow (plus some Twitter scraping tricks)

Posted by jpluimers on 2025/08/06

Sometimes I need [Wayback/Archive] Redirect Checker | Check your Statuscode 301 vs 302 on the command-line, so cURL to the rescue: [Wayback/Archive] linux – Get final URL after curl is redirected – Stack Overflow. The relevant portions of answers and comments further below.

TL;DR:

Since I prefer verbose command-line arguments (you can find them at the [Wayback/Archive] curl – How To Use on-line man page) especially in scripts this HTTP GET request is what works with Twitter:

% curl --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://x.com/anyuser/status/20

This failed (twitter dislikes HTTP HEAD requests):

% curl --head --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://twitter.com/anyuser/status/20

Notes

Given so many of my scripts now run on zsh, I added the new-line because of command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow. You can strip that bit.

Note that these do not perform client side redirects, so they do not return the ultimate originating URL https://x.com/jack/status/20 (which was the first ever Tweet on what was back then called twttr) as Twitter on the client-side overwrites window.location.href with the final URL. Similar behaviour for getting the Twitter user handle of a Twitter user ID, more on Twitter tricks below.

Tweet by TweetID trick via [Wayback/Archive] Accessing a tweet using only its ID (and without the Twitter API) – Bram.us.

Further reading (thanks [Wayback/Archive] vise, [Wayback/Archive] Daniel Stenberg, [Wayback/Archive] Ivan, [Wayback/Archive] AndrewF, [Wayback/Archive] Roger Campanera, and [Wayback/Archive] Dave Baird):

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Bookmarklet, Communications Development, Conference Topics, Conferences, CSS, cURL, Development, Event, HTTP, Internet protocol suite, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, TCP, Twitter, Web Browsers, Web Development | Tagged: | Leave a Comment »

Tootski, a sharing bookmarklet for Mastodon · GitHub

Posted by jpluimers on 2025/08/05

For my research list: [Wayback/Archive] Tootski, a sharing bookmarklet for Mastodon · GitHub

--jeroen

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Mastodon, Power User, Scripting, SocialMedia, Software Development, Web Browsers | Leave a Comment »

Filtering your Mastodon timeline to automatically hide posts containing certain words, phrases, hashtags, links or emoji | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

Posted by jpluimers on 2025/07/28

[Wayback/Archive] Filtering your Mastodon timeline to automatically hide posts containing certain words, phrases, hashtags, links or emoji | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

Always convenient for events like these:

[Wayback/Archive] Die™ar: “Doe mee met de Mastodon Wie is…” – Mastodon

#wieisdemol #wieisdemol2025 #WIDM

--jeroen

Posted in Fediverse, Mastodon, SocialMedia | Tagged: , , | Leave a Comment »

DNS/web options: How to verify your Bluesky account – Bluesky

Posted by jpluimers on 2025/07/21

Just in case I ever want to bind a BSKY handle to a domain name I own:

Via:

--jeroen

Posted in BlueSky, Development, DNS, Hosting, Internet, Power User, SocialMedia, Software Development, Web Development | Leave a Comment »

Igor Brigadir posted a few useful Twitter search tips a while back: searching tweets, users, disable auto-URL, embedding media, etc

Posted by jpluimers on 2025/07/11

For my link archive:

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Twitter, Web Browsers | Leave a Comment »

Some Mastodon servers allow themselves to be wrapped with the cuckoo.social to give a G+ (Google Plus) like user interface

Posted by jpluimers on 2025/07/01

[Wayback/Archive] Cuckoo+ is a wrapper around Mastodon that makes the UI look like Google+ (G+ / Google Plus).

It is open source at [Wayback/Archive] NanaMorse/Cuckoo.Plus: A GooglePlus-Like third-party web client for mastodon. with hardly any updates like lik because the author is not active on Mastodon any more according to [Wayback/Archive] Is dead the repo ? · Issue #237 · NanaMorse/Cuckoo.Plus (via [Wayback/Archive] Issues · NanaMorse/Cuckoo.Plus)

Note that in some Mastodon instances it fails because of CORS issues:

Read the rest of this entry »

Posted in Development, G+: GooglePlus, JavaScript/ECMAScript, Scripting, SocialMedia, Software Development, TypeScript, Web Development | Tagged: | Leave a Comment »

Keyboard shortcuts in social media: Twitter still tops is; BSKY needs a plugin; Mastodon is buggy

Posted by jpluimers on 2025/06/19

One reason I still use Twitter is that it trumps keyboard shortcuts over other social media I use.

References:

Read the rest of this entry »

Posted in BlueSky, Mastodon, Power User, SocialMedia, Twitter | Tagged: , , | Leave a Comment »

Moa: Link your Mastodon account to Twitter with Moa Bridge.

Posted by jpluimers on 2025/05/19

Hopefully by now (given Spare Karen’s moves), this still exists: [Wayback/Archive] Moa

Link your Mastodon account to Twitter with Moa Bridge.

Documentation and updates are on [Wayback/Archive] Home — Moa Party

Welcome to the Moa Party!

Moa is open source server code that enables cross-posting between networks such as Mastodon, Twitter, and other networks. The main server runs at https://moa.party, and is maintained as a public utility.

This site is the Moa Party: used for status updates, documentation, and news from the maintainers.

You can also run your own instance as it is open source at [Wayback/Archive] FedStoa / moa · GitLab (formerly at [Wayback/Archive] FedStoa/moa: A Mastodon, Twitter, and Instagram Cross-poster).

Read the rest of this entry »

Posted in Mastodon, Power User, SocialMedia, Twitter | Tagged: | Leave a Comment »

Way harder than I anticipated: How To Share Discord Profile Link

Posted by jpluimers on 2025/04/11

Some of the people I know are not on any of Signal, WhatsApp, Google Chat, or other usual direct message platforms.

This left Discord, which I use more (at least weekly) than Facebook Messenger (once a month or so).

Sharing a user-link there proved to be quite a bit more difficult than I anticipated: it even involves enabling developer mode!

The steps are at [WaybackSave/Archive] How To Share Discord Profile Link [Copy & Share]

Found via query: [WaybackSave/Archive] share direct link to discord account – Google Suche

--jeroen

Posted in Chat, Discord, Power User, SocialMedia | Leave a Comment »

Thread by @jpluimers on Thread Reader App – Thread Reader App

Posted by jpluimers on 2025/04/07

A while ago, I wrote two threads (one in English and one in Dutch) about using the Twitter Alt-badge to make pictures in tweets more accessible.

The English one had the correct quote, but a wrong link which I corrected below (we want editable tweets!).

Two bots that I mention in reply-Tweets usually helps to rudimentary restore the text:

@get_altText @AltTextUtil OCR

in the first Tweet and to the reply that @AltTextUtil gives, I respond with another

@get_altText

Here are the two threads:

Read the rest of this entry »

Posted in accessibility (a11y), Development, Power User, SocialMedia, Twitter, TwitterBot | Tagged: , , | Leave a Comment »