How to use LaunchBar for Twitter

Sharing and discussing custom actions for LaunchBar
ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: How to use LaunchBar for Twitter

Post by ptujec » Thu Jan 13, 2011 9:23 am

aristidesfl wrote:took ptujec's script and added a few things:
- Keychain support
- Twitter icon on growl notifications (You need to have the free Twitter.app in your Applications forlder)
- goo.gl url shortening service

http://forums.obdev.at/viewtopic.php?f=24&t=5347

doesn't work here.

aristidesfl
Rank 3
Rank 3
Posts: 120
Joined: Sat Feb 27, 2010 12:54 am

Re: How to use LaunchBar for Twitter

Post by aristidesfl » Thu Jan 13, 2011 9:24 am

Any errors?
Did you put the info in the keychain?
Does it show the growl notification?

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: How to use LaunchBar for Twitter

Post by ptujec » Thu Jan 13, 2011 9:41 am

aristidesfl wrote:Any errors?
Did you put the info in the keychain?
Does it show the growl notification?

Yeah, I was wondering how you got your keychain entry. But you did that manually, right? ;)
Works fine now.
The good thing is that you can share your script without accidentally giving away your password. Maybe I should add the keychain part to the script with the necessary directions.

aristidesfl
Rank 3
Rank 3
Posts: 120
Joined: Sat Feb 27, 2010 12:54 am

Re: How to use LaunchBar for Twitter

Post by aristidesfl » Thu Jan 13, 2011 9:51 am

yes I did it manually. There are instructions in the beginning of the script.

It's never good to have plain passwords laying around.. although this one is not critical..

Let's hope someone comes up with Oauth in applescript so we can drop this proxy bullshit

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: How to use LaunchBar for Twitter

Post by ptujec » Thu Jan 13, 2011 11:47 am

aristidesfl wrote:yes I did it manually. There are instructions in the beginning of the script.

It's never good to have plain passwords laying around.. although this one is not critical..

Let's hope someone comes up with Oauth in applescript so we can drop this proxy bullshit

I updated the script and the directions.

beerich
Rank 4
Rank 4
Posts: 161
Joined: Thu Apr 05, 2007 11:05 am
Location: Toronto

Re: How to use LaunchBar for Twitter

Post by beerich » Thu Jan 13, 2011 11:48 am

Supertweet also has basic auth:

http://www.supertweet.net/

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: How to use LaunchBar for Twitter

Post by ptujec » Thu Jan 13, 2011 11:54 am

beerich wrote:Supertweet also has basic auth:
http://www.supertweet.net/

Go to the first page and see what we are using now. ;)

beerich
Rank 4
Rank 4
Posts: 161
Joined: Thu Apr 05, 2007 11:05 am
Location: Toronto

Re: How to use LaunchBar for Twitter

Post by beerich » Thu Jan 13, 2011 12:02 pm

Ah right. I've integrated Supertweet.net into my apps as well. Gotta love it.

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: How to use LaunchBar for Twitter

Post by ptujec » Fri Jun 08, 2012 10:29 pm

If you are running the latest App Store version of Growl (1.4) and Twitter for Mac you can replace the "on growlNotify" part with this code.

Now if you click the Notification it will bring up your timeline in Twitter for Mac. Not that it would be necessarily helpful but I thought I share it anyways cause its a neat detail.

Code: Select all

 on growlNotify(grrTitle, grrDescription, grrPriority)
   tell application "Growl"
      notify with name "Alert" title grrTitle description grrDescription priority grrPriority application name "Tweet" callback URL "twitter://timeline"
   end tell
end growlNotify

Post Reply