Basically am facing the same problem as "How do I use exportlinks from javascript to download a Gdoc using Drive SDK?"
So that means I can't do an Ajax call from my website to download a Google Spreadsheet and use it as a database?
I was able to do the same for downloading Images using the downloadUrl from my drive and it works.
Can someone tell me How to do the iframe proxy workaround for the above problem that someone had mentioned in the question I referenced?
$.ajax({url:'https://spreadsheets.google.com/feeds/download/spreadsheets/Export?
key='+fileid+'&exportFormat=csv&v=3&access_token='+accToken.access_token,
crossDomain:'true',}).
done( function(data){alert(data);});
I get the following error :
XMLHttpRequest cannot load https://spreadsheets.google.com/feeds/download/spreadsheets/Export? key=ABCDEF&exportFormat=csv&v=3&access_token=acctokenhere. Origin http://mywebsite.in is not allowed by Access-Control-Allow-Origin.