lib/login_system.rb
def direct_messages( since_id = nil, max_id = nil , count = nil, page = nil )
    self.twitagent.direct_messages( since_id, max_id, count, page )
  rescue => err
    RAILS_DEFAULT_LOGGER.error "Failed to get direct_messages via OAuth for #{logged_in_user.inspect}"
    flash[:error] = "Twitter API發生錯誤 (getting direct_messages)"
    return
  end
# Twitter REST API Method: direct_messages
Twitter REST API Method: direct_messages
Twitter REST API Method : direct_messages
def direct_messages( since_id = nil, max_id = nil , count = nil, page = nil )
    self.twitagent.direct_messages( since_id, max_id, count, page )
  rescue => err
    RAILS_DEFAULT_LOGGER.error "Failed to get direct_messages via OAuth for #{logged_in_user.inspect}"
    flash[:error] = "Twitter API發生錯誤 (getting direct_messages)"
    return
  end
def direct_messages ( since_id = nil , max_id = nil , count = nil , page = nil ) self . twitagent . direct_messages ( since_id , max_id , count , page ) rescue => err RAILS_DEFAULT_LOGGER . error "Failed to get direct_messages via OAuth for #{logged_in_user.inspect}" flash [ :error ] = "Twitter API發生錯誤 (getting direct_messages)" return end
Twitter REST API Method: direct_messages
Twitter REST API Method : direct_messages
since_id
max_id
count
page