You probably need to add .json to the search script tag, i.e. <script type="text/javascript" src="http://search.twitter.com/search.json?q=%23xen"></script>
-Chad On Tue, Jun 23, 2009 at 10:43 AM, xenuser<[email protected]> wrote: > > I have been reading over these discussion forums and searching the web > and was able to create a simple html javascript code that produced a > list of tweets from my user-id: > > <div id="twitter_div"> > <ul id="twitter_update_list"></ul> > </div> > > <script type="text/javascript" src="http://twitter.com/javascripts/ > blogger.js"></script> > <script type="text/javascript" src="http://twitter.com/statuses/ > user_timeline/xen_com_mgr.json?callback=twitterCallback2&count=5"></ > script> > > I have been trying to take this one step further and instead of > displaying tweets based on my user-id; I would like to use a search on > a hashtag (e.g. #23). I have the following code which is going to > search.twitter but the results are not being produced. Not sure why? > > div id="twitter_div"> > <ul id="twitter_update_list"></ul> > </div> > > <script type="text/javascript" src="http://twitter.com/javascripts/ > blogger.js"></script> > <script type="text/javascript" src="http://search.twitter.com/search?q= > %23xen"></script> > > I am not a Javascript expert so perhaps I am doing something wrong > with that? Appreciate the assistance. >
