First time here? Check out the FAQ!

Ask Your Question
1

Can sage tweet?

asked 13 years ago

Bill gravatar image

How can I tell sage to make a twitter post?

Preview: (hide)

Comments

Do we want Sage to become like emacs?

benjaminfjones gravatar imagebenjaminfjones ( 13 years ago )

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 ( 13 years ago )

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

benjaminfjones gravatar imagebenjaminfjones ( 13 years ago )

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

Bill gravatar imageBill ( 13 years ago )

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

Bill gravatar imageBill ( 13 years ago )

4 Answers

Sort by » oldest newest most voted
1

answered 13 years ago

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 :)

Preview: (hide)
link

Comments

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

Bill gravatar imageBill ( 13 years ago )

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 ( 13 years ago )

Glad to hear it!

niles gravatar imageniles ( 13 years ago )
1

answered 13 years ago

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.

Preview: (hide)
link
0

answered 13 years ago

Simon King gravatar image

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

Preview: (hide)
link

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 ( 13 years ago )

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

Bill gravatar imageBill ( 13 years ago )

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 ( 13 years ago )
0

answered 13 years ago

kcrisman gravatar image

updated 13 years ago

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.

Preview: (hide)
link

Comments

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

Bill gravatar imageBill ( 13 years ago )

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: 13 years ago

Seen: 650 times

Last updated: Aug 18 '11