Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4834

XMLHttpRequest cannot load https://api.instagram.com/v1/users

$
0
0

@dubbya wrote:

I'm trying to hit an Instagram endpoint from my route...

let https://api.instagram.com/v1/users...
return Ember.$.getJSON(url).then((data) => {
            return data;
        });

When I hit this route, i get the following error:

XMLHttpRequest cannot load https://api.instagram.com/v1/users/self/followed-by?access_token=xyz. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.

I've looked this up on multiple searches and I tried using: Ember.$.ajaxSetup but I can't seem to get around this. Can someone lend a hand?

Failed Attempts:

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4834

Trending Articles