Next: , Previous: Direct messages, Up: Top


6 Tiny URLs

To get the TinyURL of a URL, use get-tinyurl. This can be used with update, reply-to, @reply-to, or send-message. All these functions actually take a format controlled string as the last required argument, and its corresponding args as the rest args to this string.

     ;; Returns a string containing the TinyURL of the given URL.
     (twit:get-tinyurl "http://chaitanyagupta.com")
     
     ;; Using get-tinyurl with update
     (twit:update "This is a cool place: ~A" (twit:get-tinyurl "http://common-lisp.net"))