https://github.com/cansik/sharp-tinder
Sharp-Tinder is a basic client framework for the very popular tinder dating app.
https://github.com/cansik/sharp-tinder
api reverse-engineering tinder
Last synced: about 1 month ago
JSON representation
Sharp-Tinder is a basic client framework for the very popular tinder dating app.
- Host: GitHub
- URL: https://github.com/cansik/sharp-tinder
- Owner: cansik
- Created: 2017-01-13T22:26:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T13:05:56.000Z (over 6 years ago)
- Last Synced: 2025-03-31T02:12:47.573Z (3 months ago)
- Topics: api, reverse-engineering, tinder
- Language: C#
- Size: 26.4 KB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sharp Tinder
Sharp Tinder is a basic client framework for the very popular tinder dating app.The API still works (**March 2018**) but it could be changed by tinder.
## API
Currently supported are following api methods:* Login - *login to tinder*
* GetUpdates - *get chat updates*
* GetRecommendations - *get new recommendations*
* Rate - *rate a user*
* Superlike
* Like
* Pass
* SendMessage - *send a message to a user*
* GetUser - *get all information about a user*
* UpdatePosition - *update your own position*## Examples
### Login
The login works over oauth and the new facebook graph api 2.6. So it is a bit tricky in the beginning.1. You have to get your [facebook user id](http://findmyfbid.com/)!
2. Follow this [link](https://www.facebook.com/v2.6/dialog/oauth?redirect_uri=fb464891386855067%3A%2F%2Fauthorize%2F&state=%7B%22challenge%22%3A%22q1WMwhvSfbWHvd8xz5PT6lk6eoA%253D%22%2C%220_auth_logger_id%22%3A%2254783C22-558A-4E54-A1EE-BB9E357CC11F%22%2C%22com.facebook.sdk_client_state%22%3Atrue%2C%223_method%22%3A%22sfvc_auth%22%7D&scope=user_birthday%2Cuser_photos%2Cuser_education_history%2Cemail%2Cuser_relationship_details%2Cuser_friends%2Cuser_work_history%2Cuser_likes&response_type=token%2Csigned_request&default_audience=friends&return_scopes=true&auth_type=rerequest&client_id=464891386855067&ret=login&sdk=ios&logger_id=54783C22-558A-4E54-A1EE-BB9E357CC11F#_=_) and check the network traffic. After connecting tinder with your account, there should be a message response (from https://www.facebook.com/v2.6/dialog/oauth/confirm?dpr=2), which contains the access token!```
...&access_token=EAAGm0PX4ZCpsBAD449veptM...
```Then it is easy, just use the fbid and access token with this method:
```csharp
client.Login(userId, accessToken);
```### Updates
To get new chat updates simply call this method:```csharp
var res = await client.GetUpdates(new DateTime(2000, 01, 01));foreach (var m in res.Matches)
if (m.Person != null)
Console.WriteLine($"{m.Person.Name} ({m.Id}) - {2016 - m.Person.BirthDate.Year}");
```## .NET Standard 2.0 / .NET Core 2.0
If you want to use this is a Net Standard or Net Core application, use the corresponding `SharpTinderCore` and `SharpTinderCoreExample` projects.
## About
Sharp Tinder was just a proof of concept written in August 2016