Hello guys,

do you think there is a snippet of code, maybe a program or some tricks to delete everything from facebook??? comments, photos, wall posts, groups, fan pages, tags,..... (everything you can think of..)]

I took the decision of closing my facebook account for privacy reasons !
Just to note, that yes you can delete everything or close your account but it will remain on facebook servers. If your privacy concern is with facebook then you're out of luck.
I Read something about having to delete every single item on your wall, messages, etc... then you can deactivate the account, and then try to "reuse" the email for mergint it with another account or something like that, or sending facebook a mail asking them to delete the account.
It may be a case that Facebook would delete your account but I doubt that your data would be deleted. it would remain in the servers as far as I know. If someone else starts using your username then there may be a chance that your data might be deleted to make space for the new ones or rather I would say the the other person's data overlaps yours.
5 days later
Sorry for the late reply but this is your best bet.

www.suicidemachine.org

You can use it for other social network websites. And they are in a huge fight with facebook :)
Many users are commiting suicide.
Unluckily for me i commited a facebook suicide long before that website went online.
U can suspend your account in the account settings
Suspending the account will leave all his posts, tags, inbox messages intact.
Suicide machine will automate users actions, as in removing friends one by one, untagging photos one by one, removing messages one by one. It will even change his password in the end and will never give him the new password. So in a way he is really dead on facebook.

Whereas suspending the account or the facebook deactivation, it will keep everything intact and if he ever logs in again to facebook it will resume. It's like he took a break.

So by using the method of deleting everything he will never have the urge to go back to facebook since he has to do everything from the beginning. (much more different than resuming)

So change password of facebook, and then submit details to Suicide machine and enjoy the show.