Those things you are requesting, I think, are all done in facebook's proprietary languages. Plus, maybe, you need to use other lauguages like ruby on rails. I only looked into it briefly but other things took my interest after looking. Sorry. I also found a new BeeGees clip.
Pavlos
Pavlos