NZ Herald
  • Home
  • Latest news
  • Video
  • New Zealand
  • Sport
  • World
  • Business
  • Entertainment
  • Podcasts
  • Quizzes
  • Opinion
  • Lifestyle
  • Travel
  • Viva
  • Weather forecasts

Subscriptions

  • Herald Premium
  • Viva Premium
  • The Listener
  • BusinessDesk

Sections

  • Latest news
  • New Zealand
    • All New Zealand
    • Crime
    • Politics
    • Education
    • Open Justice
    • Scam Update
  • Budget 2025
  • On The Up
  • World
    • All World
    • Australia
    • Asia
    • UK
    • United States
    • Middle East
    • Europe
    • Pacific
  • Business
    • All Business
    • MarketsSharesCurrencyCommoditiesStock TakesCrypto
    • Markets with Madison
    • Media Insider
    • Business analysis
    • Personal financeKiwiSaverInterest ratesTaxInvestment
    • EconomyInflationGDPOfficial cash rateEmployment
    • Small business
    • Business reportsMood of the BoardroomProject AucklandSustainable business and financeCapital markets reportAgribusiness reportInfrastructure reportDynamic business
    • Deloitte Top 200 Awards
    • CompaniesAged CareAgribusinessAirlinesBanking and financeConstructionEnergyFreight and logisticsHealthcareManufacturingMedia and MarketingRetailTelecommunicationsTourism
  • Opinion
    • All Opinion
    • Analysis
    • Editorials
    • Business analysis
    • Premium opinion
    • Letters to the editor
  • Sport
    • All Sport
    • OlympicsParalympics
    • RugbySuper RugbyNPCAll BlacksBlack FernsRugby sevensSchool rugby
    • CricketBlack CapsWhite Ferns
    • Racing
    • NetballSilver Ferns
    • LeagueWarriorsNRL
    • FootballWellington PhoenixAuckland FCAll WhitesFootball FernsEnglish Premier League
    • GolfNZ Open
    • MotorsportFormula 1
    • Boxing
    • UFC
    • BasketballNBABreakersTall BlacksTall Ferns
    • Tennis
    • Cycling
    • Athletics
    • SailingAmerica's CupSailGP
    • Rowing
  • Lifestyle
    • All Lifestyle
    • Viva - Food, fashion & beauty
    • Society Insider
    • Royals
    • Sex & relationships
    • Food & drinkRecipesRecipe collectionsRestaurant reviewsRestaurant bookings
    • Health & wellbeing
    • Fashion & beauty
    • Pets & animals
    • The Selection - Shop the trendsShop fashionShop beautyShop entertainmentShop giftsShop home & living
    • Milford's Investing Place
  • Entertainment
    • All Entertainment
    • TV
    • MoviesMovie reviews
    • MusicMusic reviews
    • BooksBook reviews
    • Culture
    • ReviewsBook reviewsMovie reviewsMusic reviewsRestaurant reviews
  • Travel
    • All Travel
    • News
    • New ZealandNorthlandAucklandWellingtonCanterburyOtago / QueenstownNelson-TasmanBest NZ beaches
    • International travelAustraliaPacific IslandsEuropeUKUSAAfricaAsia
    • Rail holidays
    • Cruise holidays
    • Ski holidays
    • Luxury travel
    • Adventure travel
  • Kāhu Māori news
  • Environment
    • All Environment
    • Our Green Future
  • Talanoa Pacific news
  • Property
    • All Property
    • Property Insider
    • Interest rates tracker
    • Residential property listings
    • Commercial property listings
  • Health
  • Technology
    • All Technology
    • AI
    • Social media
  • Rural
    • All Rural
    • Dairy farming
    • Sheep & beef farming
    • Horticulture
    • Animal health
    • Rural business
    • Rural life
    • Rural technology
    • Opinion
    • Audio & podcasts
  • Weather forecasts
    • All Weather forecasts
    • Kaitaia
    • Whangārei
    • Dargaville
    • Auckland
    • Thames
    • Tauranga
    • Hamilton
    • Whakatāne
    • Rotorua
    • Tokoroa
    • Te Kuiti
    • Taumaranui
    • Taupō
    • Gisborne
    • New Plymouth
    • Napier
    • Hastings
    • Dannevirke
    • Whanganui
    • Palmerston North
    • Levin
    • Paraparaumu
    • Masterton
    • Wellington
    • Motueka
    • Nelson
    • Blenheim
    • Westport
    • Reefton
    • Kaikōura
    • Greymouth
    • Hokitika
    • Christchurch
    • Ashburton
    • Timaru
    • Wānaka
    • Oamaru
    • Queenstown
    • Dunedin
    • Gore
    • Invercargill
  • Meet the journalists
  • Promotions & competitions
  • OneRoof property listings
  • Driven car news

