I want to build Tiktok comments functionality, where users can tag other users in the input field with @ symbol.
I tried to make it work with weweb ai, but having quite the issues with it.
How do I make this work?
Mario
I want to build Tiktok comments functionality, where users can tag other users in the input field with @ symbol.
I tried to make it work with weweb ai, but having quite the issues with it.
How do I make this work?
Mario
Hi Mario, welcome to the community
Mention systems like the one you described (with @username
tagging) are definitely possible to build in WeWeb, but they do require a solid backend setup and some advanced logic.
If you’re using Supabase, you’ll need:
• A users table with unique usernames
• A way to detect the @
trigger as users type (usually with custom JS or a rich text input)
• Logic to suggest matching usernames (using a search query to your backend)
• On submission, you’ll want to parse and store both the comment text and the tagged user references, depending on how you structure your data
WeWeb AI might help with scaffolding parts of this, but this kind of feature involves multiple layers, frontend interaction, backend querying, and data modeling.
Hi, @mario !
Depending on what you need as functionality, I did implement this in a project using the Rich text input field that comes with weweb. There’s an option to turn on mention! It’s not as fancy as a custom build - but, maybe for the first iteration this can work for you?