https://github.com/alessandrobessi/autotinder
Tinder is 99% a waste of time. autotinder swipes right for you <3
https://github.com/alessandrobessi/autotinder
rust rust-lang tinder tinder-swiper
Last synced: 7 months ago
JSON representation
Tinder is 99% a waste of time. autotinder swipes right for you <3
- Host: GitHub
- URL: https://github.com/alessandrobessi/autotinder
- Owner: alessandrobessi
- Created: 2022-11-19T11:46:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T18:38:36.000Z (almost 3 years ago)
- Last Synced: 2025-02-02T00:47:12.573Z (8 months ago)
- Topics: rust, rust-lang, tinder, tinder-swiper
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# autotinder
Tinder is 99% a waste of time. A person can't spend his leisure time swiping right to get a chance to sleep with someone. Moreover, Tinder does not provide proper API documentation, and thus we need to understand how the frontend communicates with the backend to automatize the "swipe right" process.
I found two useful endpoints. In both cases you need to provide a `x-auth-token` that you can easily find by opening the developer tools (on the Network tab) of your favorite browser and interacting with the web application of Tinder.
- https://api.gotinder.com/v2/recs/core
which accepts GET requests and provides a list of recommended users in your area;- https://api.gotinder.com/like/{id}
which accepts POST requests and "swipes right" on the provided user id. The payload is something like this
```
{
"s_number": 00034345340,
"liked_content_id": "aaaa-74747474-ryryr",
"liked_content_type", "photo",
}
```
While `liked_content_id` is the id of a photo of the user, I don't know what `s_number` means. Anyway, both information can be found in the response to the above mentioned GET request.
- https://api.gotinder.com/v2/matches?locale=en&count=60&message=0&is_tinder_u=false
```
{
"meta": {
"status": 200
},
"data": {
"matches": []
}
}
```
- https://api.gotinder.com/v2/my-likes
- https://api.gotinder.com/pass/{user_id}?s_number={s_number}## Rust
The code is *pretty crappy*, and I'm using this Tinder shit to teach myself Rust the hard way, i.e. actually doing things and facing real world problems beyond the classic textbook examples.###### Build
```
cargo build
```###### Run
```
./target/debug/autotinder [x-auth-token]
```