0
Fixed

Twitter using #hashtags doesn't work

Ben Coley 11 years ago updated by martinbeeby 11 years ago 1

If you use a #hashtag then it searches for the text, rather than #text.  Example, I set up a Twitter group to use #astonmartin, but instead of returning all tweets with #astonmartin in them, it returns tweets from users with names like 'iloveastonmartins' or 'astonmartin_owner', in other words it ignores the # when it submits the JSON query to Twitter :-)

Answer

Answer
Fixed

This is now fixed on the live site

Wrote a fix for this (sits inside doTwitterUpdate in provider.js, after if(user) {...} block:

 

<code>

 

if ((user == null) || (user == ""))

     user = "#";

search = search.trim();

 

</code>

 

As in the case of @astonmartin, user = "from:astonmartin" and search = "",

but in the case of #astonmartin, user = "" and search = " astonmartin".

 

Hope this helps!

Answer
Fixed

This is now fixed on the live site