Did you tried with the code posted in this post? The code between RPI 2 and 3 should be the same.
https://community.thinger.io/t/figuring-out-thinger-platform-to-control-raspberry-pi-led/113/12
Please, post any error you get so I can help you in debugging the problem.