Puzzles & Quizzes

  • Puzzles
    • All Puzzles
    • Sudoku
    • Code Cracker
    • Crosswords
    • Cryptic crossword
    • Wordsearch
  • Quizzes
    • All Quizzes
    • Morning quiz
    • Afternoon quiz
    • Sports quiz

Regions

  • Northland
    • All Northland
    • Far North
    • Kaitaia
    • Kerikeri
    • Kaikohe
    • Bay of Islands
    • Whangarei
    • Dargaville
    • Kaipara
    • Mangawhai
  • Auckland
  • Waikato
    • All Waikato
    • Hamilton
    • Coromandel & Hauraki
    • Matamata & Piako
    • Cambridge
    • Te Awamutu
    • Tokoroa & South Waikato
    • Taupō & Tūrangi
  • Bay of Plenty
    • All Bay of Plenty
    • Katikati
    • Tauranga
    • Mount Maunganui
    • Pāpāmoa
    • Te Puke
    • Whakatāne
  • Rotorua
  • Hawke's Bay
    • All Hawke's Bay
    • Napier
    • Hastings
    • Havelock North
    • Central Hawke's Bay
    • Wairoa
  • Taranaki
    • All Taranaki
    • Stratford
    • New Plymouth
    • Hāwera
  • Manawatū - Whanganui
    • All Manawatū - Whanganui
    • Whanganui
    • Palmerston North
    • Manawatū
    • Tararua
    • Horowhenua
  • Wellington
    • All Wellington
    • Kapiti
    • Wairarapa
    • Upper Hutt
    • Lower Hutt
  • Nelson & Tasman
    • All Nelson & Tasman
    • Motueka
    • Nelson
    • Tasman
  • Marlborough
  • West Coast
  • Canterbury
    • All Canterbury
    • Kaikōura
    • Christchurch
    • Ashburton
    • Timaru
  • Otago
    • All Otago
    • Oamaru
    • Dunedin
    • Balclutha
    • Alexandra
    • Queenstown
    • Wanaka
  • Southland
    • All Southland
    • Invercargill
    • Gore
    • Stewart Island
  • Gisborne

Media

  • Video
    • All Video
    • NZ news video
    • Business news video
    • Politics news video
    • Sport video
    • World news video
    • Lifestyle video
    • Entertainment video
    • Travel video
    • Markets with Madison
    • Kea Kids news
  • Podcasts
    • All Podcasts
    • The Front Page
    • On the Tiles
    • Ask me Anything
    • The Little Things
    • Cooking the Books
  • Cartoons
  • Photo galleries
  • Today's Paper - E-editions
  • Photo sales
  • Classifieds

NZME Network

  • Advertise with NZME
  • OneRoof
  • Driven Car Guide
  • BusinessDesk
  • Newstalk ZB
  • What the Actual
  • Sunlive
  • ZM
  • The Hits
  • Coast
  • Radio Hauraki
  • The Alternative Commentary Collective
  • Gold
  • Flava
  • iHeart Radio
  • Hokonui
  • Radio Wanaka
  • iHeartCountry New Zealand
  • Restaurant Hub
  • NZME Events

