Skip to content
Alex Finn@AlexFinn · Aug 13, 2026

Wow. Elon just released the ENTIRE X algorithm. Nothing held back I just went through all 300,000+ lines of code What…

10 tweets1 min read9.9Koriginal

Summary

A Twitter user analyzed X's released algorithm code and revealed that viral success depends on optimizing for shares (40x more valuable than likes), building mutual follows, posting high-quality original content, and avoiding reports/negative interactions, while spamming, low-quality reposts, and posts older than 48 hours get heavily penalized.

Summarized by ThreadOut AI from the full thread. May miss nuance — read the thread below.

  1. #1

    Wow. Elon just released the ENTIRE X algorithm. Nothing held back I just went through all 300,000+ lines of code What I read blew me away Here’s everything you need to know about how to go viral and if you can still get shadowbanned: 🧵

  2. #2

    🔶 HOW YOU GO VIRAL Every action a user takes on your posts either boosts it, or docks it Likes are good, but replies and sharing links are SO MUCH BETTER In fact, clicking share link is worth 40x a like Stop optimizing for likes. Start optimizing for shares

  3. #3

    🔶 HOW YOU GET DOCKED Negative interactions crush you as much as positive interactions help you In fact, getting reported absolutely DECIMATES your content Stop being obnoxious. Stop rage baiting. Stop being an a-hole Be a net positive on X and you will win

  4. #4

    🔶 BIGGEST UPDATE TO THE CODE The biggest change from the last update is the bidirectional follow boost If you and the viewer mutually follow each other, the reply weight on your post jumps from 5.0 → 20.0. Want more visibility? Follow people in your niche

  5. #5

    🔶 STOP SPAMMING THE TIMELINE The algo doesn't want you spamming. The more you post in a day, the less likely the post is to show up on timelines Every subsequent post you make that shows up on a user's timeline gets deboosted QUALITY > QUANTITY

  6. #6

    🔶 WHICH POSTS ARE INCLUDED IN THE TIMELINES There are a few more filters on posts that reach the timeline: Posts older than 48 hours are toast. You won't be served anymore When deciding the feed, it chooses from 1,200 in network and 1,200 out of network candidates

  7. #7

    🔶 SHADOWBANNING IS REAL There are many labels your account can get. Getting these labels won't stop you from being seen by your followers, but non followers will 100% stop seeing you Breaking any of these rules will stop you from appearing on feeds (full label list in code):

  8. #8

    🔶FOLLOW THESE RULES So here's what it comes down to: • Post originals (replies + reposts are penalized twice) • Write posts people reply to (10x a like) • Write posts people copy the link to (40x a like) • Build mutual follows (4x reply weight) • Post less, better (decay is brutal) • Post within a 48h relevance window • Never trigger a mute/report — the cost is enormous

  9. #9

    The rules basically come down to this: 1. Create amazing, original content 2. Build a network of like minded followers 3. Don't try to game the system Do these, and you'll never have to even think about the algorithm

  10. #10

    Some bonus personal thoughts: I think the algo is in the best state its ever been I've never been so satisfied with the content I'm seeing on my timeline. And to add on top of that, we now have complete transparency Truly the best case scenario of Elon taking over