Use the twitter v2 api to do the search logic that existed in the client-twitter plugin.
The specific piece is here https://github.com/elizaos-plugins/client-twitter/blob/main/src/client.ts#L38
You can also search the codebase for // TODO comments that mention this issue.