OAuth authentication with ruby

For anyone looking at this in the future, the problem was due to using a redirect_uri in get_token and not authorize_url. If you use it in one, you need to use it in the other.