Ask Your Question
1

Can sage tweet?

asked 2011-08-18 01:59:53 +0200

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 13:47:35 +0200 )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 19:30:56 +0200 )edit

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

benjaminfjones gravatar imagebenjaminfjones ( 2011-08-18 19:52:57 +0200 )edit

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

Bill gravatar imageBill ( 2011-08-21 22:25:36 +0200 )edit

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

Bill gravatar imageBill ( 2011-08-21 22:32:26 +0200 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2011-08-18 11:46:49 +0200

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 12:31:17 +0200 )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 19:30:02 +0200 )edit

Glad to hear it!

niles gravatar imageniles ( 2011-08-18 21:07:08 +0200 )edit
1

answered 2011-08-18 12:16:15 +0200

Harald 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 12:43:10 +0200

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 16:33:04 +0200 )edit

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

Bill gravatar imageBill ( 2011-08-18 18:18:55 +0200 )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-19 02:48:56 +0200 )edit
0

answered 2011-08-18 09:21:06 +0200

kcrisman gravatar image

updated 2011-08-18 11:36:43 +0200

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 11:44:44 +0200 )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-18 01:59:53 +0200

Seen: 501 times

Last updated: Aug 18 '11