The new Paraimpu Twitter Sensor allows to query the Twitterverse for tweets labelled with specific hashtags, with the result of an automatic tweet content pushing into the Paraimpu system.
For example, it is possible to create a Twitter Sensor "saying" that we want all (and only) the new tweets that contains the tags: "#paraimpu, #on, #lights" from all Twitter users.
Moreover, I can set in the Sensor a particular Twitter user, in order to obtain only the tweets with the given hashtags AND coming from the specified user.
That Sensor opens to new Paraimpu usage scenarios, for example I can connect my Twitter Sensor to an Arduino Actuator which turns on/off or changes colors of my RGB LED lamp at home, letting me driving it from Twitter using my hashtags...the real limit it's fantasy.
Exploiting these new Paraimpu features, also it is possible to connect Twitter to Facebook.
The following tutorial shows how to.
Step 1: Create the Twitter Sensor
We want, for example, retreive only our tweets (to post on Facebook) containing the hashtag "#fb".
Click on the Twitter Sensor icon in the Parampu Sensors palette.
Fill in the creation form as following (writing your real twitter nick in the Twitter Username form field):
Click the 'Register' button: the Sensor is added to your workspace.
Step 2: Create the Facebook Actuator
Search for its icon under the Actuator section in the Paraimpu palette and click on it.
After an authentication step, the Facebook Actuator is added to your workspace.
Step 3: Connect the Twitter Sensor to the Facebook Actuator
Click on the connect arrow you can find when the mouse's over your created Twitter Sensor and select the Facebook Actuator in the dialog.
A new connection is created for you.
N.B. : Since version 0.6 of Paraimpu, the Twitter Sensor produces a JSON like the following:
Finally, just remember to activate the connection!
Try to tweet something on Twitter using the specified hashtag, in this case '#fb'. Wait for few seconds and check your Facebook Wall.