Hashtags from UI

Ok I have a good question - if I create a UI on a scene, a button that can be used to take a snapshot. When I go to share that snapshot to Twitter, is there a way of having an embedded hashtag, apart from the #ZapparPowered? This would be amazingly useful, I suspect quite easy to do - but how?

Thanks

1 Like

You mean a custom Tag? Yeah, it’s easy, you’ve to ways of doin this:

By code (just pass a string into parameters):

image

And by Device node:

image

image

att, HigĂŁo.

1 Like

It doesn’t seem to be working, I can change the tag under device but I still get #ZapparPowered when trying to post to social media…

1 Like

Hi @technology and thank you @higor!

The easiest way to change the snapshot message is to pass in the string value you would like to add into the Z.device.snapshot() function. Much like @higor explained and kindly screenshotted.

CustomHash

Please note that some share methods, such as Facebook, choose to ignore this message and present an empty dialog to the user.

Hope this helps.
George

2 Likes

Also using this on Whatsapp’s iOS version, the application prefer to ignore the image and mantein just the text… So… Have this advise xD

att, HigĂŁo.

Hi George
Thanks for replying. So presumably #CustomHash should be changed to whatever hashtag I want it to be?

Best

1 Like

So this code works in Studio?

1 Like