The Facebook Algorithm

I thank all of the friends who sent me birthday greetings on Facebook this year. [But see note at end.] One friend noted that I was not likely to see his birthday greeting, since I do not pay attention to Facebook these days. I usually do not pay attention; but since so many friends apparently continue to use that medium, I have not closed my account. I recently posted on Facebook a couple of photographs showing a friend from Washington who was visiting Istanbul. These photographs were “liked” by friends of that person or of me. Thus I suppose I used Facebook for its best purpose.

Still my general concern remains. If I look at Facebook, it decides what I am going to see; if I post on Facebook, it decides who is going to see what I post. These decisions are not based on knowledge of me or anybody else as an individual. They are not properly decisions at all: they are not choices made as a result of thinking. They are occurrences resulting from the implementation of a computer program or “algorithm.”

That, in brief, is my objection to Facebook. If now something else is seeking your attention, you may stop reading here and go off in pursuit of it. In the sequel below, I shall only elaborate on the general objection.

Implementation of an algorithm is not thinking: it is the cessation of thinking. There is not necessarily anything wrong with this. I am going to give a mathematical example. At this point, some writers would tell their readers how far ahead to skip to avoid the mathematics. Imitating those writers, I tell you too: you can skip ahead to the paragraph that begins with “Algorithms.” However, I think my mathematical example is illustrative of an important point. Some people treat mathematics with a kind of awe that it does not deserve. It is a tool, which like any tool can be used well or ill. If I ask you to find the greatest common divisor of 610 and 987, and if for some reason you want to obey me, then you may think about the problem just enough to observe that the so-called Euclidean algorithm will solve it. The algorithm is ancient, being described at the beginning of Books VII and X of Euclid’s Elements, around 300 bce. You can apply the algorithm mechanically, saving your energy for more important matters. So you proceed:

987 = 610 + 377,
610 = 377 + 233,
377 = 233 + 144,
233 = 144 + 89,
144 = 89 + 55,
89 = 55 + 34,
55 = 34 + 21,
34 = 21 +13,
21 = 13 + 8,
13 + 8 + 5,
8 = 5 + 3,
5 = 3 + 2,
3 = 2 + 1.

Thus, as we say, the greatest common divisor of 987 and 610 is 1; or as Euclid concludes in his Proposition VII.1, the two numbers are prime to one another.

As an alternative, you might decide to take a chance on actually factorizing the given numbers. Here you would rely on the so-called Fundamental Theorem of Arithmetic, which apparently nobody stated before Gauss in the Disquisiones Arithmeticae of 1801. Euclid proved a special case in his Proposition IX.14, but his proof does not generalize. For the present problem, you may find

610 = 2 × 5 × 61,
987 = 3 × 7 × 47.

All of these factors being prime, but unshared, the original numbers 610 and 987 are prime to one another, and so their greatest common divisor is 1.

The numbers 610 and 987 are in fact the 15th and 16th Fibonacci numbers. If you happened to be in a position to notice this, you could conclude instantly that the numbers were prime to one another, without going through the steps of the Euclidean algorithm—in this case, the 13 steps given above. On the other hand, it takes just 4 steps of the Euclidean algorithm to find that 437 and 899 are coprime, while factorizing by hand would be tedious, as these numbers are 19 × 23 and 29 × 31.

Algorithms are useful, but algorithms as such do not tell you just when they are going to be useful. You have to decide that—or take a guess.

The Facebook algorithm, which decides what people are going to be shown or notified about—this algorithm is certainly created by thinking. But this thinking is about how to get people to spend as much time as possible looking at Facebook and at Facebook’s advertisers.

It has been pointed out to me that there are programs for blocking Facebook advertisements. In fact I cannot object to advertisements as such. They make it possible for us to have things without paying cash. WordPress tells me that readers of my blog might see advertisements with the articles. I could stop the advertisements by paying cash to WordPress. I might indeed be happy to do this, but so far have not seen the need. I like what Maugham says on the subject of advertisements, in the Preface to the collection of his (mostly) later stories called The World Over (Volume II of The Complete Short Stories of W. Somerset Maugham, Garden City, New York: Doubleday & Company, 1952):

Magazine readers do not like starting a story and, after reading for a while, being told to turn to page one hundred and something. Writers do not like it either, for they think the interruption disturbs the reader and they have besides an uneasy fear that sometimes he will not take the trouble and so leave the story unfinished. There is no help for it. Everyone should know that a magazine costs more to produce than it is sold for, and could not exist but for the advertisements. The advertisers think that their announcements are more likely to be read if they are on the same page as the matter which they modestly, but often mistakenly, think of greater interest. So in the illustrated periodicals it has been found advisable to put the beginning of a story or an article, with the picture that purports to illustrate it, at the beginning and the continuation with the advertisements later on.

Neither reader nor writers should complain. Readers get something for far less than the cost price and writers are paid sums for their productions which only the advertisements render possible. They should remember that they are only there as bait. Their office is to fill blank spaces and indirectly induce their readers to buy motor accessories, aids to beauty and join correspondence courses [sic]. Fortunately this need not affect them. The best story from the advertisers’ standpoint (and they make their views felt on this question) is the story that gives readers most entertainment…

