When I tried changing the locatorURL on the common.js file on social media template downloaded form arcgis.com it does not work. Can somebody help me with this.
if you look at the function locateQuery (inside main.js), you can see that the author of this sample isn't using a locator task from our API, but rather esri.request to pass a query to the geocoding service. im guessing the reason for this has something to do with supporting autocomplete.
unfortunately, you'll have to get a pretty good grasp on the logic of that code if you're going to take a stab at substituting your own geocoding service.