As protests erupted throughout the US, Donald Trump posted incendiary comments to social media. While Twitter hid the president’s post, Facebook took no action. The Guardian’s technology editor, Alex Hern, looks at what happened next