Overview
The Social Feed API provides social networking features including following customers and stores, activity feeds, product interactions, and social discovery. The feed respects privacy settings - private accounts only show content to followers. Location:convex/customers/feed.ts
Privacy Controls
The feed system respects customer privacy settings:- Private accounts (default): Content only visible to followers
- Public accounts: Content visible to all users
- Users can always see their own content regardless of privacy settings
Follow Customer
Customer doing the following
Customer to follow
Follow Store
Customer following the store
Store to follow
Like Product
Product to like
Customer ID
Get Feed
Retrieve personalized activity feed for a customer. The feed respects privacy settings and only shows content the user is authorized to see.Customer ID (must be authenticated user)
Pagination options
Feed Content Types
The feed includes these activity types (filtered by privacy):- Price Updates: From followed stores and on liked products
- Product Likes: From followed customers (only if you also like the product)
- Product Shares: From followed customers
- Direct Shares: Shared directly to you (always visible regardless of privacy)
- New Products: From followed stores
Social feed includes activity from followed customers and stores with real-time updates. Privacy-restricted content is automatically filtered out.
