Laws are subjective to where you are located, but to my knowledge, something like this is not illegal in most places. But you could always be held legally liable in civil court if FB could prove you cost them money or damaged their business. You'd have to be raping them HARD for a lawsuit to be worth it tho.
Forget about the criminal code, companies and individuals CAN sue you for basically anything if they can prove in court you hurt them... Remember that.