+1

Adding only followed images?

Im using ASP.NET Webforms to make my web programming project, im trying to clone Instagram. The issue is that I want to show the images of only that user to which a user has followed, and dont show them if they are unfollowed. The images will be displayed on a timeline (like the one in Instagram). How can I do this? Answers are highly appreciated. Thanks

4/9/2019 2:01:42 PM

Usama Zafar

1 Answer

New Answer

0

You must have a database with the table of images. Every image Id is corresponding to user Id. In other table you would have user followers. So just take the IDs of images of the followers and show them. I don't know how you keep your images, but information about them must be in that table of images. You can use mongo and grid for example.