Facebook News Feed Algorithm
Last Updated :
11 Apr, 2025
Ever noticed how the news feeds of the multitude social networking sites and applications differ drastically from one person to another? Each feed seems to have been tailored to an individual to deliver content that has been predicted in order to provide the ideal platform for users.
Predicted being the key word here makes one infer that there is probably some machine learning that goes behind the precise unique arrangement of posts on mega social platforms such as Facebook, Instagram and Twitter. This inference in the current day and age, where machine learning is the common lingo, is bound to be correct.
In fact, Facebook was the first platform to transit from a chronological wall to an algorithm based feed. Other social media channels are now following the trend that Facebook first laid. So, let's take up the example of this trendsetter and explore the algorithm behind The Facebook Newsfeed.
Evolution of the Facebook News Feed Algorithm
The news feed algorithm has undergone several changes over the years. Previously, back in 2015 the algorithm behind the Facebook feed was the Edge Rank Algorithm. A rank-based approach was followed to determine the order of posts, governed by three parameters:
- Affinity Score
- Edge Weight
- Time Decay
Now, the news feed algorithm has been revamped into a machine learning approach that takes into account more than 10000 weights. The algorithm at present focuses on posts that are predicted to promote “active engagement”. This term denotes that the algorithm predicts scores by assigning greater weights to parameters that make a post personal and worthy of conversation.
Components of the Facebook News Feed Algorithm
The four parts of this algorithm along with some of these parameters, as described by Adam Mosseri (once the head of the Facebook newsfeed and now the head of Instagram) are as follows:
Inventory
This comprises of all the posts in queue that are yet to be seen by the end user. These posts include promotional content, posts from pages followed as well as content from friends. Thousands of such posts must compete with one another each day to rise in the eyes of the algorithmic arbiter. In the end, only a few hundred of these finally make it to the news feed of the user once the algorithm has made its decision, taking the parameters into consideration.
Signals
This stage is all about consideration about the content. Each post is analyzed based on the data available such as:
- Number of likes, comments, shares and reactions
- Type of post (video, images, written content)
- Owner of post
- Time and Day of post
- Speed of internet connection
- Type of device in use
- Blocked Content
- Marked as spam
- Time spent on post
- Top fifty interactions
- Video engagement (turning on audio, changing to full-screen or HD)
The signals above are generated from the users and given weightage. For example, sharing a post (personal/public) has greater weightage than liking or reacting to it. Similarly, content from family and friends are usually weighed higher than content from pages followed depending on the information gathered.
Predictions
The above-described data is then used to make informed decisions. The algorithm attempts to make predictions based on information available to determine what the users prefer to see on their feed, what they may hide, how probable are they to engage with it actively or ignore it. For example, a post from a friend who has previously received a comment from a user on a similar post in the past will likely be predicted to interest the user over content from a page followed that has received a like from the same user previously. If video content is seen to be receiving higher engagement over written matter or images, such posts are predicted to be preferred by the user.
Scoring
These predicted posts in individual scenarios along with the weights are used to arrive at a relevancy score. The posts are then ordered based on this score in descending order. These posts are then delivered in the determined sequence to the news feed. The News Feed Algorithm is thus described as a “ranking to organize” approach. Other news feed algorithms are also built on similar lines. However, the Facebook Algorithm is the most complex of all the News Feed Algorithms out there today. The mystery behind the detailed working of this complex algorithm is what withholds the ease of trust into the working of Facebook and researchers behind the scenes. Yet, it is continuously developing and surpassing the barriers of AI to provide a platform dedicated to connecting people.
Conclusion
In simple terms, Facebook’s News Feed isn’t just a random list of posts—it’s powered by a smart algorithm that uses machine learningto decide what each user might like to see. It looks at thousands of factors like who posted it, how users interact with similar content, and what kind of posts get more attention. The goal is to show content that sparks genuine engagement, like comments and shares, rather than just passive scrolling.
Over time, Facebook has shifted from a simple ranking system to one of the most advanced algorithms used on social media today. While the exact details remain a mystery, it’s clear that Facebook constantly updates its system to keep people connected and engaged. This smart feed design is now being followed by other platforms, shaping how we all experience social media daily.
Similar Reads
EdgeRank Algorithm - Algo behind Facebook News Feed Every time you open your Facebook account, the first thing you see is your newsfeed. All likes, comments, tags, status updates, shares, and many more such things by your friends. Ever wondered how you get these feeds in a way that you find interesting and not like any random order? In this article,
5 min read
How I Found a Bug In Facebook and Earned 500 Dollars? Facebook has a bug bounty program that allows you to find vulnerabilities and report security issues ethically. If the security issue that you found is harmful to the privacy of Facebook's users or its servers then they will pay money as a reward for your efforts. So I also found a bug on Facebook a
2 min read
Detecting top nodes on a Social Network - The VoteRank Algorithm Detecting important nodes in a Social Network is an interesting problem. It can be used to find the most influential nodes on the network y using various metrics such as their location in the network, their topological characteristics, like their degree and edge weights. One of the most famous algor
3 min read
Targeted Advertising using Machine Learning Targeted advertising is a form of online advertising which micro-targets its customers. It is based on the traits and behavioral patterns of different people. Nowadays, people, knowingly or unknowingly, are churning out personal data at an unprecedented scale because of the use of all electronic dev
4 min read
What is Web Scraping and How to Use It? Suppose you want some information from a website. Letâs say a paragraph on Donald Trump! What do you do? Well, you can copy and paste the information from Wikipedia into your file. But what if you want to get large amounts of information from a website as quickly as possible? Such as large amounts o
7 min read