Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how facebook notifications work?

I want to understand how facebook notifications work. When someone like your posts, comments, send message, etc, facebook sends a notification as soon as the event done. I want to know if there is any server side script or events fired when users hit like button, posts, send messages, etc. I need to know how to implement something like that using jquery and php to use on my wbsite.

like image 352
Mohamed Nagy Avatar asked Feb 15 '12 17:02

Mohamed Nagy


People also ask

How does Facebook notification system work?

Push notifications on Facebook are the alerts you receive when your phone is locked or when you aren't actively browsing Facebook. Think of a Facebook push notification as an alert that pushes through the closed app to make you aware of any Facebook activities that may interest you.

What happens when you turn on notifications on Facebook?

When you turn on notifications, you'll get updates each time that person or Page posts something shared with you.

Do you get a notification when someone looks at your Facebook?

No, Facebook doesn't let people track who views their profile. Third-party apps also can't provide this functionality. If you come across an app that claims to offer this ability, please report the app. Was this helpful?

Why do I get notifications on Facebook when someone posts something?

If you comment on a post, post notifications will automatically be turned on. If you turn on notifications for a post, you'll get notified whenever someone comments on the post. You won't get notified when someone replies to a comment. Go to the post that you'd like to turn notifications on or off.


1 Answers

It's done using push events: http://en.wikipedia.org/wiki/Push_technology

like image 167
ChrisW Avatar answered Sep 29 '22 23:09

ChrisW