Twitter?

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Twitter?

Post by Me_again » Tue Jan 13, 2009 3:31 am

Has anyone tried created a twitter upload routine with macroscheduler? (Third party question, I don't use the site myself.)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Jan 13, 2009 9:10 am

There's a Twitter API. But if you were logged in and set it to remember you all you need do is browse to a URL that looks like this:

http://twitter.com/home/?status=Uploaded by Macro Scheduler

So you could just ExecuteFile it. Or do it silently with a bit of VBScript:

Code: Select all

VBSTART
Sub OpenPageWaitAndQuit(URL)
  Dim IE
  Set IE = CreateObject("InternetExplorer.Application")
  IE.visible = 0
  IE.navigate URL
  do while IE.Busy
  loop
  IE.Quit
End Sub
VBEND
VBRun>http://twitter.com/home/?status=Uploaded by Macro Scheduler
As stated that assumes you have IE set to remember you. Otherwise I guess you'll need to use the Twitter API:
http://apiwiki.twitter.com/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue Jan 13, 2009 3:50 pm

Thanks for the suggestion. It looks like it might work directly with HTTP POST, and it does work with CURL which would be pretty easy to automate.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Mon Apr 27, 2009 10:02 pm

I note that you have recently posted a POST solution in your blog http://www.mjtnet.com/blog/2009/04/20/t ... itter-api/

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts