tinderbot icon indicating copy to clipboard operation
tinderbot copied to clipboard

I am not getting the otp on my phone

Open ramola106 opened this issue 4 years ago • 3 comments

I run in debug mode The response is send_otp_code : {'meta': {'status': 200}, 'data': {'otp_length': 6, 'sms_sent': False}}

ramola106 avatar Jul 21 '20 07:07 ramola106

Same I run phone_auth_token.py and SMS doesn't work

DioLorenzo avatar Jul 23 '20 22:07 DioLorenzo

was able to pass the original issue of not being able to acquire OTP to send:

from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import os

def send_otp_code(phone_number): data = {'phone_number': phone_number} bot = webdriver.Chrome(chromeDriver) # get tinder page bot.get('https://tinder.com/') #pause for 3 seconds to let everything load up time.sleep(3) #find the login button and click it bot.find_element_by_xpath('//[@id="content"]/div/div[1]/div/main/div[1]/div/div/header/div[1]/div[2]/div/button').click() time.sleep(3) # click login in by phone bot.find_element_by_xpath('//[@id="modal-manager"]/div/div/div[1]/div/div[3]/span/div[3]/button').click() time.sleep(3) #grabs the class name of the email box email = bot.find_element_by_xpath('//*[@id="modal-manager"]/div/div/div[1]/div[2]/div/input') #enters in username/email email.send_keys(phone_number) # press return to pass to next phase email.send_keys(Keys.RETURN) time.sleep(3) bot.close() bot.quit()

ok but now we face this issue: 61 refresh_token = get_refresh_token(otp_code, phone_number) 47 if(response.get("data")["validated"] == False): TypeError: 'NoneType' object is not subscriptable

i believe tinder has changed the way they do requests

FO777 avatar Sep 06 '20 21:09 FO777

If you're looking for an up-to-date tinderbot which doesn't use the api of Tinder, but rather uses selenium as an automation tool, this might be of interest: https://github.com/frederikme/TinderBot

Note: this is my own project, but it looks like this project is not supported anymore and should be archived.

frederikme avatar Nov 20 '20 10:11 frederikme