If you have any applications that are messing up your facebook, just go to your settings and there should be a list of applications that you have signed up for. All you have to do is delete it from that page, and it won't have your information anymore to post spam, or whatever it's doing.