This code is now obsolete and dysfunctional. If you are interested in Facebook scraping read my blog http://applyr.blogspot.cz/2012/01/mining-facebook-data-most-liked-status.html or even better look at Pablo Babera's Rfacebook package http://pablobarbera.com/blog/archives/3.html