SubscribeSign In
Advertisement
Advertise with NZME.
Home / Technology

How Facebook knows who all your friends are

By Caitlin Dewey
Washington Post·
24 Apr, 2015 09:00 PM4 mins to read

Subscribe to listen

Access to Herald Premium articles require a Premium subscription. Subscribe now to listen.
Already a subscriber?  Sign in here

Listening to articles is free for open-access content—explore other articles or learn more about text-to-speech.
‌
Save

    Share this article

How does Facebook know who all your friends are, even better than you do? Photo / 123RF

How does Facebook know who all your friends are, even better than you do? Photo / 123RF

How does Facebook know who all your friends are, even better than you do? Caitlin Dewey solves the social networking mystery.

Last month, a user of the Reddit social networking site, named easyjet, decided to join the global party that is Facebook. He signed up with an email address he never, ever used. He lied about all of his personal information.

So he was rightly freaked out when Facebook still managed to predict and "recommend" a huge number of his real-life acquaintances - down to people whose names he barely knew and a woman he dated 19 years ago.

How does Facebook know who your friends are? It's a mystery that has nagged users since at least 2011, when the Irish Data Protection Commissioner conducted a full-scale investigation into the issue. But four years later, there's still a lot of confusion and misinformation about what Facebook's doing when it "finds" your friends. Did it scrape your phone for names and numbers? Run a reverse-image search of your picture? Compile a "shadow" or "ghost" profile on you over a period of years, just waiting for you to log on and "confirm" its guesses?

Alas, Facebook's actual process isn't actually that sneaky or malicious. In fact, it involves this complex academic field called, wait for it: network science.

Advertisement
Advertise with NZME.
Advertisement
Advertise with NZME.

In a nutshell, whenever you sign up for a Facebook account, Facebook asks permission to look at your email contacts if you're on a computer, or your phone contacts if you're on a smartphone. When you grant the site permission, it searches your contacts for users already on the network, and it searches other users' uploaded contacts for you. That gives it a very primitive outline of your social circles: who you know, but not how you know them or how well.

To refine that map, Facebook asks you more questions about yourself: where you went to school, when you were born, what city you live in. Each field in your Facebook profile and each interaction you make through that profile actually double as a source of data for Facebook's mapping algorithms. What they're trying to do is determine the structure of the network: where the cliques are, which people bridge them, who knows who.

Once Facebook knows the structure of your social network, it can analyse it to predict (with startling accuracy) not only the people you're most likely to know now, but those you're likely to know in the future.

