There is a way. Go to gallery. On the top right click on, "Add Online Service." Then click on Facebook. Click on the top right again and click "Remove." That should do it.
P.S I only made an account on this website only after seeing your post. HTC One users unite!
Hmmm, I got what the...