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:

https://github.com/entaq/GoogleAppsScript/tree/master/FusionTables

It assumes you have a token passed to the app via the DoGet, and have all the OAuth settings in place.

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'?).

Am I over-complicating things? I can get a token, but when I send the request, the

{ "domain": "global", "reason": "authError", "message": "Invalid Credentials"

I've scoured the web for an idiot's guide, but this one eludes me. Any suggestions out there?

有帮助吗?

解决方案

There's now a native Fusion Tables service in Apps Script. That eliminates the need for the the OAuth dance and in general provides a much cleaner experience.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top