This isn't magic: It's actually closer to statistics. In the network, there are a set number of "nodes", i.e, people, and a set number of "edges", i.e, friendships. Given that, each nonexistent connection between two nodes is a statistical possibility. But not all nodes are created equal, so not all connections are equally likely. (I don't anticipate befriending many 40-year-old guys in Siberia, say.)

Advertisement
Advertise with NZME.

To estimate which connections are most likely, Facebook can run analyses against the structure of the network, using a long and entirely above-our-pay-grade list of coefficients and indices. Those coefficients account for a huge number of things: How many unusual commonalities do two people share, for instance? How many friends do they have in common? Which people in the network serve as rallying points, the people who know everyone? How many "degrees of separation" exist between them, how many friends of friends?

In the end, Facebook's friend-recommendation system isn't magic or malice - just really good maths. And guessing your future friends isn't telling the future; it's modelling the evolution of Facebook's social graph.

As you and I know, of course, this doesn't always work. Facebook, not infrequently, suggests you "may know" somebody you don't. Or it suggests people you do know but don't want to see in your newsfeed.

That's not Facebook's fault, says David Liben-Nowell, a computer scientist at Carleton College who studies the evolution of social networks. There are some forces outside the network that Facebook could never account for, he says: like what if I randomly sat next to a middle-aged Siberian man on a plane? And on top of that, Facebook's dealing with a vast and complex network.

Discover more

Business

Arm candy: You don't need one

11 Apr 01:00 AM
Lifestyle

Strangers so alike they could be twins

16 Apr 03:15 AM
World

Terrorists' cyber-threat to the world

17 Apr 11:05 PM
New Zealand

How many Kiwis on Facebook?

22 Apr 12:23 AM

Liben-Nowell poses the example of your friend's exes, some of whom you may want to Facebook-friend. "But which ones? And why?" he asks.

"Their network positions relative to you are all pretty much the same, but [only] you know the one who you happened to sit beside at a wedding. So its prediction algorithms can only do so much."

That said, both Facebook and mathematics at large have enormous interest in improving models of social-network change and "link prediction"; after all, the way people connect has implications way outside social networking, in fields as diverse as epidemiology, communications and counterterrorism.

"We continuously update the 'People You May Know' algorithm to make it better and more relevant for people," says Facebook spokesperson, Ana Brekalo.

So in the future, Facebook may know even more about your friends.

Save

    Share this article

Latest from Technology

Business

'Proven success in conflict zones' - Tauranga's Syos wins Hi-Tech Company of the Year

23 May 11:00 AM
Premium
Technology

Tech boss's withering take on the Budget

22 May 07:46 PM
Premium
Technology

Budget 2025: $212m in cuts to existing business, science and innovation programmes

22 May 04:20 AM

Deposit scheme reduces risk, boosts trust – General Finance

sponsored
Advertisement
Advertise with NZME.

Latest from Technology

'Proven success in conflict zones' -  Tauranga's Syos wins Hi-Tech Company of the Year

'Proven success in conflict zones' - Tauranga's Syos wins Hi-Tech Company of the Year

23 May 11:00 AM

Peter Beck named Flying Kiwi.

Premium
Tech boss's withering take on the Budget

Tech boss's withering take on the Budget

22 May 07:46 PM
Premium
Budget 2025: $212m in cuts to existing business, science and innovation programmes

Budget 2025: $212m in cuts to existing business, science and innovation programmes

22 May 04:20 AM
Premium
Google NZ sends $1b offshore as it increases profit, threat of digital sales tax melts away

Google NZ sends $1b offshore as it increases profit, threat of digital sales tax melts away

21 May 10:46 PM
Gold demand soars amid global turmoil
sponsored

Gold demand soars amid global turmoil

NZ Herald
  • About NZ Herald
  • Meet the journalists
  • Newsletters
  • Classifieds
  • Help & support
  • Contact us
  • House rules
  • Privacy Policy
  • Terms of use
  • Competition terms & conditions
  • Our use of AI
Subscriber Services
  • NZ Herald e-editions
  • Daily puzzles & quizzes
  • Manage your digital subscription
  • Manage your print subscription
  • Subscribe to the NZ Herald newspaper
  • Subscribe to Herald Premium
  • Gift a subscription
  • Subscriber FAQs
  • Subscription terms & conditions
  • Promotions and subscriber benefits
NZME Network
  • The New Zealand Herald
  • The Northland Age
  • The Northern Advocate
  • Waikato Herald
  • Bay of Plenty Times
  • Rotorua Daily Post
  • Hawke's Bay Today
  • Whanganui Chronicle
  • Viva
  • NZ Listener
  • What the Actual
  • Newstalk ZB
  • BusinessDesk
  • OneRoof
  • Driven CarGuide
  • iHeart Radio
  • Restaurant Hub
NZME
  • About NZME
  • NZME careers
  • Advertise with NZME
  • Digital self-service advertising
  • Book your classified ad
  • Photo sales
  • NZME Events
  • © Copyright 2025 NZME Publishing Limited
TOP
search by queryly Advanced Search