LazyBook | Facebook Automated Birthday Wisher and Data Collection Tool
kandi X-RAY | LazyBook Summary
kandi X-RAY | LazyBook Summary
LazyBook is a Python library. LazyBook has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.
LazyBook is an automated Facebook birthday wisher and data collection tool written in Python 2.7. It utilizes your Facebook login credentials to collect information from your friends' profiles via web scraping. While I originally intended to leverage Facebook's API to collect this information, this functionality was depreciated from Facebook's graph API in 2014. Ever since I was a young boy, I wanted my friends to realize how much I care and treasure our friendship. Last year with the power and utility of an introduction to data structures class under my belt, I set off to help my 800+ Facebook friends realize the depths of our friendship by automatically wishing them a happy birthday. Much to my chagrin, Stack Overflow said this task was impossible - BASH scripts previously written using Facebook's API no longer worked. But I've always preferred to see no or "that's impossible" as a challenge rather than an answer. During my journey to develop an automated Facebook birthday wisher, I realized that we can accomplish so much more than simply wishing people a happy birthday. For example, the getSingle.py file collects a list of your friends who list single as their relationship status. unfriendCheck.py compiles a list of friends who you are no longer friends with (updated each month). I encourage you to expand on the examples I provide and open pull requests with your contributions. After all, we're all in need of a poke-war bot.
LazyBook is an automated Facebook birthday wisher and data collection tool written in Python 2.7. It utilizes your Facebook login credentials to collect information from your friends' profiles via web scraping. While I originally intended to leverage Facebook's API to collect this information, this functionality was depreciated from Facebook's graph API in 2014. Ever since I was a young boy, I wanted my friends to realize how much I care and treasure our friendship. Last year with the power and utility of an introduction to data structures class under my belt, I set off to help my 800+ Facebook friends realize the depths of our friendship by automatically wishing them a happy birthday. Much to my chagrin, Stack Overflow said this task was impossible - BASH scripts previously written using Facebook's API no longer worked. But I've always preferred to see no or "that's impossible" as a challenge rather than an answer. During my journey to develop an automated Facebook birthday wisher, I realized that we can accomplish so much more than simply wishing people a happy birthday. For example, the getSingle.py file collects a list of your friends who list single as their relationship status. unfriendCheck.py compiles a list of friends who you are no longer friends with (updated each month). I encourage you to expand on the examples I provide and open pull requests with your contributions. After all, we're all in need of a poke-war bot.
Support
Quality
Security
License
Reuse
Support
LazyBook has a low active ecosystem.
It has 6 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
LazyBook has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of LazyBook is current.
Quality
LazyBook has no bugs reported.
Security
LazyBook has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
LazyBook is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
LazyBook releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed LazyBook and discovered the below as its top functions. This is intended to give you an instant insight into LazyBook implemented functionality, and help decide if they suit your requirements.
- Combine birthday dates .
- Get a listing of our friends .
- Combine Facebook friends .
- Extract birthdays from friends dict
- Create a session .
- Get a list of all friends from a string
- Check the existence of the friends list
- get friends list
- Create a bunch of birthday wishes .
Get all kandi verified functions for this library.
LazyBook Key Features
No Key Features are available at this moment for LazyBook.
LazyBook Examples and Code Snippets
No Code Snippets are available at this moment for LazyBook.
Community Discussions
No Community Discussions are available at this moment for LazyBook.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install LazyBook
This script is fairly straight forward - all it requires is the installation of several common python libraries (Beautiful Soup, etc.) each of which can be installed with a single line in your terminal. I've also included the code to set up a scheduled task: all you need to do is load and launch it. Lastly, I apologize for only including a tutorial macOS. A windows tutorial is on my TODO list, and if you're running a linux OS, then you probably don't need a tutorial anyway.
Open org.lazybook.birthday.plist in your favorite text editor and change "YOUR_USERNAME_HERE" to your mac user account name (the one that appears when you type in echo $USER or whoami in your terminal.
Copy org.lazybook.birthday.plist
Navigate to ~Library/LaunchAgents/ in finder (this may require to unhide the Library folder in your settings)
Paste org.lazybook.birthday.plist into this directory
Open your terminal and navigate to ~/Library/LaunchAgents
Load your script into the macOS task scheduler by typing "launchctl load ~/Library/LaunchAgents/org.lazybook.birthday.plist" in your terminal
Start your script by typing "launchctl start org.lazybook.birthday" into the terminal
After step 6, the task scheduler will immediately wish your friends a happy birthday, and then once again every 24 hours until you stop it
You can view the status of your task by typing launchctl list | grep birthday
To stop the automated task (and thereby the python script from running), navigate to ~Library/LaunchAgents/ in your terminal and type launchctl remove org.lazybook.birthday
Helpful Resource for starting tasks
Helpful Resource for stopping tasks
Open org.lazybook.birthday.plist in your favorite text editor and change "YOUR_USERNAME_HERE" to your mac user account name (the one that appears when you type in echo $USER or whoami in your terminal.
Copy org.lazybook.birthday.plist
Navigate to ~Library/LaunchAgents/ in finder (this may require to unhide the Library folder in your settings)
Paste org.lazybook.birthday.plist into this directory
Open your terminal and navigate to ~/Library/LaunchAgents
Load your script into the macOS task scheduler by typing "launchctl load ~/Library/LaunchAgents/org.lazybook.birthday.plist" in your terminal
Start your script by typing "launchctl start org.lazybook.birthday" into the terminal
After step 6, the task scheduler will immediately wish your friends a happy birthday, and then once again every 24 hours until you stop it
You can view the status of your task by typing launchctl list | grep birthday
To stop the automated task (and thereby the python script from running), navigate to ~Library/LaunchAgents/ in your terminal and type launchctl remove org.lazybook.birthday
Helpful Resource for starting tasks
Helpful Resource for stopping tasks
Support
N/A so far
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page