Sharing favorites
WallWidgy lets you share your favorites collection with others using shareable links. Anyone with the link can view your curated collection.How sharing works
When you share your favorites:- Your favorites are accessible via your username
- Anyone can view your collection at
/share/[username] - Your profile information is displayed (name, avatar)
- Visitors can browse your favorites in the standard grid
- Your favorites remain synced with your account
Favorites are stored in Clerk’s public metadata, making them accessible to anyone who knows your username. Consider this when favoriting wallpapers.
Sharing your collection
Viewing shared collections
When someone shares their favorites with you:Share page features
The share page displays:User profile
Display name, username, and profile picture from Clerk
Favorites count
Total number of wallpapers in the collection
Wallpaper grid
Standard WallpaperGrid with all browsing features
Loading states
Loading indicators and error handling for missing users
API endpoint
The share page uses the public API endpoint:Privacy considerations
Be aware that:- Anyone can view your favorites if they know your username
- Favorites are visible on the share page without authentication
- Changes to your favorites are immediately reflected
- There’s no way to hide or protect your favorites list
Error handling
The share page handles various error states:User not found
User not found
Displays “User not found” message when the username doesn’t exist
No favorites
No favorites
Shows empty state when user has no favorites yet
Loading error
Loading error
Displays “Failed to load favorites” if the API request fails
Building on sharing
You can use the favorites API to build:Community features
- Curated collections from power users
- Featured favorites on a landing page
- User galleries and portfolios
Discovery features
- Similar users based on overlapping favorites
- Popular wallpapers across all users
- Trending favorites over time
Social features
- Follow other users’ collections
- Notifications for new favorites from followed users
- Comments or likes on shared collections
Example implementation
Fetch and display a user’s favorites:See also
- Favorites feature - Learn about the favorites system
- GET /api/favorites/[username] - API documentation
- Favorites management - Managing your own favorites