javascript - How can I permit external edits of a Map Engine DataTable? -


the flow of data here circuitous, i'm not aware of other way accomplish want do. ultimate desire have web page displaying route i've mapped out in google map engine current location being shown , updated periodically. updating google spreadsheet location data via ifttt android app. i've figured out how data via javascript on google sites website (the spreadsheet's permissions set allow url access it). additionally, have figured out correct api call make via api explorer update datatable (batchpatch). however, have not figured out how allow script update these values in datatable when activated other people visiting site (these people people permit, via google's permissions system, access site, possibly expanded share link with).

ultimately, seems google's permissions system intended people accessing , modifying own data in way. there way allow other people (or rather javascript on site) access , modify data?

maps engine doesn't have "public write" permission, can set service account (non-human / non-gmail style account) , grant permission write.

the docs describing service account authentication in maps engine here: https://developers.google.com/maps-engine/documentation/oauth/serviceaccount

typically implemented setting actions wish public (e.g. map edit) on server , have clients call server, rather making requests directly client code.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -