Hey guys. I am building a social app. I have an issue where 1) I don’t know how to code so I can’t code an algorithm myself, and 2) Sorting user content in repeating groups can get really monotone when the only sorting options are by creation date, random sorting, last modified, most liked one, so on. I want posts to show more when the engagement is higher, similar to what instagram does.
So this is my idea for a basic algorithm in bubble, tell me if you have suggestions, alternatives, or if you think this may work.
-
Posts have a data field called “points” of type integer. I create a repeating group (the feed) with posts sorted randomly. So you will get posts at random regardless of creation date, likes, or whatever. Now. Whenever an user clicks on a post, and stays there for at least x amount of seconds, I will add a point to that individual post. This would mean the user was engaged.
-
On another repeating group (feed) in a different page, the posts shown are sorted by points and would only show posts from the last 7 days (7 days just to keep things in the app fresh, no specific reason in terms of the algorithm).
Any thoughts or opinions, or suggestions on this “algorithm”? I’m just hoping to create a little more variety and I also want content shown to reflect user engagement a little more since the sorting options can be really monotone as I said. I’m also not sure if the random sorting would get the job done. I know there’s no such thing as truly random. But. Could it be random enough to pull off something like this where certain posts wouldn’t be significantly favored in being shown too much to users hence gaining a significantly unfair amount of points?