How do you automate Twitter?

Help me automate twitter

  • So i've recently come to grasp the power of IFTTT and twitter together. I'd like to experiment with some slightly more advanced twitter automations.I'd like to make a script to use twitter to directly access articles using my institution's URL. More below the fold Here's the issue. This journal (http://annals.org/) has an RSS feed that I like. The problem is, to get the article, you need to log in to my academic institution and find the Dx-Doi and - yeah thats like 3 clicks too many. My institution's setup is that you can actually insert the DOI into the URL and it will search for it (after logging on). I.e. http://myinstution/get.php/?=doi-(Insertdoihere) will work What'd like to do is this: 1. RSS http://annals.org/rss/site_25/ArticleClientType_6860.xml of journal website is updated 2. Script follows RSS link and extracts the doi (usually displayed prominently http://annals.org/article.aspx?articleid=2381595) 3. Tweet: "Hey, check out this link" and then have it link to http://myinstution/get.php/?=doi- Is this hard to do? I should clarify that in no way am I bypassing the academic instiution's log-in - the person is still prompted to log in. Thanks!

  • Answer:

    This doesn't necessarily help with the automation part, but your library might have made (or you can make) a bookmarklet to get access more quickly: https://www.google.com/search?q=bookmarklet+library&ie=utf-8&oe=utf-8. They might have also made (or you can make) a http://libx.org/ to get access more quickly. You might still have to navigate to the publisher page, but then you could click a button to authenticate. If you like to read articles on a mobile device, you might also check whether your library has subscribed to http://thirdiron.com/. That pushes new Tables of Contents from your favorite journals (depending on publisher) to your device, but your authentication is saved, so you can just click through to whatever looks interesting.

cacofonie at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

That's really neat! So I do have a bookmarklet, I just need to find a way to transform the RSS link and append it to this address: http://mylib.myuniversity.ca/login?url= and have that be tweeted out. Seems easier but still not 100% sure how to do it.

cacofonie

You bet this can be done. I would suggest browsing the twitter API documentation, specifically the https://dev.twitter.com/rest/public for automating the posting. To check for new posts you might have to use a bit of coding, but there are lots of http://www.pythonforbeginners.com/feedparser/using-feedparser-in-python http://ruby-doc.org/stdlib-1.9.3/libdoc/rss/rdoc/RSS.html.

z11s

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.