I’m running a Drupal 6 site and am looking to get this behavior in a sidebar for any story URL you happen to be on.
To generate this code, I went to the Widgets in Twitter and created a Search widget for one specific URL.
I then altered that code to replace the sample URL with a php variable that was the current page’s path.
But instead of the new URL I get the tweets for the URL I originally created the widget with.
I assume this is because it is created on Twitters end and referenced through the data-widget-id
Is there another way I can accomplish this, so that when a user looks at a story they can see who is tweeting it?