title: SpreadsheetApp to Fusion Tables - End to End Tutorial
body: <p>I've been wrestling with this for a few days on-and-off, and have read many many helps and articles on the topic, but some are apparently out of date, and all appear to be assuming certain required steps along the way. Here's an example:</p>
  
  <p><a href="https://github.com/entaq/GoogleAppsScript/tree/master/FusionTables" rel="nofollow">https://github.com/entaq/GoogleAppsScript/tree/master/FusionTables</a></p>
  
  <p>It assumes you have a token passed to the app via the DoGet, and have all the OAuth settings in place.</p>
  
  <p>Now I may be alone here, but when it comes to OAuth (which appears essential), the do
  cumentation seems to weave and wind but doesn't provide specific leads as to the choices required (what kind of Client ID do I need? 'web app' or 'service account'?).</p>
  
  <p>Am I over-complicating things? I can get <em>a</em> token, but when I send the request, the </p>
  
  <pre><code>{ "domain": "global", "reason": "authError", "message": "Invalid Credentials"
  </code></pre>
  
  <p>I've scoured the web for an idiot's guide, but this one eludes me. Any suggestions out there?</p>