Project: titanium
Issue TIMOB-18712: Facebook module: upgrade iOS Facebook SDK and improve requestDialog
There is a request on github that we should expose the 'resultURL' from presentRequestDialog method. Also, we should upgrade the Facebook sdk in the iOS module from 3.21.1 to 3.23.1. {code} var fb = require('facebook'); var win = Ti.UI.createWindow({	title: 'RequestDialog',	backgroundColor:'#fff',	fullscreen: false }); var requestDialog = Ti.UI.createButton({	title: 'Request Dialog',	top: 180, left: 10, right: 10, height: 40 }); requestDialog.addEventListener('click', function() {	fb.presentSendRequestDialog(	{message: 'Go to https://appcelerator.com/'},	{data: "{\"badge_of_awesomeness\":\"1\"," + "\"social_karma\":\"5\"}"}); }); fb.addEventListener('requestDialogCompleted', function(e) {	if (e.success) {	alert('Request dialog completed. Returned URL is ' + e.resultURL);	}	else if (e.cancelled) {	alert('Request dialog cancelled');	}	else {	alert('error ' + e.error);	} }); win.add(requestDialog); win.open(); {code}
Story points: 5