Five gang members have been jailed after boasting about their crimes on social media.