Reworking the logic of finding the tweet's ID and handle.