{"action":"created","issue":{"url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/16","repository_url":"https://api.github.com/repos/GenFirst/react-twitter-auth","labels_url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/16/comments","events_url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/16/events","html_url":"https://github.com/GenFirst/react-twitter-auth/issues/16","id":298952673,"number":16,"title":"SyntaxError: Unexpected token < in JSON at position 0","user":{"login":"Tremus","id":19359682,"avatar_url":"https://avatars2.githubusercontent.com/u/19359682?v=4","gravatar_id":"","url":"https://api.github.com/users/Tremus","html_url":"https://github.com/Tremus","followers_url":"https://api.github.com/users/Tremus/followers","following_url":"https://api.github.com/users/Tremus/following{/other_user}","gists_url":"https://api.github.com/users/Tremus/gists{/gist_id}","starred_url":"https://api.github.com/users/Tremus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tremus/subscriptions","organizations_url":"https://api.github.com/users/Tremus/orgs","repos_url":"https://api.github.com/users/Tremus/repos","events_url":"https://api.github.com/users/Tremus/events{/privacy}","received_events_url":"https://api.github.com/users/Tremus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-21T12:32:50Z","updated_at":"2018-04-27T05:26:45Z","closed_at":"2018-04-24T14:19:50Z","author_association":"NONE","body":"I'm using basically the boilerplate from the README and getting a syntax error\r\n```\r\n<TwitterLogin\r\n    loginUrl=\"http://localhost:8080/accounts/twitter/login/\"\r\n    onFailure={this.onFailed}\r\n    onSuccess={this.onSuccess}\r\n    requestTokenUrl=\"http://localhost:8080/accounts/twitter/login/callback/\"\r\n/>\r\n```\r\nHere's the stack from Chrome's Dev Tools _Network_:\r\n\r\n\r\ngetRequestToken | @ | react-twitter-auth-component.js:372\r\n-- | -- | --\r\nonButtonClick | @ | react-twitter-auth-component.js:356\r\ncallCallback | @ | react-dom.development.js:542\r\ninvokeGuardedCallbackDev | @ | react-dom.development.js:581\r\ninvokeGuardedCallback | @ | react-dom.development.js:438\r\ninvokeGuardedCallbackAndCatchFirstError | @ | react-dom.development.js:452\r\nexecuteDispatch | @ | react-dom.development.js:836\r\nexecuteDispatchesInOrder | @ | react-dom.development.js:858\r\nexecuteDispatchesAndRelease | @ | react-dom.development.js:956\r\nexecuteDispatchesAndReleaseTopLevel | @ | react-dom.development.js:967\r\nforEachAccumulated | @ | react-dom.development.js:935\r\nprocessEventQueue | @ | react-dom.development.js:1112\r\nrunEventQueueInBatch | @ | react-dom.development.js:3607\r\nhandleTopLevel | @ | react-dom.development.js:3616\r\nhandleTopLevelImpl | @ | react-dom.development.js:3347\r\nbatchedUpdates | @ | react-dom.development.js:11082\r\nbatchedUpdates | @ | react-dom.development.js:2330\r\ndispatchEvent | @ | react-dom.development.js:3421\r\n\r\nLooks like it may be an issue where the header is set to html rather than `Content-Type:application/json`. Any clue on where the issue lies/how to fix this?"},"comment":{"url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/comments/384867872","html_url":"https://github.com/GenFirst/react-twitter-auth/issues/16#issuecomment-384867872","issue_url":"https://api.github.com/repos/GenFirst/react-twitter-auth/issues/16","id":384867872,"user":{"login":"Tremus","id":19359682,"avatar_url":"https://avatars2.githubusercontent.com/u/19359682?v=4","gravatar_id":"","url":"https://api.github.com/users/Tremus","html_url":"https://github.com/Tremus","followers_url":"https://api.github.com/users/Tremus/followers","following_url":"https://api.github.com/users/Tremus/following{/other_user}","gists_url":"https://api.github.com/users/Tremus/gists{/gist_id}","starred_url":"https://api.github.com/users/Tremus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tremus/subscriptions","organizations_url":"https://api.github.com/users/Tremus/orgs","repos_url":"https://api.github.com/users/Tremus/repos","events_url":"https://api.github.com/users/Tremus/events{/privacy}","received_events_url":"https://api.github.com/users/Tremus/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T05:26:45Z","updated_at":"2018-04-27T05:26:45Z","author_association":"NONE","body":"Sorry, I got sidetracked and forgot  to report back here. Yes, it was an error coming from my **server**, not a problem with _react-twitter-auth_"}}
{"actor":{"display_login":"Tremus"}}