{"id":16410536,"url":"https://github.com/skipperbent/tinder-php-sdk","last_synced_at":"2025-10-24T14:38:29.471Z","repository":{"id":57037397,"uuid":"45377556","full_name":"skipperbent/tinder-php-sdk","owner":"skipperbent","description":"Easy to use PHP SDK for accessing Tinder data.","archived":false,"fork":false,"pushed_at":"2017-08-10T01:08:26.000Z","size":86,"stargazers_count":19,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-02T19:03:15.504Z","etag":null,"topics":["api","php","php-sdk","sdk","tinder","tinder-sdk"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skipperbent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-02T07:01:54.000Z","updated_at":"2022-06-07T22:03:10.000Z","dependencies_parsed_at":"2022-08-24T06:41:03.328Z","dependency_job_id":null,"html_url":"https://github.com/skipperbent/tinder-php-sdk","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipperbent%2Ftinder-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipperbent%2Ftinder-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipperbent%2Ftinder-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipperbent%2Ftinder-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skipperbent","download_url":"https://codeload.github.com/skipperbent/tinder-php-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244733598,"owners_count":20501011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","php","php-sdk","sdk","tinder","tinder-sdk"],"created_at":"2024-10-11T06:43:13.475Z","updated_at":"2025-10-24T14:38:29.379Z","avatar_url":"https://github.com/skipperbent.png","language":"PHP","readme":"# Tinder PHP SDK\nEasy to use PHP SDK for accessing Tinder data.\n\n**NOTE:** \nThis 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.\n\nWARNING: NOT FOR PRODUCTION USE!\n\n## Installation\nAdd the latest version of tinder-php-sdk to your project by running\n\n```json\ncomposer require pecee/tinder-sdk\n```\n\n## Examples\n\nThis section contains basic examples on how to use the SDK.\n\n### Getting your Facebook token\n\nThe Tinder PHP-SDK requires a valid authorizes Facebook access-token in order to communicate to the Tinder SDK.\n\nPlease follow the steps below to obtain your Facebook access-token.\n\n1. Navigate to the following URL.\n\n[https://www.facebook.com/v2.6/dialog/oauth?redirect_uri=fb464891386855067%3A%2F%2Fauthorize%2F\u0026state=%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\u0026scope=user_birthday%2Cuser_photos%2Cuser_education_history%2Cemail%2Cuser_relationship_details%2Cuser_friends%2Cuser_work_history%2Cuser_likes\u0026response_type=token%2Csigned_request\u0026default_audience=friends\u0026return_scopes=true\u0026auth_type=rerequest\u0026client_id=464891386855067\u0026ret=login\u0026sdk=ios\u0026logger_id=54783C22-558A-4E54-A1EE-BB9E357CC11F#_=](https://www.facebook.com/v2.6/dialog/oauth?redirect_uri=fb464891386855067%3A%2F%2Fauthorize%2F\u0026state=%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\u0026scope=user_birthday%2Cuser_photos%2Cuser_education_history%2Cemail%2Cuser_relationship_details%2Cuser_friends%2Cuser_work_history%2Cuser_likes\u0026response_type=token%2Csigned_request\u0026default_audience=friends\u0026return_scopes=true\u0026auth_type=rerequest\u0026client_id=464891386855067\u0026ret=login\u0026sdk=ios\u0026logger_id=54783C22-558A-4E54-A1EE-BB9E357CC11F#_=)\n\n2. Before clicking \"OK\" open Chrome Developer Tools and click on the \"Network\" tab. Make sure to filter by XHR requests.\n\n3. Click \"OK\" to authorize Tinder in the Facebook dialog.\n\n4. Find your access_token like shown in the screenshot below:\n\n![Facebook Access Token](access_token_1.png?raw=true)\n\n### Authentication\n\n```php\n$tinder = new \\Pecee\\Http\\Service\\Tinder($fbUserId, $fbToken);\n```\n\n### Get user info\n\n```php\n$tinder-\u003egetUser();\n```\n\n### Send message\n\n```php\n$tinder-\u003esendMessage($userId, $message);\n```\n\n### Report user\n\n```php\n$tinder-\u003ereportUser($userId);\n```\n\n### Update profile\n\n```php\n$tinder-\u003eupdateProfile(array('age_filter_min' =\u003e 26, 'gender' =\u003e 1, 'age_filter_max' =\u003e 18, 'distance_filter' =\u003e 14);\n```\n\n### Update location\n\n```php\n$tinder-\u003eupdateLocation($lat, $lon);\n```\n\n### Like user\n\n```php\n$tinder-\u003elike($userId);\n```\n\n### Pass/dislike user\n\n```php\n$tinder-\u003epass($userId);\n```\n\n### Get updates\n\n```php\n$tinder-\u003eupdates();\n```\n\n### Get recommendations \n\nGet users and groups (Tinder Social) recommendations.\n\n```php\n$tinder-\u003erecommendations();\n```\n\n### Get friends\n\nView friends from Facebook that have a Tinder profile.\n\n```php\n$tinder-\u003efriends();\n```\n\n### Get Tinder user by id\n\n```php\n$tinder-\u003euser($userId);\n```\n\n## The MIT License (MIT)\n\nCopyright (c) 2016 Simon Sessingø / tinder-php-sdk\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipperbent%2Ftinder-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskipperbent%2Ftinder-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipperbent%2Ftinder-php-sdk/lists"}