How to set up push notifications for FA
9 years ago
I've never posted this here before, but I'm trying to make my FA profile a bit less empty, so... why not?
If you have Pushbullet and the ability to run Python code somewhere, then you can use this script I threw together to receive notifications about notes, journals, comments, favourites and other events: https://gist.github.com/Treeki/006a.....d2f6e07213aa51
It just checks FA's Messages page every few minutes for you and fires off a notification to the Pushbullet API. If you're adept with Python, you could even hack up the Notifier.pushbullet_message() and Notifier.pushbullet_note() methods to send notifications through a different service (or even just as emails or something like that) -- they're quite simple and all the ugly HTML scraping logic is kept safely elsewhere.
Note that you will need to extract your FA login cookies from an active browser session and add them to config.json in order to allow the script to access your notifications.
It currently works with the FA Classic and Beta templates, but be warned that changes to the Beta HTML may break the scraping logic and require the script to be updated.
If you have Pushbullet and the ability to run Python code somewhere, then you can use this script I threw together to receive notifications about notes, journals, comments, favourites and other events: https://gist.github.com/Treeki/006a.....d2f6e07213aa51
It just checks FA's Messages page every few minutes for you and fires off a notification to the Pushbullet API. If you're adept with Python, you could even hack up the Notifier.pushbullet_message() and Notifier.pushbullet_note() methods to send notifications through a different service (or even just as emails or something like that) -- they're quite simple and all the ugly HTML scraping logic is kept safely elsewhere.
Note that you will need to extract your FA login cookies from an active browser session and add them to config.json in order to allow the script to access your notifications.
It currently works with the FA Classic and Beta templates, but be warned that changes to the Beta HTML may break the scraping logic and require the script to be updated.
And by "ability to run Python code somewhere" What do you mean? A plugin? Locally? Some server?
Thanks