{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/678","repository_url":"https://api.github.com/repos/facebook/php-graph-sdk","labels_url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/678/comments","events_url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/678/events","html_url":"https://github.com/facebook/php-graph-sdk/pull/678","id":183665138,"number":678,"title":"fixed invalid format handling of headers[x-fb-ads-insights-throttle]","user":{"login":"tituskeuler","id":6710213,"avatar_url":"https://avatars.githubusercontent.com/u/6710213?v=3","gravatar_id":"","url":"https://api.github.com/users/tituskeuler","html_url":"https://github.com/tituskeuler","followers_url":"https://api.github.com/users/tituskeuler/followers","following_url":"https://api.github.com/users/tituskeuler/following{/other_user}","gists_url":"https://api.github.com/users/tituskeuler/gists{/gist_id}","starred_url":"https://api.github.com/users/tituskeuler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tituskeuler/subscriptions","organizations_url":"https://api.github.com/users/tituskeuler/orgs","repos_url":"https://api.github.com/users/tituskeuler/repos","events_url":"https://api.github.com/users/tituskeuler/events{/privacy}","received_events_url":"https://api.github.com/users/tituskeuler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T11:54:10Z","updated_at":"2016-10-18T12:19:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/php-graph-sdk/pulls/678","html_url":"https://github.com/facebook/php-graph-sdk/pull/678","diff_url":"https://github.com/facebook/php-graph-sdk/pull/678.diff","patch_url":"https://github.com/facebook/php-graph-sdk/pull/678.patch"},"body":"The raw response header field \"X-FB-Ads-Insights-Throttle\" contains a json value { \"app_id_util_pct\": 100, \"acc_id_util_pct\": 10 }\r\n\r\nCalling $response->getHeaders()['x-fb-ads-insights-throttle'] results in a chopped value {\"app_id_util_pct\".\r\n\r\nThe fix will handle the transformation of the header fields in a valid way. \r\n\r\nSimilar to this fix:\r\nhttps://github.com/facebook/facebook-php-ads-sdk/pull/241/files"},"comment":{"url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/comments/254490329","html_url":"https://github.com/facebook/php-graph-sdk/pull/678#issuecomment-254490329","issue_url":"https://api.github.com/repos/facebook/php-graph-sdk/issues/678","id":254490329,"user":{"login":"SammyK","id":578780,"avatar_url":"https://avatars.githubusercontent.com/u/578780?v=3","gravatar_id":"","url":"https://api.github.com/users/SammyK","html_url":"https://github.com/SammyK","followers_url":"https://api.github.com/users/SammyK/followers","following_url":"https://api.github.com/users/SammyK/following{/other_user}","gists_url":"https://api.github.com/users/SammyK/gists{/gist_id}","starred_url":"https://api.github.com/users/SammyK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SammyK/subscriptions","organizations_url":"https://api.github.com/users/SammyK/orgs","repos_url":"https://api.github.com/users/SammyK/repos","events_url":"https://api.github.com/users/SammyK/events{/privacy}","received_events_url":"https://api.github.com/users/SammyK/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T12:19:26Z","updated_at":"2016-10-18T12:19:26Z","body":"Nice catch & thanks for the PR @tituskeuler! Would you mind adding a test for this as well? :)"}}
{"actor":{"display_login":"SammyK"}}