Tinder icon indicating copy to clipboard operation
Tinder copied to clipboard

send_otp_code not sending sms

Open mlisthenewcool opened this issue 4 years ago • 10 comments

Using functions from https://github.com/fbessez/Tinder/blob/master/phone_auth_token.py as follow :

phone_number = "+33000000000" log_code = send_otp_code(phone_number)

Gives me :

send_otp_code : {'meta': {'status': 200}, 'data': {'otp_length': 6, 'sms_sent': False}}

I've tried various phone number formats with spaces, dots, paranthesis and it does not work.

mlisthenewcool avatar Jul 02 '20 07:07 mlisthenewcool

The API is being Patched

epicalanonhacker avatar Jul 03 '20 22:07 epicalanonhacker

I got it to send me an sms with curl:

curl 'https://api.gotinder.com/v3/auth/login?locale=en' -H 'authority: api.gotinder.com' -H 'pragma: no-cache' -H 'cache-control: no-cache' -H 'x-supported-image-formats: webp,jpeg' -H 'funnel-session-id: 1da38d5a71afe004' -H 'persistent-device-id: 7dd5826b-8433-4543-bb4b-c9937e8c4205' -H 'tinder-version: 2.43.0' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36' -H 'content-type: application/x-google-protobuf' -H 'user-session-id: null' -H 'accept: application/json' -H 'app-session-time-elapsed: 69641' -H 'x-auth-token: ' -H 'user-session-time-elapsed: null' -H 'platform: web' -H 'app-session-id: 7abcf985-3a0e-40fe-a6c7-d02fd30b1f7a' -H 'app-version: 1024300' -H 'origin: https://tinder.com' -H 'sec-fetch-site: cross-site' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://tinder.com/' -H 'accept-language: en-US,en;q=0.9,fr;q=0.8' --data-binary $'\n\r\n\u000bYOURNUMBERHERE' --compressed

Can anyone translate this into php curl or ajax request? Ive tried to convert it myself but i have been running into problems and it just doesnt seem to get it to work.

Henshall avatar Jul 08 '20 10:07 Henshall

I have the same issue. I've tried basically every single number format in existence but it still gives phone_number= "+447777777777" phone_number= "+44 07777777777" phone_number= "4407777777777" phone_number= "447777777777" phone_number= "+4407777777777" NOTHING works. I always get sms sent as false and print(log_code)=false Can someone please put an updated version of the code for phone_auth_token.py? you would be a saint! thank you

Jennifer-Winter avatar Jul 12 '20 01:07 Jennifer-Winter

@Henshall... https://curl.trillworks.com allows you to

Convert curl syntax to Python, Ansible URI, MATLAB, Node.js, R, PHP, Strest, Go, Dart, JSON, Elixir, Rust

and more.

The following is the output for python using the requests library:

import requests

headers = {
    'authority': 'api.gotinder.com',
    'pragma': 'no-cache',
    'cache-control': 'no-cache',
    'x-supported-image-formats': 'webp,jpeg',
    'funnel-session-id': '1da38d5a71afe004',
    'persistent-device-id': '7dd5826b-8433-4543-bb4b-c9937e8c4205',
    'tinder-version': '2.43.0',
    'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36',
    'content-type': 'application/x-google-protobuf',
    'user-session-id': 'null',
    'accept': 'application/json',
    'app-session-time-elapsed': '69641',
    'x-auth-token': '',
    'user-session-time-elapsed': 'null',
    'platform': 'web',
    'app-session-id': '7abcf985-3a0e-40fe-a6c7-d02fd30b1f7a',
    'app-version': '1024300',
    'origin': 'https://tinder.com',
    'sec-fetch-site': 'cross-site\\',
    'sec-fetch-dest': 'empty',
    'referer': 'https://tinder.com/',
    'accept-language': 'en-US,en;q=0.9,fr;q=0.8',
}

params = (
    ('locale', 'en'),
)

data = '$\\n\\r\\n\\u000bYOURNUMBERHERE'

response = requests.post('https://api.gotinder.com/v3/auth/login', headers=headers, params=params, data=data)

SeanLF avatar Jul 14 '20 18:07 SeanLF

I am also not getting the sms on my mobile. I am getting the below reponse send_otp_code : {'meta': {'status': 200}, 'data': {'otp_length': 6, 'sms_sent': False}}

ramola106 avatar Jul 21 '20 06:07 ramola106

Who wants to sniff Tinder API of the latest official app (v3 api version), you can write to me and I'll explain how to do it. Email is in my profile.

RMatushkin avatar Jul 24 '20 22:07 RMatushkin

Who wants to sniff Tinder API of the latest official app (v3 api version), you can write to me and I'll explain how to do it.

Please elaborate

lovetoburnswhen avatar Jul 24 '20 22:07 lovetoburnswhen

Who wants to sniff Tinder API of the latest official app (v3 api version), you can write to me and I'll explain how to do it.

Please elaborate

You can write me (email is in my profile).

RMatushkin avatar Jul 25 '20 10:07 RMatushkin

Thanks for acknowledge I will check and let you know

Regards, Gajendra

On Sat, Jul 25, 2020 at 4:15 AM RMatushkin [email protected] wrote:

Who wants to sniff Tinder API of the latest official app (3 api version), you can write to me and I'll explain how to do it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fbessez/Tinder/issues/108#issuecomment-663762473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANY26KJ5WWXUS4IXMMK5YUTR5IFHPANCNFSM4OOT3JKQ .

ramola106 avatar Jul 25 '20 18:07 ramola106

I am also not getting the sms on my mobile. I am getting the below reponse send_otp_code : {'meta': {'status': 200}, 'data': {'otp_length': 6, 'sms_sent': False}}

I am getting this with this endpoint "https://api.gotinder.com/v2/auth/login/sms" but I am not receiving any text messages

gelodefaultbrain avatar Oct 16 '23 05:10 gelodefaultbrain