How to Search Within One Account's Tweets (Without Scrolling Their Timeline)
How to Search Within One Account's Tweets (Without Scrolling Their Timeline)
You remember someone posted about a thing. You want that post.
The usual approach is to open their profile and scroll, which works for recent posts and fails completely for anything older. ★There is a one-line alternative that most people never learn★, and it turns a scrolling problem into a query.
from:username keyword
That is the entire technique. ★It searches only that account's posts★, and it works in the app, on the web, and through an API identically.
The operators that matter here
| Operator | Does |
|---|---|
from:username |
★Only that account's posts★ |
to:username |
Replies directed at them |
@username |
★Any post mentioning them★ |
from:username since:2024-01-01 |
Their posts after a date |
from:username filter:media |
Only their posts with media |
from:username min_faves:100 |
★Only the ones that landed★ |
★The combination is where this gets useful.★ from:someone climate min_faves:500 since:2024-01-01 is a question no amount of scrolling answers in reasonable time.
The same query string works through an API — operators are not a UI feature.
In code
import requests
BASE = "https://api.socialapi.tech"
KEY = "your_api_key"
HDRS = {"X-API-Key": KEY}
def search_account(username, terms, limit=50, product="Latest"):
"""Search inside one account's posts."""
r = requests.get(f"{BASE}/v1/search/advanced",
params={"query": f"from:{username} {terms}",
"limit": limit, "product": product},
headers=HDRS, timeout=60)
r.raise_for_status()
return r.json()["data"]
for p in search_account("someaccount", "supply chain min_faves:50"):
print(f"{p['created_at'][:10]} {p.get('like_count',0):>6} {p['text'][:70]}")
★Note product.★ Latest returns chronologically; Top returns by prominence — and ★they return genuinely different result sets, not just different orders★. For "find the post I remember", use Latest. For "what were their best posts on this", use Top.
★Searching versus paging — they answer different questions★
This is the distinction that decides which tool you need:
| You want | Use |
|---|---|
| A post you remember | ★Search★ |
| Everything they said about X | ★Search★ |
| Their complete history | ★Paging★ |
| Their first post | ★Paging★ |
| Posts above an engagement bar | ★Search★ |
★Search is recall. Paging is enumeration.★
Both are one call each — the operator syntax passes straight through.
⚠️ And the trade-off has a sharp edge: ★search does not reach reliably into the deep past★, while paging does. If a from: search returns nothing for an old post you are certain exists, the post is probably below search's horizon rather than gone — page for it instead.
What this does not do
from: does not search protected accounts. ★If they are protected, nothing works★ — not this, not paging, not any tool.
It does not find deleted posts. ★Search indexes what exists★ — what survives deletion.
It does not search by email or phone. ★People search for "search twitter by email" constantly, and it is not a feature anyone has★ — why that lookup does not exist.
It does not search inside images. ★Text in a screenshot is invisible to search★ — what image search matches.
Questions people ask
How do I search tweets from a user?
★from:username plus your terms.★ That is the whole syntax.
How do I search someone's tweets? Same operator. ★It works for any public account, not just your own.★
How do I search a Twitter account for keywords?
from:username keyword — ★searching only that account's posts★.
How do I search tweets by user?
from: for their posts, to: for replies at them, @ for mentions. ★Three different questions.★
How do I search within an account?
Prefix the query with from:username. ★No UI setting is needed.★
Can I search someone else's tweets? ★Yes, for public accounts.★ Their posts are public data.
How do I search a person's old tweets? Search first, then page if it returns nothing — ★search skews recent★.
How do I search tweets by person and date?
from:username since:YYYY-MM-DD until:YYYY-MM-DD — how dates behave.
Can I search tweets without an account? Logged-out search is heavily limited — what works logged out.
How do I find everyone someone follows? ★That is a different operation★ — read their following list, do not search for it.
Can I search by email? ★No — that lookup does not exist for anyone★ — why.
How do I search replies from someone?
from:username filter:replies, or read their replies view directly.
How do I exclude replies?
from:username -filter:replies — ★the minus prefix negates any filter★.
How do I find their most popular posts on a topic?
from:username topic min_faves:500 with Top ranking.
What does min_faves do? ★Filters to posts above a like threshold★ — the fastest way to skip noise.
Can I search their media posts?
from:username filter:media, though ★the media views are a separate index★ — why.
Does from: work with quoted phrases?
Yes — ★from:username "exact phrase" is the most precise form★.
Why does my from: search return nothing? Either the wording differs, or ★the post is below search's horizon★. Try paging.
Is from: case sensitive? No, and it works with or without the @.
Can I search multiple accounts at once?
Yes — (from:a OR from:b) ★with the parentheses★.
Can I combine from: with a hashtag? Yes — all operators compose.
What is the difference between from: and to:?
★from: is what they posted; to: is what was posted at them.★
What is the difference between to: and @?
to: is replies; @ is any mention — the distinction.
Does searching an account notify them? ★No.★ Searches are never attributed — what others can see.
How far back does from: search reach? ★Not reliably far★ — this is search's limitation, not the operator's.
Should I search or page for a complete history? ★Page.★ Search is recall; paging is enumeration.
Can I search protected accounts? No. ★Nothing reaches protected accounts.★
How many results can I get? Paginated — follow the cursor as with any search.
Does Top or Latest matter? ★Substantially — they return different sets★, not just different orders.
Can I automate this across many accounts? Yes — one query each. ★Budget by query count, not account size.★
What is the single most useful combination?
★from:username "exact phrase"★ — it is the fastest path to a post you remember.
The short version
★from:username keyword searches inside one account's posts, and it is the technique that turns "scroll until I find it" into a single query.★
Combine it — dates, media filters, engagement thresholds — ★and you can ask questions scrolling cannot answer at all★.
★But know which tool you are holding: search is recall, paging is enumeration.★ A from: search that returns nothing for an old post usually means the post is below search's horizon, not that it is gone — page for it.
Our API accepts the same operator syntax, with Latest and Top as separate result sets rather than sort orders. Read-only, flat price per call.
What it will not reach: protected accounts, deleted posts, text inside images, or an account behind an email address. ★All four are boundaries rather than gaps.★
Related reading: the full operator set · when to page instead · how date filters really behave · replies versus mentions.