Answer the question
In order to leave comments, you need to log in
How is the social media feed loaded?
How is the news feed loaded in social networks at the moment when the user is at the end of this feed?
What event fires and how is it implemented?
Vkontakte, twitter etc.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Event - obviously, scroll, or a simple click on the "Show more" button, loading itself via an AJAX request, there is a usual pagination, each time the page number increases by the number of elements on the page, then the response is either parsed (JSON) or is directly added to the document (HTML), the sniffer and the JS source code will answer you in more detail, the pattern itself in the design is called Load more and there are even ready-made libraries.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question