orgtheory.net

twitter bleg

How can I send an old tweet to myself as an email? In other words, if I see a tweet from last year from a buddy, how can I send it to my email account?

Adverts: From Black Power/Grad Skool Rulz

Written by fabiorojas

December 12, 2011 at 8:57 pm

Posted in fabio, mere empirics

14 Responses

Subscribe to comments with RSS.

  1. Click on the timestamp, copy the URL, paste into e-mail.

    Like

    Jacob T. Levy

    December 12, 2011 at 9:04 pm

  2. Jacob: I mean send the twitter as text, not the URL.

    Like

    fabiorojas

    December 12, 2011 at 9:08 pm

  3. I don’t understand — does copy and paste not work?

    You can email tweets directly from Echofon/Twitter apps for iOS, I think.

    Like

    Trey

    December 12, 2011 at 9:13 pm

  4. I want to scrape a tweet for content analysis. Problem: the text of the tweet does not appear in the HTML code. The content is called.

    Possible solution: email the text of the tweet to myself.

    Like

    fabiorojas

    December 12, 2011 at 9:14 pm

  5. The API is best for that stuff, but for a single tweet, it looks like you can find the text in the div with class “tweet-text js-tweet-text.”

    Like

    Trey

    December 12, 2011 at 9:29 pm

  6. My workflow relies on html because I’m too lazy to learn the API.
    http://codeandculture.wordpress.com/2011/03/01/scraping-twitter/

    Also, I don’t know what you’re talking about that “the text of the tweet does not appear in the HTML code.” Try this little experiment, read a tweet, then “view source” and command-F to find the text you just read. I guarantee you it’s somewhere in there.

    Like

    gabrielrossman

    December 12, 2011 at 9:41 pm

  7. @gabriel:

    Try it yourself. “View source” shows that function that calls the tweet.

    Like

    fabiorojas

    December 12, 2011 at 10:01 pm

  8. fabio,
    i did try it on my end and it worked w the URLs I had
    can i see the URL you’re using?

    Like

    gabrielrossman

    December 12, 2011 at 10:05 pm

  9. Ah, I see the problem. Tweets that start with a user’s name do not have the raw text of the tweet in the source.

    Like

    Trey

    December 12, 2011 at 10:10 pm

  10. Could this work for you? http://digestly.com/

    Like

    Patricia Ledesma

    December 12, 2011 at 10:15 pm

  11. This R code should get most of your tweets and store them in an R list object:

    install.packages(“twitteR”)
    library(twitteR)

    fabio <- userTimeline('fabiorojas', n = 450)

    Substitute user name as needed

    Like

    Trey

    December 12, 2011 at 10:17 pm

  12. Or perhaps this tool, which allows for lists and allows filtering by keywords: http://listimonkey.com/

    Like

    Patricia Ledesma

    December 12, 2011 at 10:18 pm

  13. The power of blogging! We (my student and I) will try these to see what works.

    Like

    fabiorojas

    December 12, 2011 at 10:19 pm

  14. […] I’d discussed scraping Twitter using Bash and Perl. Then yesterday on an orgtheory thread Trey mentioned the R library TwitteR and with some help from Trey I worked out a simple script that […]

    Like


Comments are closed.

%d bloggers like this: