{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/142","repository_url":"https://api.github.com/repos/yiisoft/yii2-authclient","labels_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/142/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/142/events","html_url":"https://github.com/yiisoft/yii2-authclient/issues/142","id":182985964,"number":142,"title":"Error get token facebook.","user":{"login":"mdmunir","id":5828252,"avatar_url":"https://avatars.githubusercontent.com/u/5828252?v=3","gravatar_id":"","url":"https://api.github.com/users/mdmunir","html_url":"https://github.com/mdmunir","followers_url":"https://api.github.com/users/mdmunir/followers","following_url":"https://api.github.com/users/mdmunir/following{/other_user}","gists_url":"https://api.github.com/users/mdmunir/gists{/gist_id}","starred_url":"https://api.github.com/users/mdmunir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdmunir/subscriptions","organizations_url":"https://api.github.com/users/mdmunir/orgs","repos_url":"https://api.github.com/users/mdmunir/repos","events_url":"https://api.github.com/users/mdmunir/events{/privacy}","received_events_url":"https://api.github.com/users/mdmunir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-14T07:55:50Z","updated_at":"2016-10-14T07:55:50Z","closed_at":null,"body":"### What steps will reproduce the problem?\r\n```php\r\n$client = \\Yii::$app->authClientCollection->clients['facebook'];\r\n$token = $client->authenticateClient();\r\n```\r\n### What's expected?\r\nGot `access_token`\r\n\r\n### What do you get instead?\r\n![screenshot from 2016-10-14 14 40 32](https://cloud.githubusercontent.com/assets/5828252/19379503/6f2dad1a-921c-11e6-9019-40a06bca025b.png)\r\n\r\n### Additional info\r\n```\r\nexception 'yii\\base\\InvalidParamException' with message 'Unrecognized format ''' in /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2-httpclient/Client.php:169 Stack trace: \r\n#0 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2-httpclient/Response.php(191): yii\\httpclient\\Client->getParser(NULL) \r\n#1 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2-httpclient/Response.php(33): yii\\httpclient\\Response->getParser() \r\n#2 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2-authclient/BaseOAuth.php(224): yii\\httpclient\\Response->getData() \r\n#3 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2-authclient/OAuth2.php(230): yii\\authclient\\BaseOAuth->sendRequest(Object(yii\\httpclient\\Request)) \r\n#4 /home/mdmunir/projects/php/psmx/yii2-piknikio/app/controllers/api/v1/UserController.php(43): yii\\authclient\\OAuth2->authenticateClient() \r\n#5 [internal function]: app\\controllers\\api\\v1\\UserController->actionInfoToken('abcde') \r\n#6 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array) \r\n#7 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2/base/Controller.php(154): yii\\base\\InlineAction->runWithParams(Array) \r\n#8 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2/base/Module.php(454): yii\\base\\Controller->runAction('info-token', Array) \r\n#9 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2/web/Application.php(100): yii\\base\\Module->runAction('api/v1/user/inf...', Array) \r\n#10 /home/mdmunir/projects/php/psmx/yii2-piknikio/vendor/yiisoft/yii2/base/Application.php(375): yii\\web\\Application->handleRequest(Object(yii\\web\\Request)) \r\n#11 /home/mdmunir/projects/php/psmx/yii2-piknikio/app/web/index.php(18): yii\\base\\Application->run() \r\n#12 {main}\r\n```\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii vesion       | dev-master\r\n| Yii Authclient version | dev-master\r\n| PHP version      | 5.6\r\n| Operating system | debian 7"}}
{"actor":{"display_login":"mdmunir"}}