AndroidApps

How to tweet using Tasker

Screenshot_2013-05-24-14-05-53Here’s a quick and simple way to tweet to Twitter from Tasker, and it even supports photos!

This morning I had an idea for AutoVoice that required me to find a way to tweet from Tasker, including the ability to attach photos. The very first thing I tried works perfectly, so I didn’t look any further.

This method requires two extra services/components. First off, you need an account at a service like tweetymail or similar, which allows you to tweet using email. Second, you need Email Me Pro, a Tasker plug-in that allows you to send emails using a Tasker action, without any user interaction. Set up both with the same email account (I have a separate email account I use for such things), and make sure Email Me Pro is capable of sending emails with what you’ve configured.

Once that’s done, simply use the Email Me Pro plug-in action from within Tasker. Put tweetymail’s tweet address([email protected]) in the address field, and whatever text you want in the message field. You can also use variables, and they will be properly replaced before sending the email.

This also works with attachments, specifically photos. All you need to do is provide a file path to the image in the attachment field, which can also be a variable. As an example, %FOTO is a built-in Tasker variable that links to the last photo taken, and works perfectly.

I’m sure there are a dozen ways to do this, but since this works as well as it does, I’m just going to leave it be. It works with both text and images, is quick even for attachments, and requires no user interaction.

I was able to get my AutoVoice tweet feature working perfectly with this. I can now tweet using voice commands, with three possible “modes”: normal tweet, photo tweet, and photo with caption, all automatic. The result is this:

tasker banner - for some reason we don't have an alt tag here

Pocketables does not accept targeted advertising, phony guest posts, paid reviews, etc. Help us keep this way with support on Patreon!
Become a patron at Patreon!

Andreas Ødegård

Andreas Ødegård is more interested in aftermarket (and user created) software and hardware than chasing the latest gadgets. His day job as a teacher keeps him interested in education tech and takes up most of his time.

Avatar of Andreas Ødegård

14 thoughts on “How to tweet using Tasker

  • Please don’t take offense to this.

    But, @ John @ Paul when did this become Good & Tasker? I’ve been a daily reader for literally 3+years and I appreciate all you guys do. But I haven’t read a article specific for my HTC Evolte in…. Well quite some time. It’s actually a little frustrating because the phone is only a year old, still one of the best out there and the site is called Good&Evo. I know the new HTC One is new and cool but that’s not really the point and honestly not muchbbeing written about that device on here either.
    Where’s tips and tricks, Rom reviews are non existing anymore (our favorite MeanBean – No article as to why that has been dropped – has CM caught up with camera? – new cool sense 5 roms?) tweaks specific to the current evo lte and all the other articles that used to make me anxious about getting on this site every morning? Again Tasker seems cool but, probably needs to have a separate tab that has it all laid out for casual reader. (kinda like Pauls – State of Root guide he puts out every 3-4 months) .. It’s just too much info now and hard to really sort through from the beginning for that app. And maybe we can get back to writing about our beloved HTCEvolte. Heck the original evo4g gave you guys almost 3 years of material (great phone) and we all know that the LTE is an even more amazing device. Again I’m sorry, this is not a rant or someone trying to bitch. I really do appreciate all of the hard work put into this site by all of its editors. Is just my 02 cents. But I’m missing my favorite website and all the great info regarding my device it used to offer.
    Thanks again,
    Jim

    Reply
    • Avatar of Andreas Ødegård

      Tasker has its own section. It’s been a year since G&E was merged into Pocketables, so sorry to be blunt, but get used to it. If you want the G&E editors to post something specific, you can contact them using the contact page, or the contact info on every post they write; this is not the place.

      Reply
    • Thanks for the feedback. To touch on some of your points, we actually just published an article specifically about the EVO 4G LTE a couple days ago (http://pocketables.com/2013/05/google-navigation-broken-still-for-many-on-the-htc-evo-4g-lte.html). Also, many of our accessory and app reviews are written from the perspective of an EVO user, and we talk about how well they work with our EVOs (see http://pocketables.com/2013/05/irig-mic-cast-review.html and http://pocketables.com/2013/05/block-outgoing-calls-app-lets-you-loan-your-phone-in-peace.html).

      That being said, I do know our focus has evolved over the past year. G&E first started as a site devoted just to the OG EVO… later, we started including as much Sprint news and app reviews as we could… after G&E became a part of Pocketables, we decided to expand our focus even more, to cover as much Android news as possible. Part of this is because G&E is now part of something much bigger than when it first started. Part of it is because our readers have asked for that – we’ve gotten lots of comments from people who love our content, but have moved on to other devices and carriers. And part of it is because it’s looking more and more likely that the EVO line is dead.

      If you want a great Tasker intro for beginners, just look at the Tasker portal (link on the right). Tasker is all about tinkering and hacking your phone to be more awesome, which is definitely in the EVO spirit. That’s why we’ve been including more Tasker articles – they’re also some of the most popular articles on the entire site, in terms of traffic!

      However, we’ll still keep in mind that there’s an audience for some of the more EVO-specific root stuff, like ROMs, etc. Part of the problem is that Paul is the expert in that area, and he just had a beautiful baby girl. His focus has been in other places because of that, but we will still keep your ideas in mind.

      Thanks for the feedback!

      Reply
      • I appreciate that John. And yes I’m aware of Pauls new blessing. :-) (good stuff)

        I know you understand what I was getting at and appreciate you addressing my comment.

        As you know I’ve been a long time fan and I meant no disrespect.

        Reply
    • You went to the wrong portal. This post doesn’t even show up on the Good and Evo page. Please make sure you go to the right place before complaining.

      Reply
      • Avatar of Andreas Ødegård

        It did before I changed it, so that’s not his fault ;)

        Reply
  • And as pretty much always, there’s a simpler solution, just use cURL from the commandline called from Tasker via shell – no reason to give yet another service access to ones account.

    The non-photo way is easy and widely documented, and here is one for adding pictures: https://dev.twitter.com/discussions/10422

    Reply
  • I’ve used twitter’s SMS (40404). You can’t do the pictures but you can update your status pretty quick with AutoVoice.

    Also, I have used Remember the Milk’s twitter connection to add items to my to-do list with AutoVoice.

    Reply
  • Great idea! One subtle thing I noticed from your video…how did you get the IVONA Amy voice to be so responsive?! It was fast. I loved that voice, but it had a delay of around 15 seconds. I had to ditch it. With as much tinkering as you have been doing with your phone, how did you get the IVONA voice to be so fast??

    Reply
    • Avatar of Andreas Ødegård

      I actually didnt do anything to make it that way. I’ve had issues with it not initializing though, so I don’t use it as my default TTS, but rather call it through the peech engine field in the Say action independently.

      Reply
  • Avatar of Jon Walker

    Very interesting idea. I guess using # would be beyond it though?

    Reply
    • Avatar of Andreas Ødegård

      By no means. You just have to implement it dynamically, so that e.g. you can say “tag it” followed by some words which are then included as hash tags. It’s very easy to do if you’re familiar with Tasker, but unfortunately quite hard if you’re not, since it requires a bit of data processing

      Reply
  • Avatar of Jon Walker

    Yeah, the data processing side is still something I’m working towards. Thanks for the reply and it’s something I can look at when I’m a bit more familiar with tasker.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *