SuperAPI AI Directory

xhs-profile

General & other

View repository

Updated 10-15 17:21

About this skill

Execution flow

1. Get user information

Call user_profile:

  • user_id(string, required) — user ID (from note details or search results)
  • xsec_token(string, required)

2. Display results

  • Basic information: nickname, avatar, bio, gender, region
  • Data: follower count, following count, likes and saves count
  • List of recently published notes (including feed_id and xsec_token)

Prompt the user that they can view the details of a certain note or interact.

Failure handling

Scenario Handling
Not logged in Guide to use xhs-login
User does not exist Inform the user that this profile is inaccessible