I’m cranky – I wasted far too much time screwing around with this, and, it proved to very simple. However, directions on Facebook, YouTube, etc. – contained confusing information. Maybe I’m an idiot. Anyway, if I don’t write this down I’ll forget what I did. All I wanted to do was have a block of faces on a damned mattress website populated with Facebook “Like” people – we’ve all seen these things, right? First of all, as of May 2012, people cannot be fans of Facebook people – they can be fans of a business, or, organizational Facebook page (eg. a fan club page, your business’s name – whatever). I’m not sure, but I don’t think that it’s always been that way (hey..I could be wrong). Maybe it’s always been that way – that’s neither here nor there, at the the moment… Like I’ve said, it’s entirely possible that I’m an idiot…. Anyway, the first thing you need to do is create the darned Facebook, non-personal, account. You just go here and choose “business”, or, whatever best describes your little enterprise. Once you’ve got your Facebook page online you’ll want to note the URL – it will be something like this (this is the one for the mattress store….):
- If your page is PHP: Create a PHP include with the following text, but replace the long string of digits which identifies your account with the correct numbers (they’re at the end of of your URL) – in other words, in this example replace 372502046133637 with the numbers at the end of your own Facebook page. Also, replace the link with the link to your page. Finally, replace text that says “Wholesale Warehouse”, in the example (of course). Then, just call the include where you want this to appear. You can set the height and width to whatever, change the font’s color and size, etc.