{"action":"closed","issue":{"url":"https://api.github.com/repos/tiagomendesdantas/Rspotify/issues/20","repository_url":"https://api.github.com/repos/tiagomendesdantas/Rspotify","labels_url":"https://api.github.com/repos/tiagomendesdantas/Rspotify/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/tiagomendesdantas/Rspotify/issues/20/comments","events_url":"https://api.github.com/repos/tiagomendesdantas/Rspotify/issues/20/events","html_url":"https://github.com/tiagomendesdantas/Rspotify/issues/20","id":315675522,"number":20,"title":"\"This site can't be reached\" when attempting to generate OAuth token","user":{"login":"calebmbrooks","id":25305111,"avatar_url":"https://avatars3.githubusercontent.com/u/25305111?v=4","gravatar_id":"","url":"https://api.github.com/users/calebmbrooks","html_url":"https://github.com/calebmbrooks","followers_url":"https://api.github.com/users/calebmbrooks/followers","following_url":"https://api.github.com/users/calebmbrooks/following{/other_user}","gists_url":"https://api.github.com/users/calebmbrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmbrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmbrooks/subscriptions","organizations_url":"https://api.github.com/users/calebmbrooks/orgs","repos_url":"https://api.github.com/users/calebmbrooks/repos","events_url":"https://api.github.com/users/calebmbrooks/events{/privacy}","received_events_url":"https://api.github.com/users/calebmbrooks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-18T23:22:01Z","updated_at":"2018-04-19T13:04:06Z","closed_at":"2018-04-19T13:04:06Z","author_association":"NONE","body":"code:\r\n\r\n```\r\nlibrary(httr)\r\n \r\n#these are for Caleb B's developer account\r\nclientID = 'xxxxxxxxxxx'\r\nsecret = 'xxxxxxxxxx'\r\nappID <- 'xxxx' \r\n\r\nresponse = POST(\r\n'https://accounts.spotify.com/api/token',\r\naccept_json(),\r\nauthenticate(clientID, secret),\r\nbody = list(grant_type = 'client_credentials'),\r\nencode = 'form',\r\nverbose()\r\n)\r\n\r\nkey <- spotifyOAuth(app_id=appID, client_id = clientID, client_secret = secret)\r\n```\r\n\r\nRunning this code opens a new browser window with the page in the attached image\r\n\r\nhttp://localhost:1410/ has been added to whitelisted URIs\r\n\r\n"}}
{"actor":{"display_login":"calebmbrooks"}}