Sends a random image from an Imgur album to a Facebook friend, using the fbchat module.
A Python script that sends images from a chosen Imgur gallery to Facebook friends, while keeping track of what is sent to each person to prevent repetition.
- Change image_gallery to your Imgur gallery of choice, fb_username and fb_password to your Facebook username and password.
- Run the script and input the full name of the person to send an image to and the number of images you wish to send.
The pickle module creates a file "image_sender_storage" that stores each person that images have been sent to, and what has been sent.