tajnymag / tinder-deblur

Simple script using the official Tinder API to get clean photos of the users who liked you
MIT License
293 stars 29 forks source link

[Misc] You can now get the user's ID and like them #20

Open rosen2000 opened 1 year ago

rosen2000 commented 1 year ago

Hey I just wanted to tell you that the script somehow fetches the user's ID also. With it you can send a HTTP request and directly like the user who swiped right on you.

I am not really experienced in writing scripts, but you can probably also automate it.

I did it this way:

1) Use this script (I am on Google Chrome using Tampermonkey) 2) Open up Network 3) Click on "Likes" on Tinder. You will see the pictures flashing, their names, and sometimes even their descriptions. Do not scroll (somehow this messed it up for me but I think the requests would still be there) 4) Scroll down until you find the requests that fetch the user's information ( it should be something like api.tinder.com/user/641d8cf3cc3bd60100f2a2c2 and the request name should only be the ID) 5) Send an HTTP Request (I did this by liking somebody, seeing what request it sent, copied it along with some headers, and sent the request using Postman but with the user's ID) 6) Voila. You have a match.

I just did this and don't know when it will get patched or if you will somehow get flagged. Just wanted to share this since it's kind of a big deal.

Thank you for providing us with this script.

jgeramb commented 1 year ago

I don't want to violate the TOS of Tinder from now on, so this is my last contribution. Here you go: https://pastebin.com/raw/c1zqNMwL

tajnymag commented 1 year ago

I have adapted @JustixDevelopment changes.

@rosen2000, could you please try version v4.0b from this link and report, whether it's working correctly? https://github.com/tajnymag/tinder-deblur/raw/368e1264da42c70621f1b3b7caf044206328a0d6/tinder.user.js

In case it isn't working, try also the version from Justix's comment. I might have overlooked something.

jgeramb commented 1 year ago

Works as expected, you forgot to remove the other option elements though:

for(const optionElement of filterButton.parentNode.querySelectorAll('div[role="option"]')) { if(!optionElement.dataset.eventsInterrupted) optionElement.remove(); }

Also you should check the indentations, they look a bit off sometimes.

hamzaaitbrik commented 1 year ago

It does not work on Chrome, the "Like you" section is empty. Tried both version, @tajnymag's and @JustixDevelopment's

tajnymag commented 1 year ago

It does not work on Chrome, the "Like you" section is empty. Tried both version, @tajnymag's and @JustixDevelopment's

Did you get any errors in the console?

hamzaaitbrik commented 1 year ago

@tajnymag fixed. I had another extension blocking the whole process. Thank you.

rosen2000 commented 1 year ago

Hey guys,

I tried the new script and it works. Sometimes you have to refresh in order to get all profiles, but it works.

I have a few likes that are not showing up, but I think these are ones that I already disliked with this script.

Liking people works also. Thanks for updating it. It's alot easier now

tajnymag commented 1 year ago

Works as expected, you forgot to remove the other option elements though:

for(const optionElement of filterButton.parentNode.querySelectorAll('div[role="option"]')) { if(!optionElement.dataset.eventsInterrupted) optionElement.remove(); }

Also you should check the indentations, they look a bit off sometimes.

I did keep the block you are mentioning. Perhaps the script doesn't reach it? https://github.com/tajnymag/tinder-deblur/blob/368e1264da42c70621f1b3b7caf044206328a0d6/tinder.user.js#L434-L438

jgeramb commented 1 year ago

@tajnymag you forgot a quote in the selector ;)

Anyways, I added a lot of features and bug fixes since the script was just not working as expected. Also, Tinder said they won't fix this bug in the near future and I am allowed to do some more research on the bug so I can contribute a little more here.

Here is the new version: https://gist.github.com/JustixDevelopment/8870717f2530b36d1015e9ac497fed26

hamzaaitbrik commented 1 year ago

@JustixDevelopment thanks for your contribution.

Meleagrista commented 1 year ago

I don't know if the updates affected the script or Tinder did something but it seems like I doesn't work anymore. At least for me. image

tajnymag commented 1 year ago

I don't know if the updates affected the script or Tinder did something but it seems like I doesn't work anymore. At least for me. image

Have you tried the development version? There's been some fixes done and not merged yet to master. There's an ongoing discussion going on in issue https://github.com/tajnymag/tinder-deblur/issues/27

GuyWhoDoesentKnowShit commented 1 year ago

Hey I just wanted to tell you that the script somehow fetches the user's ID also. With it you can send a HTTP request and directly like the user who swiped right on you.

I am not really experienced in writing scripts, but you can probably also automate it.

I did it this way:

  1. Use this script (I am on Google Chrome using Tampermonkey)
  2. Open up Network
  3. Click on "Likes" on Tinder. You will see the pictures flashing, their names, and sometimes even their descriptions. Do not scroll (somehow this messed it up for me but I think the requests would still be there)
  4. Scroll down until you find the requests that fetch the user's information ( it should be something like api.tinder.com/user/641d8cf3cc3bd60100f2a2c2 and the request name should only be the ID)
  5. Send an HTTP Request (I did this by liking somebody, seeing what request it sent, copied it along with some headers, and sent the request using Postman but with the user's ID)
  6. Voila. You have a match.

I just did this and don't know when it will get patched or if you will somehow get flagged. Just wanted to share this since it's kind of a big deal.

Thank you for providing us with this script.

Can you explain the postman and headers part? I Got the user ID but cant move past that. This is all new to me.

jgeramb commented 1 year ago

Can you explain the postman and headers part? I Got the user ID but cant move past that. This is all new to me.

You don't need all of that since this functionality is built into the script, just install it (best bet is the latest dev release: https://github.com/JustixDevelopment/tinder-deblur/raw/develop/tinder.user.js), navigate to your likes section, wait a couple seconds and like the person that you want to like.

GuyWhoDoesentKnowShit commented 1 year ago

Can you explain the postman and headers part? I Got the user ID but cant move past that. This is all new to me.

You don't need all of that since this functionality is built into the script, just install it (best bet is the latest dev release: https://github.com/JustixDevelopment/tinder-deblur/raw/develop/tinder.user.js), navigate to your likes section, wait a couple seconds and like the person that you want to like.

Hey hey hey!!!!! Ur a g, that shit worked like a charm. I had just installed the dev one but I guess I didn't wait long enough? Idk how, but it worked. This is some cool shit you are doing.....

jgeramb commented 1 year ago

Thank you and you're welcome! The latest dev release here is not up to date with my development repository yet, that's why it didn't work ;)

GuyWhoDoesentKnowShit commented 1 year ago

Thank you and you're welcome! The latest dev release here is not up to date with my development repository yet, that's why it didn't work ;)

I see. Have you figured out how to get a new batch of 10 (ten) on there or is that impossible. All these chick were eh.... Sad but at least I didnt pay!!!!!!!

tajnymag commented 1 year ago

⚠️UPDATE⚠️

The project started as a simple wrapper around a javascript function posted on Reddit. I gained way more traction than I anticipated and I couldn't keep up as well and fast as I should have. What didn't help, was Tinder patching the exploited bug and later changing both API and frontend's identifiers. With me not on Tinder anymore, I am not able to test possible changes and/or find new exploits.

I am accepting any PRs I get and will do so until the project is archived. If you, the reader, are willing to take over the project, please, let me know.

If something isn't working, sometimes there's newer version available on the develop branch. To try it, click this link. Once there's a newer stable version, your userscript extension should update you automatically to it.