The law was about news media, Facebook shutdown a bunch of unrelated govt services pages in retaliation.
Facebook definitely deserves a lot of blame. Likely in this case too. I'm pro capitalist as much as the next guy but laws are by the people, if a business wants to extract money from our community it needs to play by our rules.
Facebook cutting access is like a badly raised toddler throwing a tantrum.