If you have the Vision Cam, you can just scan the appropriate cards from this list.
http://pinataisland.info/viva/Learn_trick_cardsMake sure you get the "a pinata learned a new trick" popup notice, or it didn't work.
Scan both cards for any 10 pinatas you currently have, and you're done!