Twitter Search with Flex Builder
Line Break
Author: Theo (4 Articles) - Author Website
Theo is a SAP Integration Specialist by day and a Webdeveloper / Web App Evangelist by night. He is the creator of "I Am Bored So I blog" and he is a member of the Board of the Dutch Flex Usergroup. With his quote "Never Give Up, Never Surrender" (Actually stolen from Galaxy Quest) he fights his way through the day.
If you are building a flex Twitter app there are some things you just cannot create this app without.
Especially this function. It’s a twitter search function build with Flex Builder.
Let’s say you want to let your application users search for twitter friends. Well with this function that is possible.
The code for this is actually not big and generated with the connection wizard adobe provides within the Flex Builder.
I did no username and password handling within this small app, so you will get a Twitter / Browser popup to put in your own login information. We do not save or use this login information as this popup come directly from twitter itself.
You can easily connect to the search api by using the HTTP Service Wizard inside the Flex Builder.
You will have to use this URL to connect:
http://api.twitter.com/1/users/search.xml
And then use the q variable which stands for the search string.
When using the wizard your config should look something like this
When configurating the return type you should select the USER as root.
For more information about the Twitter Search API :
Download the Air Application here (install, rightclick application to get all the source code)
Don’t have the AIR runtime yet? Download it here
Related posts:
- Connect to Twitter from AIR example
- Flex 4 / Flash Builder 4: Repeater changed to DataGroup
- Flex 4 / Flash Builder 4: baseColor changed to chromeColor
- Connect to Google Analytics from Flash Builder
- Call Javascript function from Flex / Flash Builder (AS3)
Comments
One Response to “Twitter Search with Flex Builder”


Thanks For the Really Nice Post i was searching twitter search in Flex