Ask Your Question
1

Can sage tweet?

asked 2011-08-17 18:59:53 -0500

Bill gravatar image

How can I tell sage to make a twitter post?

edit retag flag offensive close merge delete

Comments

Do we want Sage to become like emacs?

benjaminfjones gravatar imagebenjaminfjones ( 2011-08-18 06:47:35 -0500 )edit

I'm not sure what you mean, @benjaminfjones, but I don't think there is any reason that sage shouldn't be able to interface with X, regardless of what X is.

Bill gravatar imageBill ( 2011-08-18 12:30:56 -0500 )edit

Sorry, the comment was meant to be humorous. http://www.emacswiki.org/emacs/WhyUseEmacs

benjaminfjones gravatar imagebenjaminfjones ( 2011-08-18 12:52:57 -0500 )edit

Here are the results of the tweeting, if anyone is interested: http://twitter.com/#!/homologyNetwork

Bill gravatar imageBill ( 2011-08-21 15:25:36 -0500 )edit

I also got twitpic to work with Sage: http://twitpic.com/photos/homologyNetwork

Bill gravatar imageBill ( 2011-08-21 15:32:26 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
1

answered 2011-08-18 04:46:49 -0500

niles gravatar image

I don't think there's an existing functionality for this. I would try doing it by interfacing with a python application for sending tweets. Here was my first Google hit for this. There might be some people on sage-marketing interested in this too :)

edit flag offensive delete link more

Comments

Thanks, Niles. I'll give this a shot!

Bill gravatar imageBill ( 2011-08-18 05:31:17 -0500 )edit

After a little effort, I got it to work! I had the same problem getting sage to see the python libraries as I had here: http://ask.sagemath.org/question/685/read-from-serial-port but the same fix got sage to see the tweepy library.

Bill gravatar imageBill ( 2011-08-18 12:30:02 -0500 )edit

Glad to hear it!

niles gravatar imageniles ( 2011-08-18 14:07:08 -0500 )edit
1

answered 2011-08-18 05:16:15 -0500

schilly gravatar image

back then when twitter supported simple authentication it was very easy. you were even able to twitter in linux from the terminal via curl. now you need http/post on top of oauth.

edit flag offensive delete link more
0

answered 2011-08-18 05:43:10 -0500

Simon King gravatar image

Sage can send e-mails. Is twitter so much different?

edit flag offensive delete link more

Comments

That said, it seems that e-mailing does not work. Just for fun, I tried to send me an e-mail from Sage. There was a warning concerning the use of a deprecated module, and the e-mail has not arrived. Moreover, the doc string of the "email" function is broken (wrong formatting, that must look horrible in the reference manual).

Simon King gravatar imageSimon King ( 2011-08-18 09:33:04 -0500 )edit

I've noticed the same thing, @Simon King.

Bill gravatar imageBill ( 2011-08-18 11:18:55 -0500 )edit

probably the 1st thing to try to fix it is to update twisted to the current version 11. (we run version 9, still)

Dima gravatar imageDima ( 2011-08-18 19:48:56 -0500 )edit
0

answered 2011-08-18 02:21:06 -0500

kcrisman gravatar image

updated 2011-08-18 04:36:43 -0500

niles gravatar image

This doesn't really answer your question (you mean sending a tweet of your own), but it's useful to point out that Sage does have a Twitter feed.

edit flag offensive delete link more

Comments

Right. I'm looking to make my sage installation send a tweet from the command line.

Bill gravatar imageBill ( 2011-08-18 04:44:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-08-17 18:59:53 -0500

Seen: 169 times

Last updated: Aug 18 '11