我目前正在尝试使用Youtube API创建新主题。以下是提供的示例:
SafetyNet.SafetyNetApi.attest(googleApiClient, nonce)
我基本上使用他们的确切示例代码,但我收到的错误是:def comments_insert(service, properties, part, **params)
resource = create_resource(properties) # See full sample for function
params = params.delete_if { |p, v| v == ''}
response = service.insert_comment(part, resource, params)
end
comments_insert(service,
{'snippet.parent_id': 'pS16m0FttKk',
'snippet.text_original': ''},
'snippet')
ArgumentError - unknown keyword: snippet: