Skip to content

tafseerahmed/Auto-Tinder

Repository files navigation

AutoTinder

Python based Tinder automation script, created to solve mankind's most important need.
Includes: Tinder Data Creation Tool, Automation script.

Automation Process Log:

I created the tool using the Tinder API, PyQt5 and some other libraries like pandas. The generated data was an actual representation of final data sample in this case. However, initially my data was about 500 images and highly imbalanced (Roughly 380 likes). So, I generated about 1500 images and it turns out I had a lot of dislikes later on in these images, ultimately balancing the dataset. Now I connected the labeled images to Azure's CustomVision platform because right off the bat I can use their transfer learning model (General) and get prediction API URL. I wrote the autotinder.py script to direct the image URL from the Tinder API's recommendation call to CustomVision's Prediction API call and got a like or dislike response. I then used the Tinder API to register the like/dislike call. But I was not done yet, this could be automated even more. Instead of me running the script manually every 12 hours or so, wouldn't it be great if the script ran automatically after every 12 hours (time taken to regenerate likes). I was able to achieve this through Azure's WebJobs. This was a little bit tricky as I had to bundle the required libraries with the script.

Azure's CustomVision Results

image There were a lot of images where it was borderline like/dislike, on top of that group selfies made it even more problematic and the good old useless images of animals and memes had to be disliked. Their general Model doesn't specifically recognize faces, which in addition to the previously mentioned reasons explains the results.

Azure Webjobs automation ScreenCaptures

image image image

Programs Used

Dependencies

  • python 3.6
  • requests
  • robobrowser
  • BeautifulSoup4
  • lxml
  • PyQt5

Running AutoTinder

$ python main.py

Running AutoTinder Data Creation Tool

$ python tindertool.py

Instructions

  • Login with your Facebook Credentials
  • Select on Generate Data Tab and select preferences.
  • Click on Generate Data as many times as you wish before you get rate limited or wipe the data of your locality.
  • Click on Label Data and have fun labeling image image

Future Work

Train on VGG-Face Model to get better results.

Credits

About

Automating Tinder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages