Get any user's onchain identity
Gain context about your users and their profiles across other apps as soon as they sign into your app.
Social Profiles
Get users' profiles across apps like ENS, Lens, Farcaster, and more.
import {
useSocialProfiles,
useActiveAccount,
} from "thirdweb/react";
function App() {
const account = useActiveAccount();
const { data: profiles } = useSocialProfiles({
client,
address: account?.address,
});
return (
<div className="flex flex-col gap-4">
{profiles?.map((profile) => (
<ProfileCard
avatar={resolveScheme(profile.avatar)}
name={profile.name}
type={profile.type}
bio={profile.bio}
/>
))}
</div>
);
}
No profiles found.