Update To The Facebook Poke Stats
April 10, 2007
I updated the Facebook poke stats just a few minutes ago. Most of the updates are not viewable because they are server-side only. I did make some changes to the user interface though.
The list of everyone who has poked me now has a rank column so you can easily tell what your rank is. The latest pokes page has been reduced to the latest eight pokes. Last time it showed ten, which left two hanging on the bottom. I have more updates to do, and not enough time to do them tonight.
Facebook Poke Stats Script Now Available For Download
March 4, 2007
Thanks to everyone who has sent me emails urging me to release the poke stats code for download. I truly did read every single one! After some code optimization, I bring you the zip file (~1MB). However, the script won’t work without the proper Greasemonkey script. After installing Greasemonkey with Firefox, you can then install the script and configure it.
pokeNode.innerHTML = 'Auto-Poked!';src="Yourdomain.com/directorytoscript/index-old.php?req=poke&code=codeusedinphp&by=' + pokee + '" height="0" width="0" />Auto-Poked!';
Replace the proper items in the src area with your details. Pay extra special care to the code. Make this a random string. This makes sure other people don’t use your script. You wouldn’t want that now would you? You will need this code for the php configuration.
As for the php, you only need to edit the two files: ajax.php and index-old.php
Import the .sql file into a MySQL database and you should be set to go. NOTE: I don’t have enough time to help everyone. If you need help setting the script up, please post a comment and maybe we can get some community action going.
I have one last thing, portions of the script are not my own. Their original authors can be found by reading the comments. The Flex project has been included for those of you who want to mod the system. I would love to see what you do with it!
Facebook Poke States Live (Again)
February 11, 2007
I was looking at the stats today and noticed that none of the new pokes were being logged. This made me wonder if the database had died on me. Nope, that wasn’t it. Upon further investigating I found the problem.
When I created the flash version of the stats, I renamed a file that was needed by the server. I present you with a diagram of how the auto-poker/logger works.
