Skip to content

Commit ed545ec

Browse files
authored
Merge pull request #17 from skipperbent/development
Development
2 parents ec8894d + 01edb8c commit ed545ec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ $tinder->updates();
9191

9292
### Get recommendations
9393

94+
Get users and groups (Tinder Social) recommendations.
95+
9496
```php
9597
$tinder->recommendations();
9698
```

src/Pecee/Http/Service/Tinder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ public function api($url = null, $method = self::METHOD_GET, array $data = array
3939
$this->httpRequest->setHeaders(array(
4040
'X-Auth-Token: '. $this->authToken,
4141
'Content-type: application/json; charset=utf-8',
42-
'app_version: 3',
42+
'app_version: 1637',
4343
'platform: ios',
4444
'User-Agent: Tinder/2.2.2 (iPhone; iOS 7.0.2; Scale/2.00)',
45-
'os_version: 700001'
45+
'os_version: 700001',
46+
'app-version: 1637'
4647
));
4748

4849
return json_decode(parent::api($url, $method, $data)->getResponse());

0 commit comments

Comments
 (0)