#ZapparPowered how to change?

Hi All,
Anyone know how to change the default hashtag (#ZapparPowered) to a custom one,
when sharing a pic from the 3d Photo Feature?

I have changed the properties in the device tab but it doesn’t seem to change when you actually share?

Thanks
Stephen

2 Likes

Hi Stephen,

You have discovered an oversight with our 3D Photo Feature template/example.

While we provide a Z.Device object in the Hierarchy (called device), it’s not actually used in the buttonCode script where the picture taking is handled.

Please follow these steps to rectify the issue:

  1. Select the buttonCode script in the Hierarchy.
  2. Drag the device node into the script and insert it as a variable (it should create a variable called device).
  3. Find the line of code Z.device.snapshot(); and replace Z.device with the variable name of the device node variable, in this case, device. The code should then read device.snapshot();
  4. Use the device node in the Hierarchy to change the snapshotMessage to whatever you would like.

Please bear in mind that some social media apps, namely Facebook, ignore this default message when sharing to them.

Thanks,
Mark

3 Likes

Awesome, worked a treat, thanks for your help Mark!

1 Like