16 Mar 2023
I used Twitter in the past as a great Lead Generation source. Built an automation with the then free API to get daily data from it, to feed into email outreaches.
!projects/twittee
With the API not available anymore, looking now at other ways to leverage Twitter for lead generation.
Twitter Search
Example: searching for event
in the tweets of @ucl
:
https://twitter.com/search?q=from%3Aucl%20event&src=typed_query&f=top
so use:
f"https://twitter.com/search?q=from%3A{twitter_handle}%20{query}"
advanced search
UI query for "event" from @ucl since 1st Jan, tweets only (no replies), and with links: event (from:ucl) since:2023-01-01 filter:links -filter:replies
translates to: https://twitter.com/search?q=event%20(from%3Aucl)%20since%3A2023-01-01%20filter%3Alinks%20-filter%3Areplies&src=typed_query
so use:
f"https://twitter.com/search?q={query}%20(from%3A{twitter_handle})%20since%3A{since}%20filter%3Alinks%20-filter%3Areplies&src=typed_query"
for exact phase, eg "abstract submission", use quotes & unicode, eg q="abstract%20submission"
.
Getting 11 tweets if downloading without scrolling.