finding-real-estate-professionals-on-twitter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Finding Real Estate Professionals On Twitter

在Twitter上查找房地产专业人士



Inputs

输入参数

ParameterTypeRequiredDefaultNotes
startUrls
arrayOptional
[]
Twitter profile or tweet URLs
twitterHandles
arrayOptional
[]
Twitter usernames (without @)
twitterUserIds
arrayOptional
[]
Twitter user IDs
getFollowers
booleanOptional
false
Extract follower lists
getFollowing
booleanOptional
false
Extract following lists
getRetweeters
booleanOptional
false
Extract retweeters of a tweet URL
includeUnavailableUsers
booleanOptional
false
Include unavailable/suspended users
maxItems
numberOptionalUnlimitedMaximum users to return
customMapFunction
stringOptionalJavaScript function to transform each output object
参数类型是否必填默认值说明
startUrls
array可选
[]
Twitter个人主页或推文URL
twitterHandles
array可选
[]
Twitter用户名(不带@)
twitterUserIds
array可选
[]
Twitter用户ID
getFollowers
boolean可选
false
提取粉丝列表
getFollowing
boolean可选
false
提取关注列表
getRetweeters
boolean可选
false
提取推文的转发者列表
includeUnavailableUsers
boolean可选
false
包含不可用/被封禁用户
maxItems
number可选无限制返回的最大用户数量
customMapFunction
string可选用于转换每个输出对象的JavaScript函数

How to Run

运行方式

Using run_actor.js (recommended)

使用run_actor.js(推荐)

bash
undefined
bash
undefined

Quick answer (table)

快速查看结果(表格形式)

node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}'
node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}'

Save as CSV

保存为CSV文件

node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}' --output results.csv --format csv
node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}' --output results.csv --format csv

Save as JSON

保存为JSON文件

node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}' --output results.json --format json
undefined
node scripts/run_actor.js --actor "apidojo~twitter-user-scraper" --input '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}' --output results.json --format json
undefined

REST API fallback

REST API备用方案

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~twitter-user-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}'
If Apify MCP is available: Use the Apify MCP
call_actor
tool with actor
apidojo~twitter-user-scraper
and the input above.

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~twitter-user-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["realtor", "real estate agent"], "maxItems": 100}'
如果Apify MCP可用: 使用Apify MCP的
call_actor
工具,指定actor为
apidojo~twitter-user-scraper
并传入上述输入参数。

Scoring & Ranking

评分与排名

Score each user by:
  • followers
    → normalized 0-1 (cap at 50K), weight 0.30
  • bio_match_score
    (contains: realtor, broker, real estate, property, agent, MLS) → 0 or 1, weight 0.40
  • has_website
    → 0 or 1, weight 0.30
python
score = 0.30 * min(followers / 50000, 1.0) + 0.40 * int(bio_match) + 0.30 * int(has_website)

按照以下维度为每位用户评分:
  • followers
    → 归一化至0-1(上限为50K),权重0.30
  • bio_match_score
    (包含关键词:realtor、broker、real estate、property、agent、MLS)→ 0或1,权重0.40
  • has_website
    → 0或1,权重0.30
python
score = 0.30 * min(followers / 50000, 1.0) + 0.40 * int(bio_match) + 0.30 * int(has_website)

Classification

分类

ScoreTierLabel
≥ 0.70APRIME_OUTREACH
0.40–0.69BHOT_CANDIDATE
< 0.40CLOW_PRIORITY

评分等级标签
≥ 0.70APRIME_OUTREACH
0.40–0.69BHOT_CANDIDATE
< 0.40CLOW_PRIORITY

Edge Cases

边缘情况

  • Generic bio keywords: "house" or "home" match too broadly. Use "realtor", "real estate agent", "MLS".
  • Personal accounts mixed in: Filter by followers > 200 and has website link.
  • Bot accounts: Unusually high following-to-follower ratio — filter out.
  • Keyword not in bio: Twitter user search matches bio text — results may vary if bio is non-standard.
  • International agents: Use country-specific terms (e.g., "estate agent" for UK).
  • 通用简介关键词:"house"或"home"匹配范围过广,建议使用"realtor"、"real estate agent"、"MLS"等精准关键词。
  • 混入个人账号:通过筛选粉丝数>200且包含网站链接的用户来排除。
  • 机器人账号:关注数与粉丝数比例异常高的账号——过滤此类账号。
  • 简介中无关键词:Twitter用户搜索会匹配简介文本,若简介不规范,结果可能存在差异。
  • 国际从业者:使用特定国家术语(例如,英国使用"estate agent")。