Skip to content

sudeeshr/fb_notification

Repository files navigation

fb_notification

facebook like notification using php and jquery

clone this repo in your web root dir eg: /var/www/html/, then access- http://localhost/fb_notification using a web browser

mechanism

index.php uses notification.js which has a function named CheckUpdates(), this function makes ajax call to ajax/notifications.php.

notifications.php then gets last 10 notifications ordered by timestamp and prepares html to display notifications in proper format.

alt tag

function CheckUpdates() is called on load and then every 10 secs using setInterval(CheckUpdates, 10000)

About

facebook like notification using php and jquery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published