抛出异常:System.Net.Http.Formatting.dll 中的“System.Net.Http.UnsupportedMediaTypeException”
抛出异常:mscorlib.dll 中的“System.AggregateException”
Dim serializer As New ManateeSerializer
TrelloConfiguration.Serializer = serializer
TrelloConfiguration.Deserializer = serializer
TrelloConfiguration.JsonFactory = New ManateeFactory()
TrelloConfiguration.RestClientProvider = New WebApiClientProvider()
TrelloAuthorization.Default.AppKey = "[My app key]"
TrelloAuthorization.Default.UserToken = "[my app secret]"
Dim boardId As String = "56425ef7de9eb12872b4a662"
Dim Board As New Board(boardId)
Console.WriteLine(Board)
这是我通过 API 访问 Trello 的第一步,所以我确定我一定遗漏了一些重要的东西。应用程序编译得很好,只要我不引用“板”代码就可以正常执行。
我不太清楚“boardId”应该是什么?从 Trello API 网站的卡片中获得 JSON 示例?