The other day, I wrote a blog post (in Swedish), where I described hot to fetch all your friends Facebook statuses as RSS. At the time, I was convinced that you no longer could get an RSS feed containing your own, personal Facebook statuses. So I wrote the post as a way to accomplish that feed and suggested that people ask a friend for their ”friend feed” or create a fake friend in order to pick up you own statuses via RSS.

After that, many people has contacted med to tell me that they still are able to get their personal RSS feed from Facebook, but others have just like me found that the old RSS feed URL redirects and doesn’t work anymore. However, with a lot of help from my friend Christian Bolstad (at kracked.com and iPhone24.se), I got it to work, and in the process I happened to stumble over yet another privacy glitch by Facebook:

If you use your personal RSS feed, and thereby (like I have been doing) expose the URL, anybody can fetch all your friends Facebook updates regardless of their security settings within Facebook. You can even use Google to find RSS feeds for friends’ Facebook statuses.

With this in mind, I still find it worth while to write a guide about it. I have warned my Facebook friends about it, and hope that most of them are transparent enough to stick with me.

select 'privacy settings' from the facebook account menu

Step one – reset your Facebook privacy settings to ”recommended”.

The first thing you need to do is to reset your privacy settings within Facebook to ”recommended”.

• Select Privacy Settings from the Account menu at the top far right of the Facebook menu bar.

If the settings for Facebook Sharing looks anything like in the image below, you probably haven’t made any customizations to the privacy settings. If you have done some changes, click the Recommended tab and then the button saying Apply these settings.

Now, if you did need to reset the recommended settings, you might want to wait for a while, log out of Facebook, take a quick stroll, make a cup of coffee or maybe even do some work. Facebook has a huge server cluster, and we want these changes to propagate through them.

Anyway. It’s important to log out of Facebook before the third step, so you might just do it immediately after applying the new settings.

If you didn’t change anyting you can go right on to step two without a seconds pause.

Step two – find your Facebook ID and RSS key

Now we’re off to find one of the two RSS feeds that Facebook still lets us use. I’d recommend the Friend’s notes RSS feed since we’ll talk about this later. (There is also a feed containing all your friends notification, i.e. Jill Johnson liked your status, John Doe commented on Jill Johnssons status…)

• Start with logging in to Facebook again.

• Go to www.facebook.com/notes.php?friends (it might take forever to load, it does for me most of the time). This page contains all your friend’s notes. Look for the box that looks something like the one in the image to the right. It contains an RSS icon and the link My Friends’ Notes.

• Click on the RSS link at the top right side of the content area, pictured on the right.

You are now looking at an RSS feed containing your friends’ notes on Facebook. What we want to do is use two values from the URL. The Facebook ID (a numeric value) value and the key value (which is a mixed alphanumeric value). The values below are fake values that I made up.

http://www.facebook.com/feeds/friends_notes.php?id=123456789&key=a9b8c7d6f5&format=rss20

However. We want the URL to our

• Make a note of your ID and Key values.

• Copy the URL below to a new browser tab or window, and replace the fake values in it with your own values.

http://www.facebook.com/feeds/status.php?id=123456789&viewer=123456789&key=a9b8c7d6f5&format=rss20

• Replace both the id and viewer values with your Facebook ID as found in the first URL above and then replace the key value with your own secret key value as found in the first URL.

Now you’re set. If the URL doesn’t produce a feed, check that your security settings are set to Recommended and that you haven’t copied anything wrong. If it still doesn’t work, try logging out from Facebook and do some more work for a while before logging in and trying again.

When the feed is activated, you don’t need to be logged in to Facebook to use it, and you can use it as an RSS feed for you blog, or in the Lifestream extension or even for an alternative way of updating Twitter.

So how is this an privacy issue for Facebook?

As mentioned above, I regard the use of the ID and key values in the feed as an privacy issue, and the reason for that is that Facebook, although secretive, actually has a few other feeds, that use the exact same values. One of the most interesting ones are the feed displaying all your friends’ Facebook updates.

Yes it’s true. There actually is such a feed, and it displays all your friends’ Facebook updates regardless of their security settings. Rather wicked, and I promise you that most of my more secretive friends (or should I call them privacy aware?) blew a few fuses when they realized that I could collect all their updates via RSS and do anyting I wanted with the data.

