{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/381","labels_url":"https://api.github.com/repos/spotify/ios-sdk/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/spotify/ios-sdk/issues/381/comments","events_url":"https://api.github.com/repos/spotify/ios-sdk/issues/381/events","html_url":"https://github.com/spotify/ios-sdk/issues/381","id":92980113,"number":381,"title":"What is the token swap method in Beta 9?","user":{"login":"hamzahashmi","id":6000609,"avatar_url":"https://avatars.githubusercontent.com/u/6000609?v=3","gravatar_id":"","url":"https://api.github.com/users/hamzahashmi","html_url":"https://github.com/hamzahashmi","followers_url":"https://api.github.com/users/hamzahashmi/followers","following_url":"https://api.github.com/users/hamzahashmi/following{/other_user}","gists_url":"https://api.github.com/users/hamzahashmi/gists{/gist_id}","starred_url":"https://api.github.com/users/hamzahashmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamzahashmi/subscriptions","organizations_url":"https://api.github.com/users/hamzahashmi/orgs","repos_url":"https://api.github.com/users/hamzahashmi/repos","events_url":"https://api.github.com/users/hamzahashmi/events{/privacy}","received_events_url":"https://api.github.com/users/hamzahashmi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-04T06:53:39Z","updated_at":"2015-07-25T01:19:26Z","closed_at":null,"body":"In spotify_token_swap.rb it explains that you pass your token swap URL to the token swap method, however there doesn't seem to be any information on that method in the API documentation. Do we now just have to set the tokenSwapURL property? \r\n\r\nI have played around with the api while running spotify_token_swap.rb(I set the client_id, secret, and callback url appropriately), but it does not seem to be getting pinged, even in the Basic Auth example that was provided in the SDK when run through the iOS simulator. How exactly do we do the exchange for the access token? "},"comment":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/comments/124781894","html_url":"https://github.com/spotify/ios-sdk/issues/381#issuecomment-124781894","issue_url":"https://api.github.com/repos/spotify/ios-sdk/issues/381","id":124781894,"user":{"login":"hamzahashmi","id":6000609,"avatar_url":"https://avatars.githubusercontent.com/u/6000609?v=3","gravatar_id":"","url":"https://api.github.com/users/hamzahashmi","html_url":"https://github.com/hamzahashmi","followers_url":"https://api.github.com/users/hamzahashmi/followers","following_url":"https://api.github.com/users/hamzahashmi/following{/other_user}","gists_url":"https://api.github.com/users/hamzahashmi/gists{/gist_id}","starred_url":"https://api.github.com/users/hamzahashmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamzahashmi/subscriptions","organizations_url":"https://api.github.com/users/hamzahashmi/orgs","repos_url":"https://api.github.com/users/hamzahashmi/repos","events_url":"https://api.github.com/users/hamzahashmi/events{/privacy}","received_events_url":"https://api.github.com/users/hamzahashmi/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T01:19:26Z","updated_at":"2015-07-25T01:19:26Z","body":"Hi, sorry for the late response. I decided to use the SPTAuthViewController which is what I think Spotify wants us to use, and that calls spotify_token_swap.rb"}}