Twittering with the Wolfram Language on the Raspberry Pi

Newly included in the Wolfram Language is the ability to send “tweet” using the SendMessage function. Its syntax is straightforward:

SendMessage[ "Twitter", "A tweet from the Wolfram Language on the Raspberry Pi!"]

Evaluating this will bring up an authorization dialog (once) to allow the Wolfram Language to send tweets on your behalf:

Click on ‘Done’ after entering the access key and the tweet will appear in your twitter stream:

12 Likes

Hi,

I have been trying to do this on my pi, but the request keeps failing with invalid access token. Do I need to request x_auth access on Twitter?

This is possible from the command line version?

Not yet - SendMessage requires a front end to work.

Will SenMessage work for Facebook too? I am getting an error for now…