List of Facebook fb_source values

If you’re working with Facebook’s API and trying to record some stats around the values being sent via their fb_source parameter, you might be forgiven for thinking that you could get a definitive list of valid values from their official documentation. Hah! Think again.

Having collected data coming in via links from Facebook for around 9 million clicks, I’ve come to the conclusion that their list is far from complete. Since I wanted to implement some whitelisting to avoid polluting our stats, here’s the list I’m currently using to allow only “intentional” values to be recorded:

$allowed_sources = array(