/ Published in: AppleScript
You need to replace [replace_with_bitly_username] and [replace_with_bitly_api_key] to make this snippet work. Test in AppleScript code editor if you're experiencing problems in TextEpander such as the snipped being output instead of the bit.ly URL