The URL looks like this:

http://www.facebook.com/feeds/friends_status.php?id=123456789&key=a9b8c7d6f5&format=rss20 (The values are once again fake values, since I don’t want to piss off my friends.)

The security issue is the fact that the id and key values are exactly the same as in the URL for your own RSS feed (and for all other feeds used for Facebook RSS).

Now I’m all for transparency. I thrive on transparency, and the only reason I have been looking for these feeds is that I want to share my Facebook statuses to the world (here on my blog and in my lifestream and maybe in other places as well). If Facebook had made it easier for me to find it, I wouldn’t have given this a second thought. But the way that Facebook are hiding the feeds, and  the way the URLs are formated opens up a vast privacy issue for people that aren’t as transparent as I am and might have cause to have stronger locks on their Facebook life.

The security risk could easily be removed if Facebook implemented open feeds, that you could turn on or off in the security settings, with a URL that looked like www.facebook.com/nikke/feed/personal instead of sending those secret key values out for anyone to see.

Facebook has some measures in place for protection

As I warned my Facebook friends that I was writing this post, someone warned med that the biggest privacy threat to Facebook was users like me who can’t stay away from letting everything out in the open. He also feared that the only measure Facebook would take was shutting the feeds down. Now that would be a pity.

But Facebook actually has taken some precautions with the feeds.

The first is that they have made it a bit harder to spider the Facebook feed. You can’t do it with a simple curl command. You need to masquerade as a browser or feed reader, which is very easy to do.

The second is that even if you click on the RSS icon on your blog after implementing the feed, you are redirected from the feed address to a page that requires you to be logged in. It seems that they do this by looking at the referal and if it isn’t empty you are redirected to http://www.facebook.com/minifeed.php?status&id=123456789 which in turn redirects you to http://www.facebook.com/nikke?v=feed This is good, but I still find it a bit awkward. It’s security by obscurity…

The third is that feeds seem to be turned off whenever you change your security settings. In my case you can easily pick up all my friends statuses if you have the address to my personal feed, but that doesn’t apply to everyone. I know that since I have googled these URLs. Try it yourself:

That last search produces 6,590 feeds full of status updates by people that just might think that their Facebook statuses are visible only to their Facebook friends and in some cases only for a select group of Facebook friends. Imagine if someone started collecting these feeds?

I hope that Facebook will rethink the way they are hiding these hidden feeds, and that they will reformat them not to expose the key value, or better still by using different key values for different feeds. How long will it take until someone  cracks the way to create the key value?

Do you agree or disagree? The comment form is open for discussion.

Jag har ofta bråkat på tidningssajter vad gäller deras satsningar på sökmotoroptimering. Kritiken jag brukar framföra är att de är så dåliga på att utnyttja den fullkomliga skatt som de sitter på i form av bra textinnehåll. Men idag är det dags att lyfta fram ett riktigt bra sökmotoroptimeringsprojekt på DN.se. DN arbetar idag med temasidor, troligen inspirerade av NYT, men snyggt anpassat till svenska förhållanden. Dessa temasidor placerar sig (till skillnad från resultatsidor, taggsidor och kategorisidor) oerhört bra i Googles sökresultat. Faktiskt så bra att de, oavsett vilket politiskt parti man söker på, syns på förstasidan på Google och oftast på riktigt bra placeringar.

Projektet initierades av dåvarande affärsutvecklingschefen Björn Lilja (som idag har gått vidare till att arbeta dels med 24hbc-projektet Kundo och dels med sina gamla kollegor på Valtech) och jag misstänker att Björn Hedensjö har en del med projektet att göra också.

Vilket parti man än söker efter hos Google, från Socialdemokraterna till Sverigedemokraterna, så ligger DN.se bra till i sökningarna. Nästan alltid med den tema-sida som DN har skapat för begreppet, en sida som är duktigt sökmotoroptimerad för sitt unika begrepp (temats namn) och som sedan listar de senaste artiklarna som  som faller inom temats ramar.

on-page SEO för temasidorna på dn.se

DN.se gör alla rätt på sidan. Title innehåller ordet som temasidan ska hittas på, liksom h1 rubriken och en h2-rubrik. Sidan innehåller unik text (vilket är jätteviktigt idag), artiklarna som lyfts in är riktigt relaterade till temat och det finns relevanta länkar till relaterade teman. Dessutom (och det nämner jag inte i filmen) finns det ett eget RSS-flöde för tema-sidan, som vi kan hämta och använda för länkar till den om vi skulle ha lust.

