• grahamenglish.net – Blog
  • grahamenglish.com – Artist Site

Graham English Blog Archives

Musician, Author, and Entrepreneur

  • Blog
  • Consulting

Update Twitter, Facebook, iChat, Adium, And Skype With Quicksilver

August 11, 2007 By Graham English

QuicksilverI’m a Facebook fanatic. I joined immediately after they opened to the public. In the beginning, there wasn’t much to talk about. None of my friends had joined and there really wasn’t that much I could do there. But since then, the buzz has caught my friends’ attention and Facebook’s extendibility has grown consistently, giving me a lot to play with.

Since I’ve been catching myself updating both Facebook and Twitter separately, I figured I should revisit my workflow and see if I can tweak my current level of automation.

It wasn’t difficult. I just added a couple lines of code to iQuickTwitter and now I can update Twitter, Facebook, iChat, and Skype with a single command. If you dig it, be my friend and let me know.
Graham English @ Facebook
Graham English @ Twitter

Click here to open the script in Script Editor.

If all you want is to update Facebook with Quicksilver, try this:
Click here to open the script in Script Editor.

If you try to please everyone, somebody is not going to like it.

Share on Pinterest
There are no images.

Filed Under: LifeHacks, Prose, Technology Tagged With: Apple, AppleScript, automation, Facebook, Growl, hacks, HowTo, iChat, IM, Keychain, Mac, OSX, plugins, productivity, Quicksilver, Skype, social, software, Technology, tools, tutorial, Twitter, workflow

About Graham English

Graham English is a musician, author, and entrepreneur.

Comments

  1. Michael Wilde says

    June 17, 2008 at 11:49 AM

    Graham… seem to be having a problem with URLs in the QS Tweet thing, when i tweet with a URL, nothing gets posted. seen that?

  2. Graham English says

    June 17, 2008 at 12:46 PM

    With any URL? Or does it have query parameters like & % etc? I usually use this script via Quicksilver to shorten my URLs before I tweet them:

    #!/usr/bin/env python

    usage = '''
    Takes the URL of the frontmost Safari window/tab and
    shortens using the service at metamark.net. The shortened
    URL, which starts with "http://xrl.us/", is put on the
    clipboard, ready for pasting.
    '''

    from urllib import urlopen, urlencode
    from os import popen

    # Two functions for getting and setting the beep sound.
    #def getBeep():
    # cmd = "defaults -currentHost read -g #com.apple.sound.beep.sound"
    # return popen(cmd).read()

    #def setBeep(beepFile):
    # cmd = "defaults -currentHost write -g #com.apple.sound.beep.sound "
    # return popen(cmd + beepFile).read()

    # Get the URl of the frontmost Safari window/tab though AppleScript.
    applescript = '''tell application "Safari"
    URL of front document
    end tell'''

    url = popen("osascript -e '" + applescript + "'").read().strip()

    # Get the shortened URL from Metamark.
    shortURL = urlopen("http://metamark.net/api/rest/simple",
    urlencode({'long_url':url})).read()

    # Put the shortened URL on the clipboard.
    popen('pbcopy', 'w').write(shortURL)

    # Sound the Ping alert to tell the user the shortened URL is ready.
    # Reset the alert sound after beeping.
    #oldBeep = getBeep()
    #print oldBeep
    #setBeep("/System/Library/Sounds/Ping.aiff")
    #applescript = 'osascript -e beep'
    #setBeep(oldBeep)

  3. burcak says

    July 18, 2008 at 12:26 PM

    hi Graham

    about the facebook part on your script. is it still working? because I couldn’t get it working properly.

  4. burcak says

    July 18, 2008 at 4:01 PM

    hi again

    I fixed my problem. Nothing to do with your code

    it is working like charm.

    thanks

  5. Graham English says

    July 18, 2008 at 5:26 PM

    Good. Glad you got it working. 🙂

  6. Trevor says

    October 15, 2008 at 5:13 AM

    This may be a total noob kind of question but when I navigate to /Library/Application Support/Quicksilver there is a file called Actions.plst but there is not a folder called Actions. From your post I assumed you were talking about a folder called Actions. How do I work with this?

  7. Graham English says

    October 15, 2008 at 9:12 AM

    If there’s no Actions folder, just create one.

  8. Nathan says

    January 15, 2009 at 4:48 PM

    Hmm. I was able to get this working for Twitter, but not for facebook. The script returns a growl notice saying it completed (both in the comprehensive and facebook only versions), but the FB status doesn’t update…. Any suggestions? Or has FB changed its status access somehow?

    • Graham English says

      January 15, 2009 at 6:34 PM

      Facebook changed their API. But the best way to update your FB status via Twitter is with the Twitter/Facebook app. So that part of the script has been made redundant.

  9. Victoria Web Design says

    April 1, 2010 at 1:16 PM

    Hi Graham,

    Have you heard of ping.fm? Man there are hundreds of these little apps out there, its rather confusing what the best.

    Great post btw!

    • Graham English says

      April 1, 2010 at 1:29 PM

      Thanks. I know a few folks who use it. I’ve been using FriendFeed to update everything but since they were bought by Facebook, they’ll probably eventually close doors. So I’m on the lookout.

  10. Walter Aparicio says

    September 1, 2010 at 6:31 PM

    Hi Graham:

    thanks for your code.

    It’s work great.

Graham English
  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
image title

Crank your sound up to X with Apple's premier recording software and Logic Pro X For Dummies

Read the blog
Listen to music

Archives

  • September 2014
  • July 2014
  • March 2014
  • June 2013
  • February 2013
  • January 2013
  • April 2012
  • November 2011
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005

Follow me on Twitter

My Tweets

Follow me on Facebook

Follow me on Facebook

Recent Posts

  • Final Score
  • iGrahamEnglish is just GrahamEnglish
  • Cleaning Up My Act
  • Logic Pro Mixing, Metering, And Loudness Explained
  • Attention Musicians: Comfortably Avoid Hearing Loss With Custom Fitted Earplugs

Graham is a singer/songwriter and jazz-trained keyboard player, music producer and studio musician, best-selling author of Logic Pro X For Dummies, and serial entrepreneur.

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube


  • About
  • Contact
  • Wiki
  • Legal Policy
  • Privacy Policy
  • Living Room Rules

Copyright © 2023 Graham English