{"action":"created","issue":{"url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/378","labels_url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/378/comments","events_url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/378/events","html_url":"https://github.com/Lusitanian/PHPoAuthLib/issues/378","id":65279470,"number":378,"title":"Problems getting started ...","user":{"login":"katzlbt","id":260347,"avatar_url":"https://avatars.githubusercontent.com/u/260347?v=3","gravatar_id":"","url":"https://api.github.com/users/katzlbt","html_url":"https://github.com/katzlbt","followers_url":"https://api.github.com/users/katzlbt/followers","following_url":"https://api.github.com/users/katzlbt/following{/other_user}","gists_url":"https://api.github.com/users/katzlbt/gists{/gist_id}","starred_url":"https://api.github.com/users/katzlbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katzlbt/subscriptions","organizations_url":"https://api.github.com/users/katzlbt/orgs","repos_url":"https://api.github.com/users/katzlbt/repos","events_url":"https://api.github.com/users/katzlbt/events{/privacy}","received_events_url":"https://api.github.com/users/katzlbt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T19:06:43Z","updated_at":"2015-04-05T16:19:30Z","closed_at":null,"body":"Started with an example google.php ...\r\n  0. copied it to my own directory\r\n  1. Included Oauth/bootstrap.php (wrong bootstrap.php!!)\r\n  2. Started 2h search why $currentUri (->getAbsoluteUri()) is not defined.\r\n  3. included the correct bootstrap.php this time ...\r\n  4. require_once __DIR__ . 'Oauth/vendor/autoload.php';\r\n  5. Found vendor on .gitignore\r\n  6. 'Oauth/vendor/autoload.php' should be 'Oauth/bootstrap.php' ??\r\n  7. finally a login panel ... but ...\r\n  8. Fatal error: Uncaught exception 'OAuth\\Common\\Http\\Exception\\TokenResponseException' with message 'file_get_contents(https://accounts.google.com/o/oauth2/token): failed to open stream: No such file or directory' \r\n\r\nCould you add a README to the examples?\r\nThanks for pointers.\r\n\r\nFound it 'Oauth/vendor/autoload.php' should be 'Oauth/bootstrap.php' this seems to work.\r\nI highly recommend renaming one of the bootstrap.php files to avoid confusion. "},"comment":{"url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/comments/89798993","html_url":"https://github.com/Lusitanian/PHPoAuthLib/issues/378#issuecomment-89798993","issue_url":"https://api.github.com/repos/Lusitanian/PHPoAuthLib/issues/378","id":89798993,"user":{"login":"logical-and","id":1403109,"avatar_url":"https://avatars.githubusercontent.com/u/1403109?v=3","gravatar_id":"","url":"https://api.github.com/users/logical-and","html_url":"https://github.com/logical-and","followers_url":"https://api.github.com/users/logical-and/followers","following_url":"https://api.github.com/users/logical-and/following{/other_user}","gists_url":"https://api.github.com/users/logical-and/gists{/gist_id}","starred_url":"https://api.github.com/users/logical-and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logical-and/subscriptions","organizations_url":"https://api.github.com/users/logical-and/orgs","repos_url":"https://api.github.com/users/logical-and/repos","events_url":"https://api.github.com/users/logical-and/events{/privacy}","received_events_url":"https://api.github.com/users/logical-and/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T16:19:30Z","updated_at":"2015-04-05T16:19:30Z","body":"You should bootstrap OAuth lib by src/bootstrap.php"}}