How do I take a snapshot and add it on Google sheet?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Kids Game
$49 USD
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • Hi everyone,

    I took this great tutorial from dop2000

    construct.net/en/tutorials/sending-data-construct-23-1447

    And combine with the example Camera Input I have this one:

    drive.google.com/drive/folders/11DOM53SNGai0GMOYWzSmTwnt6EU9PhDZ

    You can find the .c3p and the script inside

    I would like to get the snapshot and insert it in Google sheet when pressing Submit but I always got error.

    I tried to find that error on Google but hopeless.

    Appreciate with all your help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would like to get the snapshot and insert it in Google sheet when pressing Submit but I always got error.

    I tried to find that error on Google but hopeless.

    Appreciate with all your help.

    what is the error you get?

    tutorial has some comments from other users

    such as

    EDIT: False alarm, it works! If non-english language is set in your Google Sheets, then you should rename your sheet to "Sheet1"

    not sure if is the case... here .... he seems to have a surtain error while others another one,try replacing line 73

    var fileUrl = "https://drive.google.com/uc?export=view&id="+fileId;

    to this

    var fileUrl = "https://drive.google.com/file/d/"+fileId+"/preview";

    or to this

    var fileUrl = "https://drive.google.com/file/d/"+fileId+"/view";

    not sure if will help but ehm... if im not mistaken

    https://drive.google.com/uc?export=view&id=

    have been deprecated by google and replaced with preview

    however it might be some privileges you are missing from the tutorial.

  • Hi

    Thanks for reply, it is not solve yet.

    I have tried many ways to change the script but it still error

    It can insert other info except the image.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)