Social media platforms could face fines for extremist posts