SOCIAL ยท STABLE
One address book, every Bazaar app.
Find people by handle, keep contacts, request connections. The contacts belong to the user and come along into every Bazaar app, so your social app isn't empty on day one.
Ana's contacts one list, every app
Sam connected
Lee contact
@ben found by handle
FIND Look people up by handle Get a user by ID or handle and see their public name and handle.
KEEP Contacts that follow the user A user adds someone once and finds them again in every Bazaar app.
CONNECT Connections for what's private An accepted connection shares details that aren't public, such as an email address.
Pick a person, then share with them.
The people picker runs in a popup on Bazaar. It hands your app the ID the user picked, ready for a grant.
const ana = await bzr.social.getUser({ handle: "ana" }) const contacts = await bzr.social.contacts.list()
// let the user pick someone, then share with them bzr.social.openPopup((userId) => { bzr.permissions.create({ collectionName: "lists", granteeType: GranteeType.USER, granteeId: userId, types: [PermissionType.READ], }) })
Contacts stay live Subscribe to the user's contacts and your list updates when they add someone.
Managed in one place Users find people and manage contacts in a popup on Bazaar or in their dashboard, not in every app.
A contact is a grantee A contact's user ID goes straight into a grant, so sharing with a friend is one more call.
What social can't do yet.
A big network The network is small today. Your first users may not find their friends here yet.
Feeds and followers There's no built-in feed or follower graph. Apps like Buzz build them from collections and grants.
Strangers' email addresses Without an accepted connection you get a name and a handle, no email address.