På själva artikelsidorna ser man till att länka namnet på temat första gången det dyker upp i texten. Observera: i artikeltexten, inte bara i en sidomeny eller i ett block med länkar under texten:

länk till temasidan

Mycket mer komplicerat än så här behöver det nog inte vara faktiskt. Det svåraste är nog att få redaktörerna att komma ihåg att tagga artiklarna på rätt sätt och länka dem till respektive temasida. Den som tittar på hur den här sajten genomgående länkar till mina egna samlingssidor kring begreppen SEO och sökmotoroptimering ser att jag sedan länge har arbetat likadant.

Det är hur som helst snyggt genomfört, och vi kan alla se att det fungerar.

Dina vänners Facebook-status via RSS

2010-07-15 Sociala nätverk

En guide i hur du plockar ut dina vänners statusuppdateringar från Facebook som RSS-flöde. Hämta en kompis flöde så kan du ta ut dina egna uppdateringar som RSS, men det här är enda sättet.

»»»

Josef Frank 125 år

Thumbnail image for Josef Frank 125 år 2010-07-15 Googleism

Idag skulle Josef Frank firat födelsedag om han levat. Google uppmärksammar mönsterikonens 125:e födelsedag med en av de snyggaste Google-loggorna på länge.

»»»

Dagens Media om Sverigedemokraterna.de

2010-07-13 Pressklipp

En tweet från Dagens Media-journalisten Erik Westberg (@erikwesterberg) ledde till att @cederberg tipsade om mig vilket i sin tur ledde till att jag blev intervjuad om Sverigedemokraterna.de en stund senare. Jag erkände förstås omgående att jag aktivt tagit del av sökmotoroptimeringen av sajten och därför inte kunde uttala mig som oberoende tyckare, men det blev en riktigt bra artikel ändå.

»»»

Dolda länkar hos Eniro.se

2010-07-13 SEO

Googles Mayday-uppdatering gjorde att många stora sajter tappade mängder av sina sidor i Googles index. Bland de värst drabbade är katalogsajterna, något som jag känner av i mitt arbete med Reco.se där jag hela tiden arbetar med att göra resultatsidorna (sökresultat och listningar) mer relevanta.

»»»

Matte-intensiven.se skickar direktreklam till barn

2010-07-12 Marknadsföring

Jag kom just hem och hittade två brev från Matte-intensiven (eller egentligen Studie-intensiven) på min dörrmatta. Båda breven var adresserade till mina barn, inget av dem har fyllt 18 år ännu. Allis är 17 år och Love är 14 år. Ingen av dem får ingå avtal och i Loves fall bryter reklamen dessutom mot Konsumentverkets riktlinjer för direktreklam till barn.

»»»

Avskedssändning från #SMA

2010-07-11 Sociala nätverk

Igår gjorde vi då den stora avskedssändningen med Sociala mediaakuten från Almedalen. Vi hade, hör och häpna, en publik på 14 personer på plats, nästan konstant 60 tittare i live-sändningen. Det blev ett grymt avsnitt 2,5 h långt.

»»»

Mer Littorin än #almedalen

2010-07-10 Foo

När Littorin-affären seglade upp i onsdags morse började jag omgående hämta in tweets med ordet littorin och den insamlingen har legat kvar. I morse, när Aftonbladet släppte nyheten, fulkomligt exploderade taggen littorin och blev så stor att den inte längre visas i taggmolnet. Många tweets blir det…

»»»

FRA och integritet iskallt i Almedalen

2010-07-07 Politik

All cred till Internet-veteranen Mikael Pawlo (@mpawlo) som försöker väcka de politiska bloggarna och förra årets jättefråga till liv här i Almedalen.

»»»

Google behåller kakan i resebranschen

2010-07-05 Googleism

Google är på god väg att köpa upp programföretaget ITA software som bygger bokningssystem för resebranschen. Detta ger dem direkt tillgång till aktuella priser och rutter på ett sätt som de aldrig hittills har haft, och den som hade tänkt sig att i framtiden leva på prisjämförelsesajter som omvandlar Google-trafik till affiliate-försäljning kan nog komma att få samma problem som vi som oroligt har sett kartsökningarna ta över mer och mer i sökresultaten.

