var sdksocialize = require('it.scosft.sdksocialize'); sdksocialize.init({ "socializeKey" : "SOCIALIZE-KEY", "socializeSecret" :"SOCIALIZE-SECRET", "twitterConsumerKey" :"TWITTER-CONSUMER", "twitterConsumerSecret":"TWITTER-CONSUMER-SECRET", "pinterestApp":"PINTEREST-KEY", "facebokAppID":"FACEBOOK-APP-ID" }); function doClick(e) { alert($.label.text); } var testView = Ti.UI.createView({ width:Ti.UI.FILL, height:250, backgroundColor:'blue', top:50 }); var bar3 = sdksocialize.createBarView({ height:44, width:Ti.UI.FILL, image:"http://vangle.cdnscsoft.com/image/cache/data/borse/buste/borsa-in-pelle-fiorita-390x390.jpg", url:"http://shop.vangle.it/store", name:"Vangle", description:"Ciao ciaoc iao ciao caio", bgColor:'green', alpha:0.8,