Updating Twitter Card and OpenGraph type detection