Evidently Maugham’s aim is indeed to entertain his readers. This is not really my own aim. You can call my attitude sour grapes. According to WordPress statistics, few people even take the chance of being entertained by me. (If you are not already one of them, you can sign up somewhere on the left to receive email notification of future articles on this blog.) I know I can get a lot of “likes” on Facebook by posting a photo of my beloved spouse, or even myself, sitting at a beautiful spread of food in some idyllic spot in Turkey. However, this supposed popularity of a certain kind of photograph does not even represent a vote on the part of my friends. Facebook is more likely to show a photograph to the rest of one’s friends if a few friends have already liked it. A tally of Facebook “likes” then is not a vote, any more than a public opinion poll is a vote. The poll corrupts the vote. It causes the candidate to try to say what people want to hear, not what the candidate believes in. Candidates may always have tried to say what voters want to hear, as we can understand from reading Plato; but the public opinion poll makes things worse, if only by making it easier for candidates to care about what people want to hear. One ought rather to be oneself, and let others take that as they will.

I have surprised myself by finding Twitter congenial. I had thought it would provide the ultimate in vacuity. It can do this, but it need not. I started reading it at the time of the Gezi Park protests, here in Istanbul and the rest of Turkey, in May and June of 2013. I continue to get some of the latest news from the tweets of journalists themselves. Unfortunately, somebody on Twitter may indeed send out fifty similar tweets or retweets in a few minutes, or allow advertisements to be tweeted in their name, or use an app that tweets their every location: but then I am likely to unfollow that person. That is my choice. What you see on Twitter is up to you. You follow a person, you see their tweets. I try to follow only so many people that I do actually have time to see everything they tweet. (But I have not had time lately!) There are people who I wish would tweet less, though I still want to see what they have to say. Facebook would censor those persons’ announcements, maybe even down to the level that I prefer. But I do not believe this censoring should be left to a machine programmed by strangers for their own purposes.

There is more that could be said. Obviously you can also unfollow people on Facebook, only there it would be called “unfriending,” and I do not like Facebook’s abuse of the notion of friendship. I heard rumors that Twitter was hoping to attract more users by “curating” the news feed like Facebook. Meanwhile, I have tried to get people interested in Diaspora. Given that countries like Turkey manage to censor media like Facebook and Twitter, a decentralized alternative like Diaspora would seem desirable. There are various other social media that I am aware of or have even used, like Google+,, LinkedIn, Tumblr, and Reddit. As far as I know, Facebook is unique—and is uniquely successful—for the very feature that I here decry: the algorithmically manipulated news feed. I was told that one could get around this feature and indeed arrange to see everything posted by one’s friends; but it makes little sense to do this when others do not.

Note added several minutes after publication: I set out to put a link to this article as a comment on the message of every birthday greeting that I received. I got a warning from Facebook:

Warning: Please Slow Down
It looks like you’re using this feature in a way it wasn’t meant to be used. Please slow down, or you could be blocked from using it.

I suppose Facebook thinks I am spamming people. You should be protected from me. I should post a link to my article once, and you may or may not see it, as Facebook decides.


  1. Bill
    Posted March 17, 2015 at 3:58 pm | Permalink | Reply

    I disagree with your notion of Facebook as having the ability to take away your will. I think, and my long experience bears me out, that I am notified about everything my “close” friends, except for those things those “close” friends might exclude me from. Similarly, I do not have to look at the posts of others, unless I want to. Finally, I can limit what I post to a narrow audience, or to the whole world. Your example of the algorithm in Euclid doesn’t really do me much good. It is not an example from common experience, other than perhaps David, your common experience. So your stated reasons for denying us the pleasure of your company on Facebook do not withstand scrutiny, and It would be appreciated if you would come round and take 30 minutes to tweak your account.

    Also, thanks for a wonderful post.

    • Posted March 19, 2015 at 1:38 pm | Permalink | Reply

      Bill, the contents of the Facebook “news” feed are not under your direct control. You can influence contents by who your “friends” are and by what you click on, but you don’t know exactly what the results of these actions will be. Neither is any other human being deciding what will be on your “news” feed; but an algorithm “decides.” The algorithm is written by human beings, but not in your interest: it is written to get you to spend as much time as possible on Facebook. I have spent a lot of time on Facebook in the last few years; now I have decided it is best to spend my time elsewhere.

2 Trackbacks

  1. […] in the alternating subtraction that constitutes the Euclidean Algorithm; I looked at this in “The Facebook Algorithm” and “The Geometry of Numbers in […]

  2. By On Being Given to Know « Polytropy on August 24, 2019 at 5:40 pm

    […] only observe that nobody signs up for this kind of conditioning, as far as I know. They sign up for Facebook, where they are conditioned; but this is not why they sign up. In the learning of skills, Jaynes […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: