Even though social media algorithms are constantly changing, they aren't out to hide your content from the masses.
Each major platform has an algorithm that works differently, and understanding the basics can be helpful in terms of knowing how to create the content that actually shows up in front of your audience.
We've put together this simple guide on how the algorithm works on Facebook, Twitter, Instagram, and TikTok. Let's dive in.
Note: Keep in mind that the algorithms are constantly changing. We'll continue to write about major social algorithm changes as they happen.
Table of Contents
Essentially, social media algorithms analyze user behavior and prioritize content the platform believes the user wants to see and is most likely to engage with.
Each major social media platform has its own version of a "news feed" style algorithm. Below we’ll dive into the specifics of feed algorithms for Facebook, Twitter, Instagram, and TikTok, but here’s an overview of what the algorithms for these platforms factor in when prioritizing content.
When you first create an account on a social media platform, you’re more likely to see a mix of random content that may not align with your interests. But over time, you’ll see the content will be more in line with your interests. How does that happen?
Social media platforms quickly learn your interests and preferences based on what kind of content you engage with. Once a platform has a good idea of what a user is likely to engage with, they are going to prioritize that type of content in the user’s feed.
Why does what you engage with matter so much? Well, the more time you spend engaging, the more time you’re likely to spend on a platform. When you spend more time on a platform, you’re susceptible to see (and buy from) advertising that is shown to you. And the more time you spend engaging on a social media platform, the more insight that platform has into your preferences, purchases, and habits.
Now let’s get into the details of how the Facebook, Twitter, and Instagram algorithms work.
Since the inception of the largest social media platform to date, Facebook's news feed has been focuses on personalizing the social media app's user experience.
The Like button has always been the epicenter of Facebook's user experience — not only because we see it on everyone's posts but because it allows us to personalize our experience (and influence everyone else's).
Nowadays, the algorithm that governs Facebook's News Feed has become much more sophisticated. It isn't just about the Like button anymore — and not just because reaction buttons are now in the mix. In fact, Facebook's algorithm is by far the most complicated of the three social networks covered in this post.
Facebook provided more information about how its algorithm works in late 2022, and we know that its Feed algorithm works to prioritize the most meaningful posts at the top of your Feed in a four-step process. Here’s a quick rundown of the most important things Facebook’s Feed algorithm considers.
Inventory is the total number of posts you might see when you open Facebook. Posts that friends share, pages you follow, and groups you’ve joined are prioritized, followed by content recommended based on your activity.
For each post in your “inventory,” the algorithm considers who posted it, how you’ve interacted with similar posts in the past, the format, how popular it is with factors like your friends' interactions with it, and what pages have reshared it. Each of these factors is a signal, and signals help the algorithm decide what content from your inventory to feature.
Predictions are the third step in the ranking process. The algorithm uses signals to make personalized predictions of how relevant a post is to you from things like:
Relevancy scores are calculated by weighing signals and predictions. Once every post in your possible inventory is assigned a relevancy score, they’re sorted and ranked for your feed. Higher relevance scores mean a post is more likely to interest you and is placed higher in your Feed.
Every time you log in, the post you see at the top of your News Feed was chosen over thousands of others as the one most likely to make you react and engage.
Ads get relevancy scores, too, and Facebook shows users ads that might matter most to them.
Again, this is supposed to give users a better experience — but it's also helpful for the businesses paying for the ads. It's calculated based on the positive feedback (video views, conversions, etc.) and negative feedback Facebook expects an ad to receive from its target audience. (Learn more about the relevancy score for Facebook ads here.)
As a Facebook user, you can customize your Facebook Feed to see more of what you want.
When you want to prioritize a person or page to "see first," their posts will appear at the top of your News Feed. To prioritize the people or pages you want to see first:
Whereas Facebook makes most of the decisions about what will show up in your Facebook News Feed, Twitter's historically taken a very different approach with what it calls the "Timeline."
As of 2023, there are two timelines you’ll see content on: For You and Following.
Your Following is the stream of Tweets you see from the users you follow. Tweets in this tab used to be in chronological order but now are ranked based on factors like:
According to Twitter, the For You timeline shows suggested content from accounts and topics you’re interested in or have displayed interest in. The recommendation system for a For You timeline follows three main steps: candidate sourcing, ranking, heuristics, filters, and product features.
With these three steps, the algorithm ranks content in your For You timeline in addition to social proof, which is excluding out of network tweets without a second degree of connection to you. Once everything is ranked, you’re fed a selection of Tweets blended with ads and follow recommendations.
Twitter has moved away from what original users might call a real timeline, where Tweets were displayed chronologically. Now there are two timelines to view, and Tweets on both are displayed based on different factors and chronology.
Twitter isn't the only social media platform iterating its algorithm to show the most interesting content first — Instagram's algorithm is giving Facebook and Twitter a run for their money.
As of June 2023, Instagram has more than 2 million active users on the platform, making it a hotspot for marketers in nearly any industry.
Instagram uses machine learning to determine what content you’ll appreciate most and creates a Feed that prioritizes that content from people you follow, recommended accounts, and ads.
Instagram says the signals (ranking factors) it uses are:
It also considers recent posts from the people you follow, posts from accounts you don’t follow but might be interested in, and the format (i.e., if you prefer photos, you’ll see more photos).
From there, the algorithm makes predictions on how likely you are to take action, and the more likely you are to take action, the more heavily it’s weighted and the higher it will be in your feed.
Each Instagram feature has its own algorithm tailored to how people use it.
The Stories algorithm defines the potential stories shared by accounts you follow based on input signals like:
It then predicts how likely you are to find a story relevant and valuable, tap through, or move on to another Story and place those with higher scores first in your Stories tray.
The Explore page algorithm defines posts based on your past activity of what you’ve liked, shared, saved, and committed on. Once it finds content of interest, it’s ranked by how likely you are to be interested and engage with each one. Explore ranking signals in order of importance are:
The Reels algorithm seeks to share the most entertaining videos based on how likely you are to reshare a Reel, watch it through, like it, and go to the audio page to make your own inspired Reel. The ranking signals by importance are:
We'd be remiss if we didn't mention one of the more controversial Instagram algorithms updates — removing likes. Removing one of the most popular features of the app was initially tested as a measure against bullying and increased pressure to post content that garners more and more social approval for young Instagrammers. The change began in several countries, including Canada, Brazil, and Australia.
After the trial, Instagram moved forward by allowing users to choose to hide like counts.
According to TikTok, the For You Page algorithm recommendation system features content that each user is most likely to be interested in and is relevant to their interests.
After more and more time, the TikTok algorithm weighs user interactions, video information, and device and account settings.
Let’s discuss some of the other key algorithms that impact what content users see and when.
Social media platforms are constantly on the lookout for ways to keep users safe, especially younger users. Platforms may scan content for certain words or subject matter that may be deemed inappropriate, which could lead to that content being deprioritized in the feed.
Have you ever tried to add copyrighted music or video clips to a piece of content? Chances are, it was either quickly flagged and removed or potentially had lower reach. That’s because copyrighted content is often not included in the licensing agreements social media platforms have, and can be a liability, and can impose legal consequences for users and platforms responsible for distribution.
It’s best to avoid including copyrighted elements you don’t have the rights to and follow the specific platform’s guidelines for appropriate ways to incorporate elements such as music in your content.
While repurposing content is a common best practice among marketers and creators, doing so can have implications on content reach.>
In early 2021, Instagram announced the algorithm will prioritize recommending Reels that do not have visible TikTok logos, in an effort to discourage users from cross-posting TikTok content to Instagram. That means if a user downloads a video they have created on TikTok and shares the same video with the TikTok watermark to Instagram, the Instagram algorithm will potentially show that content to fewer people.
For maximum engagement potential, Instagram’s @creators account encourages users to create fresh content for Instagram instead of cross-posting content from other platforms (particularly TikTok). To get around this, some users take to third-party websites to download their TikTok without watermarks and post to Instagram.
The key takeaway for brands and individuals alike is this: Quality is Queen.
Algorithms filter out irrelevant and poor-quality posts so that the highest-quality content gets through. Control over what users see and don't see is a collaboration between the social platform and the user.
The big lesson for Facebook, Twitter, and Instagram marketers like us is to remember that it's our job to post content to social that's interesting, entertaining, helpful, and/or relevant to our audiences. This means picking relevant topics, writing delightful copy, and posting compelling images and videos.
Editor's note: This post was originally published in April 2016 and has been updated for comprehensiveness.