Facebook pagination support added, removed obsolete code