BuddyDev

Search

Randomize Activity Feed

  • Participant
    Level: Initiated
    Posts: 11
    Roni Gabriel on #34558

    Not sure if there is a snippet code to make this happen, but if not maybe you can help me.

    Scenario: On the activity feed when a user posts 10 posts in a row, it shows up just that way. This can be discouraging for other users who don’t desire to see all 10 posts in a row on the activity feed, just to get to the next friends post.

    Is it possible to make the activity feed more random and spread out the 10 posts randomly throughout the feed?

    Make sense? I think it sounds like a great feature, as I believe this is how Facebook works.

    Please let me know if this is possible with a code snippet and can you provide it?

    Thank you very much.

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #34587

    Hi Roni,Thank you for the question.

    This is not feasible with current BuddyPress setup. Facebook has a massive infrastructure for calculating feed on demand which is not feasible with the basic mysql used by BuddyPress.

    If you need it, you will most probably need to write your own feed/stream builder using some kind of pub/sub system on top of database.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    Herimanana on #44341

    Hello !
    how about now ?

    Cordialy

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #44360

    Hi Herimanana,
    Welcome to the BuddyDev support forums.

    I don’t see any proper way to do it.

    You may randomize but then you will need to track that the same activities should not be shown repeatedly on load more. Also, if the randomness is enabled, you may want to maintain the freshness of the stream somehow. This is doable but we don’t have enough resource or interest in it in currently.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 2
    Avi Nayar on #53585

    How about now? I think any social media website needs at least some sort of randomness/feed like all of the popular ones today. Tiktok and Instagram show you something new that you would be interested in on every refresh. There must be some way to make it like when you refresh it shows you a [random] post from a group you are apart of rather than the most recent post from the whole website. This would be beneficial to many people and the BuddyDev team as they could market it as a starting social media feed. Please let me know of your thoughts!

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #53595

    Hi Avi,
    Thank you for the post.
    I have replied in another thread with my feedback.
    https://buddydev.com/support/forums/topic/social-media-like-activity-feed/

    Regards
    Brajesh

The topic ‘Randomize Activity Feed’ is closed to new replies.

This topic is: not resolved