Skip to content

Commit

Permalink
Merge pull request #17 from skipperbent/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
skipperbent committed Sep 29, 2016
2 parents ec8894d + 01edb8c commit ed545ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -91,6 +91,8 @@ $tinder->updates();

### Get recommendations

Get users and groups (Tinder Social) recommendations.

```php
$tinder->recommendations();
```
Expand Down
5 changes: 3 additions & 2 deletions src/Pecee/Http/Service/Tinder.php
Expand Up @@ -39,10 +39,11 @@ public function api($url = null, $method = self::METHOD_GET, array $data = array
$this->httpRequest->setHeaders(array(
'X-Auth-Token: '. $this->authToken,
'Content-type: application/json; charset=utf-8',
'app_version: 3',
'app_version: 1637',
'platform: ios',
'User-Agent: Tinder/2.2.2 (iPhone; iOS 7.0.2; Scale/2.00)',
'os_version: 700001'
'os_version: 700001',
'app-version: 1637'
));

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

0 comments on commit ed545ec

Please sign in to comment.