Class UserRequests

Collection of requests related to users.

Constructors

Methods

  • Parameters

    • id: string

      The id of the user whose affiliates are to be fetched.

    • Optionalcount: number

      The number of affiliates to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of affiliates to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • Optionalcount: number

      The number of bookmarks to fetch.

    • Optionalcursor: string

      The cursor to the batch of bookmarks to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • ids: string[]

      The IDs of the users whose details are to be fetched.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose details are to be fetched.

    Returns AxiosRequestConfig

  • Parameters

    • userName: string

      The username of the user whose details are to be fetched.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user to follow.

    Returns AxiosRequestConfig

  • Parameters

    • Optionalcount: number

      The number of timeline items to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of followed timeline items to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose followers are to be fetched.

    • Optionalcount: number

      The number of followers to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of followers to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose followings are to be fetched.

    • Optionalcount: number

      The number of followings to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of followings to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose highlights are to be fetched.

    • Optionalcount: number

      The number of highlights to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of highlights to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose likes are to be fetched.

    • Optionalcount: number

      The number of likes to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of likes to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose media is to be fetched.

    • Optionalcount: number

      The number of media to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of media to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • Optionalcount: number

      The number of notifications to fetch.

    • Optionalcursor: string

      The cursor to the batch of notifications to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • Optionalcount: number

      The number of timeline items to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of recommended timeline items to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose subscriptions are to be fetched.

    • Optionalcount: number

      The number of subscriptions to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of subscriptions to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose timeline tweets are to be fetched.

    • Optionalcount: number

      The number of timeline tweets to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of timeline tweets to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user whose timeline tweets and replies are to be fetched.

    • Optionalcount: number

      The number of timeline tweets and replies to fetch. Only works as a lower limit when used with a cursor.

    • Optionalcursor: string

      The cursor to the batch of timeline tweets and replies to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the user to be unfollowed.

    Returns AxiosRequestConfig