Tinder bot controlled through a Discord server
Run gradle fatJar
https://www.mkyong.com/gradle/gradle-create-a-jar-file-with-dependencies/
In the root directory for the compiled jar file you need a settings.json file.
The settings.json allows you to set roles and default channels (all channels other than "match channels" needs to be defined in this array).
Default settings.json is:
{
"bot_token": "",
"google_api_key": "",
"language": "en",
"facebook_email": "",
"facebook_password": "",
"autologin": true,
"facebook_auth": null,
"facebook_id": "",
"xauth": "",
"cache_path": "cache.json",
"pullrate": 10000,
"prefix":"🔥",
"notifications_channel": "",
"swipe_channel": "",
"do_not_delete_channels": [""],
"messenger_role": "",
"system_color": "#ffffff",
"default_hook_image":"https://s3.amazonaws.com/wll-community-production/images/no-avatar.png",
"default_match_color": "#78b159",
"default_match_thumb": "http://emojipedia-us.s3.amazonaws.com/cache/16/22/1622b595a25ee401f56aa047cd4520eb.png",
"super_match_color": "#01b6cb",
"super_match_thumb": "http://pre01.deviantart.net/db85/th/pre/i/2016/295/b/0/tinder_super_like_star_by_topher147-dalwd0y.png",
"unmatch_match_color": "#d55a70",
"unmatch_match_thumb": "http://emojipedia-us.s3.amazonaws.com/cache/51/3a/513a734baf098ead6eb961f8d4092fc3.png",
"unmatch_match_color_imc": "#e73945",
"unmatch_match_title_imc": "Unmatched",
"unmatch_match_desc_imc": "aw nuts...",
"unmatch_match_image_imc": "http://i.imgur.com/pAi00xj.png"
}
please keep in mind that these settings are not sanitized in any way, you will break your bot if you supply it with illegal characters
In order for the bot to work at a minimum:
bot_tokenneeds to be filled out.notifications_channelneeds to be filled out.do_not_delete_channelsneeds to contain thenotifications_channelmessenger_roleneeds to be filled out (can be @everyone's ID).
All commands can be invoked by 🔥(:fire:) as a prefix (can be changed in settings)
🔥 start
this command will start the bot.
🔥 my roles
whispers you with your roles and role_ids for the server (useful for developing since there is no other way to get a roles id)
🔥 supply facebook_id <facebook id>
facebook id for the controlled tinder account
🔥 supply auth_token <facebook auth_token>
facebook oauth2 token for tinder, you can find your token HERE (look for an AJAX POST confirm?dpr=x.xx ↳ jsmods ↳ require ↳ 0 ↳ 3 ↳ 0 ↳ access_token=)
🔥 facebook email <email>
supplies the bot with attached email for Tinder-account's Facebook account.
🔥 facebook password <password>
supplies the bot with attached password for Tinder-account's Facebook account.
🔥 supply xauth <tinder xauth-token>
allows you to skip supplying facebook id and facebook auth_token
🔥 purge <number>
deletes messages in the chat based on number given
🔥 remove chats
removes generated chats.
🔥 swipe once [right|left]
swipes once on a random recommendation from Tinder
🔥 swipe all
gets all recommendations from Tinder and swipes right. (will react with X when out of likes)
🔥 organize
organizes all text-channels lexicographically (default_channels remain at the top) (this will be done automatically when new matches are found)
🔥 unmatch all
removes all matches for the Tinder account
🔥 unmatch
unmatches the the channel's respective user
🔥 set address <any place on earth>
request lat and lon from Google Maps and updates the position for your Tinder account
🔥 reload settings
reloads the settings.json file
🔥 save settings
saves the settings.json file
🔥 swipe here
marks the respective channel as the swipe_channel and will start a manual swipe at that channel
The tinder JSON format will look something like this
{"matches": [
{
"_id": "52b0a7034d589899bc68bd52b8034d58a00034034d58999bc68bd",
"closed": false,
"common_friend_count": 0,
"common_like_count": 0,
"created_date": "2017-02-08T15:49:48.781Z",
"dead": false,
"last_activity_date": "2017-02-08T17:17:01.038Z",
"message_count": 0,
"messages": [
{
"_id": "52b8034d58989c13a00034034d59bc68bd",
"match_id": "52b0a7034d589899bc68bd52b8034d58a00034034d58999bc68bd",
"to": "52b8adc4bbe0ccc13a00034d",
"from": "58989939dca7aec30abc68bd",
"message": "Hey",
"sent_date": "2017-02-08T17:17:01.038Z",
"created_date": "2017-02-08T17:17:01.038Z",
"timestamp": 1486574221038,
"isolate": true
}
],
"muted": false,
"participants": [
"52b8adc4bbe0ccc13a00034d"
],
"pending": false,
"is_super_like": false,
"is_boost_match": false,
"following": true,
"following_moments": true,
"id": "52b8034d58989c13a00034034d59bc68bd",
"person": {
"_id": "52b8adc4bbe0ccc13a00034d",
"badges": [],
"bio": "...",
"birth_date": "1994-02-11T21:21:56.395Z",
"gender": 0,
"name": "Peter",
"ping_time": "2017-02-08T17:05:54.217Z",
"photos": []
}
}
]
}For more information check out Tinder API documentation by Rich T.
-
Step 1. download or clone the project.
-
Step 2. compile the project.
-
Step 3. add the bot to your guild with
https://discordapp.com/api/oauth2/authorize?client_id=<YOUR ID HERE>&scope=bot&permissions=0(fill out your own bot's client id) -
Step 4. run the .jar file with
java -jar Tindava*.jar -
Step 5. message the bot with an ID and token from Facebook as described here
-
Step 6. message the bot with this exact line
🔥 start -
Step 7. The bot should now login and connect to Tinder, it will start to fill your server with all your previous matches and messages if this is not a new account
