Twitter shares fall, ending a hard week for social media stocks