Just hours before social media companies face a regulatory reckoning with Facebook’s appearance on the Hill, Twitter is taking a step to get right with Congress.