[twitter] Fix metadata extraction and test_Twitter_1