x-user-lookup

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X User Lookup

X 用户查询

Get user profile information by username or ID.
通过用户名或ID获取用户资料信息。

Setup

设置

bash
export X_BEARER_TOKEN="your-token"  # https://developer.x.com/en/portal/dashboard
bash
export X_BEARER_TOKEN="your-token"  # https://developer.x.com/en/portal/dashboard

Usage

使用方法

bash
${CLAUDE_PLUGIN_ROOT}/scripts/lookup.sh <username>
bash
${CLAUDE_PLUGIN_ROOT}/scripts/lookup.sh <username>

Example

示例

bash
${CLAUDE_PLUGIN_ROOT}/scripts/lookup.sh kurtwuckertjr
bash
${CLAUDE_PLUGIN_ROOT}/scripts/lookup.sh kurtwuckertjr

Response Fields

响应字段

  • id
    - User ID
  • name
    - Display name
  • username
    - Handle (without @)
  • description
    - Bio
  • public_metrics
    - Followers, following, tweet count
  • verified
    - Verification status
  • created_at
    - Account creation date
  • id
    - 用户ID
  • name
    - 显示名称
  • username
    - 账号标识(不含@)
  • description
    - 个人简介
  • public_metrics
    - 粉丝数、关注数、推文数量
  • verified
    - 认证状态
  • created_at
    - 账号创建日期

References

参考资料