문제

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