Event Handling in Facebook Games
===

Im new here so please be patient...

Before I throw myself in the deep sea of fb developers world I would like to know if my idea is at all possible, and maybe get some pointers of where to start!?!

I am developing a browser plug-in. The plug-in needs to know each time a player buys or creates an object in facebook games such as farmville, cityville and alike.
So I need some event listener shouting each time a player builds sth like a hospital or school etc etc...
The plugin will be written in html5,css and javascript.

I hope this is at all possible! And maybe someone can point me in the direction of where to look at first!

Thank you very much!
