           favorite tweet.id_str
             .then ->
               robot.logger.debug "auto-fav favorite id_str=#{tweet.id_str}"
-              robot.messageRoom room, tweetUrl(tweet) if room?
+              robot.messageRoom room, format(tweet) if room?
       .then null, (err) ->
         robot.logger.error err
 

#  HUBOT_AUTO_FAV_API_SECRET
#  HUBOT_AUTO_FAV_ACCESS_TOKEN
#  HUBOT_AUTO_FAV_ACCESS_TOKEN_SECRET
#
# Commands:
#   None


module.exports = (robot) ->

  showDetail = process.env.HUBOT_AUTO_FAV_SHOW_DETAIL
  apiInterval = parseInt(process.env.HUBOT_AUTO_FAV_API_INTERVAL ? '1000', 10)
  interval = parseInt(process.env.HUBOT_AUTO_FAV_INTERVAL ? '60000', 10)
  keywords = JSON.parse(process.env.HUBOT_AUTO_FAV_KEYWORDS ? '[]').map (k) ->
