soundcloud-api-ts-next
    Preparing search index...

    Function useMeFollowers

    • Fetch the current authenticated user's followers.

      Returns HookResult<SoundCloudUser[]>

      Hook result with data as an array of SoundCloudUser followers.

      import { useMeFollowers } from "soundcloud-api-ts-next";

      function MyFollowers() {
      const { data: followers, loading } = useMeFollowers();
      if (loading) return <p>Loading...</p>;
      return <p>{followers?.length} followers</p>;
      }