Can I know what is the javascript code in the "View More" tab of the newsfeed so that I can tweak it to load older posts automatically once the user has reached the bottom of the page.
I had found the following piece of code that registers whether a user is at the bottom of the page
$(document).ready(function() {$(window).scroll(function() {if($(window).scrollTop() + $(window).height() == $(document).height()) {/*The "View More" javascript here*/;}});});
Am I doing this right?