User Activity Feed Implementation
Hey!
First of all, this is a really awesome product. Awesome work!
I am currently in the R&D phase of potentially implementing the suite of tools. I have evaluated the Novu to integrate the following:
- In App User notifications (Friend Requests, Challenge Invites, etc...) ✅
- Email Events for account utilities (Email confirmation, Password Reset) ✅
- Email Marketing and Feature Updates ✅
- Discord Bot Message Integration ❔
- In App Activity feeds scoped by types ❔
The one I am particularly curious to get your opinions on is the last integration: "In App Activity Feed". For some context, my application allows users to create challenges and compete against each other in a wide range of videogame challenges. To make the app more dynamic and fun, we have activity feeds implemented throughout the application. As of right now, I implemented the activity feed service myself but I am wondering if Novu has the capablilities to do the following:
1. On the Home Page, we have a "Global Activity Feed":
- This has events from every user and challenge, things like:
-- Challenge Creation
-- User Played a Game
-- Challenge Winners
-- User Achievement Updates
(Screenshot #1)
2. User Profile Activity Feed
- Similar to the Home page activity feed (Same entity) but just for a particular user
(Screenshot #2)
3. Challenge Specific Activity
- Same entity but has both a user attrivute and a challenge attribute.
- Therefor the challenge page only shows the activity from that challenge
4. Friend Activity
- When a user is logged in, similar to the global home activity feed, I can filter the feed by only my friends activity.
Is this something that is possible to do with the current version of Novu? I am planning on moving my notifications over to the platform but I am not sure if it can also accomplish this use case.
Thanks in advance for your help!
7 Replies
Would still appreciate some help on this one 🙂
Hi @fredlyfire
--> Are you looking for two way communication with discord bot? like when someone tags discord bot, discord bot will reply?
Is Global Activity Feed will be accessible even if user has not logged in into your product?
So for the discord bot I am actually all set on. I am more looking for advice on the activity feed.
- Yes, for global activity, it is available for all who can access the site.
User Profile Activity Feed, Challenge Specific Activity, Friend Activity
Will be accessible only if user is logged in?
for global activity feed you will have to use this api
https://docs.novu.co/api-reference/messages/get-messages
for other activity feed you can use our react notification center with hooks
because in other activity feed user will be logged in
You will be able to filter using payload info
I think for now I am going to stick with managing the activity feed on my backend and DB. For notifications, I will be using Novu however
so you will be saving every in-app notification sent by novu in your db also
No. So the notifications are actually a separate entity in our current DB. There are some potential duplications where I send out both a notif and create an activity. For example when a user wins a challenge, I will send a notification and I will also create an activity to show on the global feed and the players profile. So for now I would point the notification creation to the Novu API and keep activities on our DB