Live update for post and comments like facebook

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarah aziz
    New Member
    • Sep 2007
    • 31

    Live update for post and comments like facebook

    Hello guys,
    i found this great post http://www.99points.in fo/2010/07/facebook-style-wallpost-and-comments-system-using-jquery-ajax-and-php-reloaded/
    It is about post and comments like on facebook, the only problem is that i want to implement live update so that it updates automatically to other user, how could i do something like. Can anyone help me please.
    Note: Put in mind i need to keep 2 ids (post , post comment)
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Basically, you use the JavaScript function setInterval() to call an AJAX function every so often to check for updates.

    Comment

    • sarah aziz
      New Member
      • Sep 2007
      • 31

      #3
      Thank Rabbit for your reply. I know this part but i was hoping to know how to do on 2 level , because it is a post and it it's comment

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        I don't know what you mean by 2 levels. I know what a post is and what a comment is. But I don't know this 2 level is supposed to mean.

        Comment

        • sarah aziz
          New Member
          • Sep 2007
          • 31

          #5
          Can u further explain your solution? How to do it

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            There is no solution because I don't know what your question is.

            Comment

            Working...