Foxtable(狐表)用户栏目专家坐堂 → 求助:不能获取钉钉accessToken


  共有2811人关注过本帖树形打印复制链接

主题:求助:不能获取钉钉accessToken

美女呀,离线,留言给我吧!
水墨青花
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:童狐 帖子:201 积分:1720 威望:0 精华:0 注册:2019/3/1 11:38:00
求助:不能获取钉钉accessToken  发帖心情 Post By:2020/12/2 17:04:00 [显示全部帖子]

获取钉钉 AcessToken,返回错误:未定义类型“DingTalk.Api.DefaultDingTalkClient”。图片点击可在新窗口打开查看

请问如何才能执行如下代码?

Dim client As DingTalk.Api.DefaultDingTalkClient = New DingTalk.Api.DefaultDingTalkClient("https://oapi.dingtalk.com/gettoken")
Dim request As DingTalk.api.request.OapiGettokenRequest = New DingTalk.Api.request.OapiGettokenRequest()
request.Appkey="dingbd9myi9y2cc9xgww"
request.Appsecret="gWIwX5rtPEMMxpue2GWjk0aGEhugahPYGrACa8R3Cak7ALXWmqQ8qHX1Eaq47qbL"
request.setHttpMethod("GET")
Dim response As DingTalk.Api.Response.OapiGettokenResponse = client.execute(request)

 回到顶部