Technical Blog

Facebook Nofitications in GMail

Posted on

This script now integrates properly with both GMail and Google Reader. Reinstall and enjoy πŸ™‚

“What?” you say, “You don’t use Facebook, Stephen, you’re so cool and geeky!” Ah, but unfortunately not all of my friends are, and I have been drawn in to the service. Mind you, I don’t spend hours reading the profiles of people I don’t know πŸ˜‰ I do use it, however.

There’s one thing I’ve always hated about Facebook — the notifications system. Many too many emails flooding my inbox about what is happening, either that or I have to check the site regularly. No RSS on the things you actually want notifications of. Worst of all messages, the one thing you REALLY need notification of, won’t even send you an email.

The ‘official’ solution is to install the Facebook toolbar. I tried it, it’s nice, but I don’t use the service enough to warrant that screen real-estate OR that memory usage.

My solution is a Greasemonkey script. It integrates notifications of messages, group invites, event invites, and friend requests into the side of your GMail view. Install the script, go to GMail, click the Facebook logo and log in. For best results, check the ‘remember me’ checkbox (funny, you can’t have it remember you for logging in to the site, but for a third-party script you can…). Go back to your GMail and click the link that appeared where the Facebook logo used to be. Voila. If you checked the box, next time you go to GMail it should just display the notifications without intervention from yourself.

Die email notifications! entry

14 Responses

Aditya β€’

Interesting use of the API… integrating it with GMail is a good idea. But not everyone uses GMail’s web-interface (for eg.: me :P). However, something that a lot of people use (and your FeedBurner stats will confirm this) is Google Reader.

Also, it makes sense to keep all your ‘internet’ updates in one place πŸ™‚ So, maybe you could tweak it to work with that? Or maybe generate an RSS which one could subscribe to in GReader?

Just my two cents…

Aditya β€’

Now I get this … “facebook_gmail_stuff_container.gmail_facebook_fb has no properties” πŸ™

dexter β€’

sadly this no longer works with the new gmail interface… any fixes forseen?

Leave a Response