banner
acevs

acevs

x
mastodon

n8n wordpress to twitter to mastodon

ifttt#

if then then then
That's probably what it means. I used it around 2015.
At that time, it could sync WP to Twitter, Weibo, and Facebook.
I remember it was very simple to log in and connect accounts.
It was free before. Now you need a pro membership, costing $2.9 per month, which for US dollars is just like a tax or a tip.
In China, you can get a one-year special virtual hosting for 99.

n8n#

n8n has self-built services.
I registered on serv00 for free space before.
I also deployed it.
n8n serv00 deployment issue – ACEVS
I have watched the tutorial several times. Still, I couldn't figure it out.
Finding the right node from the original requirements | Simple and understandable modern magic
Post on WP to sync with Twitter and Mastodon.
I searched, asked AI, and got a rough idea. Log in to WordPress, get all posts, then filter to keep the latest post, and then output JSON title and URL. The idea became clear. I found I didn't understand how to operate it.
There is no direct template; I can only look at other templates.
There is a WordPress to Medium template that uses HTTP requests to capture HTML information. Then filter to output the desired information. What I need is the title and URL, and then publish information on Twitter and Mastodon.
For Twitter authorization, I still need to apply for developer mode. Fortunately, it's not difficult.
I couldn't find Mastodon on n8n, so I searched for tutorials on YouTube. They are detailed and careful; just follow along. After setting it up, I had to wait a few minutes. There was a delay, and I thought it had failed, but later found out it succeeded.
I added a schedule trigger to execute it once every day at 6:00 PM.
I tested the workflow countless times, and yesterday I saw it run automatically and succeed.

References
n8n Mastodon authorization
Connect n8n with Mastodon Tutorial - YouTube

WordPress app authorization is not a direct login with WP account and password
WordPress credentials | n8n Docs

Twitter developer application
Use Cases, Tutorials, & Documentation | Twitter Developer Platform

Twitter configuration reference
How To Automate Twitter with N8N & ChatGPT (No-Code Hack!) - YouTube

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.