         id = match and match[1]
         link = data.source or data.link
         text = data.message ? ''
-        if link? then text += """ <a href="#{link}">#{data.name}</a>"""
+        if link? then text += """ <a href="#{link}">#{ data.name or 'link' }</a>"""
 
         new FacebookStatus id, data.from.name, null, data.created_time, text, data, data.from.id
 

    pattern: /^FB:(.*)$/
    fun: (_, name) -> new FacebookTimeline name

extend Chorus, {FacebookStatus, FacebookTimeline}


class FacebookStatus extends Status
    constructor: (id, username, avatar, date, text, raw, @userid) ->
        date = new Date().setISO8601(date)

        super id, username, avatar, date, text, raw

    getStreamUrl: -> "http://facebook.com/profile.php?id=#{@userid}"
