Hi Guys, After reading a few solutions, i have found a successful way of opening FB and Twitter apps on iOS and Android.
If the app is installed, it opens the app and goes to the profile, if not, it goes to the profile on the social website.
This is a multi-platform function which works well.
I saved the Facebook and twitter ID's in the Alloy.Globals but you could just type them instead.
// open twitter var openTwitter = function(){ new Social('twitter://user?id='+Alloy.Globals.twitterID, 'http://twitter.com/account/redirect_by_id/'+Alloy.Globals.twitterID); }; // open facebook var openFacebook = function(){ new Social('fb://profile/'+Alloy.Globals.facebookID, 'http://facebook.com/'+Alloy.Globals.facebookID); }; function Social(appUrl, webUrl) { if (Ti.Android){ try { Ti.API.info('Trying to Launch APP via Intent'); var intent = Ti.Android.createIntent({ action: Ti.Android.ACTION_VIEW, data: appUrl }); Ti.Android.currentActivity.startActivity(intent); } catch (e){ Ti.API.info('Trying to Launch WEB via Intent'); var intent = Ti.Android.createIntent({ action: Ti.Android.ACTION_VIEW, data: webUrl }); Ti.Android.currentActivity.startActivity(intent); } }else{ if(Titanium.Platform.canOpenURL(appUrl)) { Ti.Platform.openURL(appUrl); } else { Ti.Platform.openURL(webUrl); } } }I hope its useful to some of you!