That's a pretty good summary but worth noting that it describes specifically Sphinx onion routing (the onion routing in Tor is not the same). See the paper.
For people who want to understand it in a bit more detail, there is a great writeup with diagrams in Mastering the Lightning Network
Whoops, my bad. I just assumed it was basically the same. I guess it's still onion routed in the sense each layer is encrypted for the next hop? I'll have to look into how tor works at some point.
If no one on the route knows the sender and the recipient. Wouldn't it be possible to create a payment with a fictitious recipient to spam the network?
Yes, this is possible. The last hop will fail the payment because it won't know who the next hop is supposed to go to.
What is more common is to have the payment hash be set to a random value so the sender knows for sure the payment will fail. This is called "probing" and people do it to figure out if a payment for a certain amount will work on a given path.
It's VERY spammy at the moment, something like 90+% of payments over lightning are currently probing attempts that fail (on purpose).
Yeah it hasn't been too much of a problem so far. It might be more than 90% honestly. I've seen some reports of 99%.
I'm not actually too versed on potential solutions but I think it will need to be addressed at some point. I know there are a couple competing ideas people are arguing about trade-offs over but no obvious solution at this point.
Nitter is an alternative Twitter front-end. There are many instances of Nitter out there. nitter.it is one of them. Nitter.net is the "official" one, but it is used so heavily nitter.net can show that it has had too many requests.
So take any link for a Tweet and change from to Twitter.com to Nitter.it (or whatever Nitter instance you wish to access), and share that.
Then when the person you shared the link with opens that link, the Nitter instance goes to Twitter and pulls the Tweet and whatever else it needs from the Twitter thread (if it is a thread), and then renders it in a standalone web-page.
Nitter is open source, so anyone can run their own nitter instance.
How TOR works - onion routing: https://youtu.be/QRYzre4bf7I