Hey all,
I am having a problem updating new posts to ALL users.
What I want:
Something similar to what facebook has: users makes a post,
and ALL users reading that page get new post to top of posts.
What I have:
I am using ajax and php. User makes a new post and the new post is
shown for user MAKING the post, but anybody else that is viewing
the same page does not get the updated page with new post (unless
they refresh the page, but I don't want the users to have to refresh
page).
How can I or what approach should I take so that when a user makes a post, ALL USERS viewing that page will see the new post? I already have the page for the original poster getting the update, just need everybody else to also be able to see new posts.
Thanks.