Javascript newbie here, trying to load Twitter profile images using the URLs returned by the Twitter API. All I can manage to get is the dreaded “Cross-origin image load denied by Cross-Origin Resource Sharing policy.” error.
I gather that this is a result of Twitter’s lack of support for CORS (This code was what I used). If that is the case, how would I get these images without having my server serve as a proxy?
OK, so to answer my own question – one solution is to use JSONP callbacks, which Twitter happens to support. What a hack!
[EDIT] doesn’t work for WebGL textures.