componentDidMount() {
let token = this.getAccessToken('access_token');
let config = {
  headers: {
    'Access-Control-Allow-Origin': '*',
    'Content-Type': 'application/json',
    Accept: 'application/json'
  }
}
if (token) {
  axios.get('https://api.instagram.com/v1/users/self/?access_token=' + token, config)
    .then(res => {
      console.log(res)
    })
    .catch(err => {
      console.log(err)
    })
}
试图调用 Instagram 的 API,但我不断收到此错误:
我正在使用react。
任何帮助都会很棒。
