Skip to Main Content
Facebook Cookbook
book

Facebook Cookbook

by Jay Goldman
October 2008
Intermediate to advanced content levelIntermediate to advanced
434 pages
12h 7m
English
O'Reilly Media, Inc.
Content preview from Facebook Cookbook

News Feed and Mini-Feed

Problem

How can I get my users to spread the good word about my app to their friends?

Solution

If success on Facebook is all about getting your message spread around the social graph, then the News Feed is your primary target. Think of it as the play-by-play announcer in a giant game of tag: almost every action you take on Facebook generates an item that appears in the Mini-Feed on your Profile. If it just stopped there it would still be a useful message-spreading tool, but luckily for us, the fun has just begun! Those same items can also appear in your friends’ News Feeds on their home pages, announcing everything you’ve done to everyone who cares.

Facebook processes over a billion News stories per day, running them through a super-sophisticated algorithm that determines which tidbits about your friends will turn up in your Feed. The end result is that your app can publish one story about each user every 12 hours, all of which will appear in that user’s Mini-Feed and some of which will get broadcast out to their friends via the News Feed.

Discussion

My News Feed (Figure 2-20) contains some subset of the stories that have been published about my friends, as determined by Facebook’s top-secret algorithm, likely created by a crack team of ninjas and Tibetan monks.

My News Feed (names blurred to protect the not-so-innocent)

Figure 2-20. My News Feed (names blurred to protect the not-so-innocent)

As seen here, the Feed includes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning PHP 5.3

Beginning PHP 5.3

Matt Doyle
HTML5 Geolocation

HTML5 Geolocation

Anthony T. Holdener

Publisher Resources

ISBN: 9780596156695Errata