Like every girl on Tinder in the 100 largest cities in the US
Ruby HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
sekrets
vendor/assets
.env
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Tinder Across America

This app moves my current location to each of the top 100 cities in the US and likes every girl on Tinder within a 100 miles radius of the city center. It records some info about each like in a postgres database for future analysis.

Setup

First clone the app to your local: git clone git@github.com:mattleonard/tinder_across_america.git

Change into the directory: cd tinder_across_america/

Follow the instructions on how to succesffuly grab your facebook token and id for the Tinder API below:

Once you have the facebook token and id, encrypt them in you ciphertext file

  • Delete the existing file /sekrets/ciphertext
  • Generate encryption key rake sekrets:generate:key
  • Generate sekrets file rake sekrets:generate:editor
  • Open up ciphertext file ./sekrets/editor

Put the following into the cipertext file

:facebook_token: YOUR_FACEBOOK_TOKEN
:facebooke_id:   YOUR_FACEBOOK_ID

Also run rake db:seed to fill the database with all 100 locations. To add more locations, just enter the city and state. The coordinates with be populated automatically using the geocode gem

Running the task

To like every girl in top 100 largest cities in the USA run: rake tinder:like_all

Current Problems

  • I believe I need to slow down the time in between cities because Tinder is sending back the error major position change not significant even though locations change to other site of the country. May need to delay every change of location request by a couple hours. Will probably switch to sidekick and schedule jobs.