Faico Posted September 26, 2011 Report Share Posted September 26, 2011 Hello, We're trying to figure out how we can create a flash file for the dynamic image server, which outputs tweets with a certain twitter hashtag. Outputting tweets from a certain user is a lot easier and we already have that working, but it seems outputting an hashtag is a lot more difficult. Any experiences? Thx in advance. Quote Link to comment Share on other sites More sharing options...
Mike Fahl Posted September 27, 2011 Report Share Posted September 27, 2011 You should be able to use the twitter search API for that. Getting the datas as JSON, seaching for #watchout, would look like this: http://search.twitter.com/search.json?q=#watchout&count=5 See the twitter search API docs for more details. Note the URL encoding of the # sign as #. Mike Quote Link to comment Share on other sites More sharing options...
Mike Fahl Posted September 27, 2011 Report Share Posted September 27, 2011 OK, so the forum engine munged that URL, trying to be helpful. Let's see if it will make it rhough without the leading http part search.twitter.com/search.json?q=#watchout&count=5 The first q parameter reads "percent", "two", "three", followed by the word watchout, where "percent", "two", "three" is the URL-encoded hash (pound) symbol #. Mike Quote Link to comment Share on other sites More sharing options...
Mike Fahl Posted September 27, 2011 Report Share Posted September 27, 2011 Nope, the forum engine ate that one too. Again the first query parameter need to have the hash symbol URL-encoded as a percent sign immediately followed by the digits 23. Mike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.