Hello, I’m developing a web application wich uses the Google Maps API to return the coordinates of any location, and I want to include the Search Widget to get any tweet of that location. But to use a widget apparently it has to be created by the Widget Generator, and it can’t be modified programatically by my site. For instance, if the code given by the generator is:
<a class="twitter-timeline" href="https://twitter.com/search?q=geocode%3A39.862832%2C-4.027323%2C15km" data-widget-id="306383978204626944">Tweets sobre "geocode:39.862832,-4.027323,15km"</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
I can’t reuse it modifing the latitud and longitud because it doesn’t work.
How can I achive this avoiding the widget generator ?
Thanks in advance,
Juan