PHP code example of pecee / tinder-sdk

1. Go to this page and download the library: Download pecee/tinder-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pecee / tinder-sdk example snippets


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

$tinder->getUser();

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

$tinder->reportUser($userId);

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

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

$tinder->like($userId);

$tinder->pass($userId);

$tinder->updates();

$tinder->recommendations();

$tinder->friends();

$tinder->user($userId);