»»»

SD Television – Avslöjande vinjettbild?

Thumbnail image for SD Television – Avslöjande vinjettbild? 2010-07-02 Foo

Jag har testat, och jag är faktiskt helt säker på att det inte bara är jag som får associationer till solkors när jag ser vinjettbilden som används på SD Television, Sverigedemokraternas satsning på webb-TV.

»»»

Gillar du Nikke Index? Visa det på Facebook!

Thumbnail image for Gillar du Nikke Index? Visa det på Facebook! 2010-07-02 Sociala nätverk

Det känns som om jag är den sista bloggaren i världen som skaffar en separat Facebook-sida för bloggen, men efter att ha tänkt och pratat Facebook halva dagen så insåg jag att det faktiskt är hög tid att även jag tar steget och skaffar en egen Facebook-identitet åt bloggen, skiljd från min egen alltså.

»»»

Detroniseringen av Sverigedemokraterna är igång

2010-06-29 Politik

Jag har just läst den mest detroniserande texten som någonsin skrivits om Sverigedemokraterna. Jag är inte förvånad över att det är Magnus Betnér, en av Sveriges bästa satiriska komiker, som har skrivit den, och inte någon grävande journalist. Förvånade verkar däremot delar av presskåren vara. Jag och flera andra tycker att DN bör ta in texten, rakt av, på DN Debatt för en större spridning. SvD, Expressen och Aftonbladet borde också ta in den.

»»»

Yellow Register och Marknadsdomstolen

2010-06-29 Hosting

Den här bloggen har länge fungerat nästan som en sorts forum för småföretagare som känt sig lurade av Yellow Register (aka Yreg aka Yellow.nu). Mitt första blogginlägg om Yellow har samlat inte mindre än 824 kommentarer som är en enda lång dokumentation över hur illa ett företag som skiter i sina kunder kan bete sig. Jag är glad och stolt över att det ur kommentarerna på min blogg kunde skapas en sorts motståndsrörelse mot Yellow Register, en motståndsrörelse som nu har samlat ihop sig till en ekonomisk förening och till en stämning av företaget i Marknadsdomstolen.

»»»

Google á la Lille Prinsen

Thumbnail image for Google á la Lille Prinsen 2010-06-29 Googleism

Idag skulle Antoine de Saint-Exupéry, Lille Prinsens författare, ha fyllt 110 år och Google uppmärksammar jubileet med en Lille Prinsen-inspirerad logga…

»»»

Sverigedemokraterna.de tillbaka i topp igen

2010-06-23 SEO

Lagom till midsommarledigheten har Sverigedemokraterna.de återigen klättrat upp i toppen av Google-söket på frasen sverigedemokraterna. En välkommen present till hela Sverige såhär inför midsommarledigheten. Men om den ska stanna där, behöver sajten all hjälp den kan få, och den hjälpen behövs nu.

»»»

Entireweb.com – ny svensk sökmotor!

Thumbnail image for Entireweb.com – ny svensk sökmotor! 2010-06-23 Sökmotorer

Jag sitter som bäst och provkör Entireweb.com som är något så ovanligt som en ny svensk sökmotor. Det är riktigt roligt faktiskt (såpass roligt att jag inte surar alls mycket över att jag ligger så dåligt till på termen sökmotoroptimering i den).

»»»

Google firar sommarsolståndet med fyra specialloggor

Thumbnail image for Google firar sommarsolståndet med fyra specialloggor 2010-06-21 Googleism

Google påminner om sommarsolståndet och om att det skulle ha varit midsommar idag om vi följt solen och inte almanackan i vårt gammelhedniska firande av att solen nu står som högst på himlen.

»»»

Stänga av sökhistoriken eller jävlas tillbaka?

Thumbnail image for Stänga av sökhistoriken eller jävlas tillbaka? 2010-06-19 Googleism

Övervakningsgalningarna i EU-parlamentet har fått igenom deklaration 29 (SMILE 29) som i sin förlängning, och om den går vidare till att bli inlemmas i datalagringsdirektivet, bland annat innebär att EU-myndigheter har rätt att kräva ut individuell sökhistorik från Google.

»»»
Clicky Web Analytics