All Projects → skipperbent → tinder-php-sdk

skipperbent / tinder-php-sdk

Licence: other
Easy to use PHP SDK for accessing Tinder data.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to tinder-php-sdk

Glinapppurchase
Tinder Style InApp Purchase Banner
Stars: ✭ 180 (+900%)
Mutual labels:  tinder
twinder
Unofficial Tinder client for Windows desktop
Stars: ✭ 18 (+0%)
Mutual labels:  tinder
tcard
Flutter tinder like cards
Stars: ✭ 132 (+633.33%)
Mutual labels:  tinder
React Native Swiper Animated
Tinder-like swiper for react-native
Stars: ✭ 225 (+1150%)
Mutual labels:  tinder
React Native Pulse Loader
tinder-like loader for your react native app
Stars: ✭ 250 (+1288.89%)
Mutual labels:  tinder
TinderUserProfile
Tinder/Bumble like user image with user details scroll animation
Stars: ✭ 21 (+16.67%)
Mutual labels:  tinder
Tinderonline
Find out which of your friends are online on Tinder
Stars: ✭ 155 (+761.11%)
Mutual labels:  tinder
flutter swipable stack
A widget for stacking cards, which users can swipe horizontally and vertically with beautiful animations like Tinder UI.
Stars: ✭ 53 (+194.44%)
Mutual labels:  tinder
kikder-dating-swipe-app
❤️ Kik App, you know? 💑 Kikder™ is a dating webapp that integrates the Kik, uses the HorOrNot game and the Tinder swipe. The F.A.S.T. Game Approach! The web app uses a custom lightweight MVC framework.
Stars: ✭ 21 (+16.67%)
Mutual labels:  tinder
tribbble
Tinder for Dribbble
Stars: ✭ 89 (+394.44%)
Mutual labels:  tinder
Get Me A Date
😍 Help me get a 💘 date tonight 🌛
Stars: ✭ 228 (+1166.67%)
Mutual labels:  tinder
Deep Learning Tinder
Simple Tinder algorithm able to swipe left and right based on the recommendations of a pre-trained deep neural network (Machine Learning).
Stars: ✭ 242 (+1244.44%)
Mutual labels:  tinder
Flare
A full-fledged unofficial Angular-based Tinder web client
Stars: ✭ 23 (+27.78%)
Mutual labels:  tinder
Tinderclone
Tinder App Clone
Stars: ✭ 196 (+988.89%)
Mutual labels:  tinder
tinder clone
For learning .
Stars: ✭ 151 (+738.89%)
Mutual labels:  tinder
Placeholderview
This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
Stars: ✭ 2,104 (+11588.89%)
Mutual labels:  tinder
roove
Dating app based on firebase services and facebook login. MVVM-Kotlin-RxJava-Dagger-Databinding
Stars: ✭ 55 (+205.56%)
Mutual labels:  tinder
tinder-client
❤️ NodeJS Tinder Client
Stars: ✭ 50 (+177.78%)
Mutual labels:  tinder
react-tinder-card
A npm react module for making react elements swipeable like in the dating app tinder.
Stars: ✭ 184 (+922.22%)
Mutual labels:  tinder
TinderBotz
Automated Tinder bot and scraper using selenium in python.
Stars: ✭ 265 (+1372.22%)
Mutual labels:  tinder

Tinder PHP SDK

Easy to use PHP SDK for accessing Tinder data.

NOTE: This SDK is unofficial and based on an unofficial API with no or minimal documentation. Please use with caution as functionality might break or be completely removed each time Tinder changes it's API.

WARNING: NOT FOR PRODUCTION USE!

Installation

Add the latest version of tinder-php-sdk to your project by running

composer require pecee/tinder-sdk

Examples

This section contains basic examples on how to use the SDK.

Getting your Facebook token

The Tinder PHP-SDK requires a valid authorizes Facebook access-token in order to communicate to the Tinder SDK.

Please follow the steps below to obtain your Facebook access-token.

  1. Navigate to the following URL.

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#_=

  1. Before clicking "OK" open Chrome Developer Tools and click on the "Network" tab. Make sure to filter by XHR requests.

  2. Click "OK" to authorize Tinder in the Facebook dialog.

  3. Find your access_token like shown in the screenshot below:

Facebook Access Token

Authentication

$tinder = new \Pecee\Http\Service\Tinder($fbUserId, $fbToken);

Get user info

$tinder->getUser();

Send message

$tinder->sendMessage($userId, $message);

Report user

$tinder->reportUser($userId);

Update profile

$tinder->updateProfile(array('age_filter_min' => 26, 'gender' => 1, 'age_filter_max' => 18, 'distance_filter' => 14);

Update location

$tinder->updateLocation($lat, $lon);

Like user

$tinder->like($userId);

Pass/dislike user

$tinder->pass($userId);

Get updates

$tinder->updates();

Get recommendations

Get users and groups (Tinder Social) recommendations.

$tinder->recommendations();

Get friends

View friends from Facebook that have a Tinder profile.

$tinder->friends();

Get Tinder user by id

$tinder->user($userId);

The MIT License (MIT)

Copyright (c) 2016 Simon Sessingø / tinder-php-sdk

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].