Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ritechoice23's avatar

How to create activity feeds?

I need suggestions on a project I'm currently working on.

The project is a social networking site that will have a forum, store and others.

I need ideas on how to generate a Facebook type of activity feeds also should I use SPA or MPA.

I'm using laravel for my backend. Thanks for your response.

0 likes
2 replies
sam_bennett's avatar

Facebook activity feed is essentially an SPA. They send JSON to the front and the front-end builds the feed up. Using something like Vue JS you can make the content dynamically update. For the rest of the site you could do it as a full SPA although I do believe some of FB is MPA.

ritechoice23's avatar

Thanks so much, I really appreciate your response. The site will have a discussion forums, blog and some other modules.

My question is how can I generate a feed like that of Facebook or Twitter for all sites activity.

For instance when a forum post, blog post, status update is made, people following the creator can see the feed

Please or to participate in this conversation.