LED notifications for Gmail, Twitter and Facebook

Posted in boblight, Raspberry Pi
  • Clovis Perreault

    Awesome! I will try it.

  • Andy Grant

    Hey, I’m getting an error message when using the .updated function that looks like this: http://i1194.photobucket.com/albums/aa378/Gorgoth117/2014-05-23151423.jpg

    Is it that the function no longer works or is it more likely that I’ve made a mistake?

    • Andy Grant

      Actually I isolated the code and it only gives an error for the twitter rss feed.

  • Vivek Soni

    I am also having this KeyError posted by Mr. Andy Grant. Is there any way for LinkedIn also ?

    • brendan

      Yeah it’s broken because Twitter have changed their API. You now need to create a custom app, grant access to it and set up authentication etc. Not worth the effort imo.

      You could possibly look at using https://ifttt.com/ to check twitter or linkedin for updates and then forward them to a certain email address which autolabels them based on keywords. Then use the above python to check the individual labels in your gmail account. e.g You setup a “Linkedin” label in gmail, you then use this URL to check it https://mail.google.com/mail/feed/atom/Linkedin

      Hope that helps.

      • Vivek Soni

        But IFTTT has some limited “Actions” which are of no use for me.. If I have to do like that , then I can simply use gmail notifications by activating mail notifications on facebook,twitter,linkedin, anything and everything.
        Thanx for the suggestion. 🙂

  • Shadow Knight

    question – could i have it blink everytime a particular person’s name shows up on my feed. I wouldnt want it forevery RSS update on my facebook feed – just when 1 particular person post anything

    • brendan

      I guess you could do that, you’d need to parse the RSS feed and look for the name.

      • Shadow Knight

        Anyway you can help me with the code for that 😉

      • Shadow Knight

        actually trying to get the facebook RSS to work – seems that they broke the RSS too – it now requires a user and a key – thoughts?