Vb docking with WeChat enterprises do not have friends?
Time:09-26
http://qydev.weixin.qq.com/wiki/index.php? Title=the initiative called Now a lot of enterprise registration WeChat enterprise, enterprise external interface. But like many cases are online Java, PHP, or c # code. Now I have a demand. Is the salary data. The database by WeChat enterprise phone sent to the respective personnel. Tencent also has a butt joint is introduced: http://qydev.weixin.qq.com/wiki/index.php? Title=page The send method is: http://qydev.weixin.qq.com/wiki/index.php? Title=send messages ====================== Send the message Enterprises can take the initiative to send a message to the staff, the message is restricted, Call interface, use the Https protocol, the JSON data packet format, encryption processing packets do not need to do, Currently supports text, images, voice, video, files, such as graphic message types, in addition to the type of news, other types of messages can be sent and security options, confidential information will be on watermarking, and only the recipient can read, ================================== Send the interface description Request description Https requests: POST https://qyapi.weixin.qq.com/cgi-... _token ACCESS_TOKEN= Parameter description Parameters must be Access_token is call interface certificate Permissions required Need administrator has access to the application, to the recipient touser toparty, totag view permissions, otherwise the call fails, Returns the results If the application or the recipient, the department, any labels without the permission, the failure; If the recipient, the department or label does not exist, send still does, but returned to invalid part, { "Errcode" : 0, "Errmsg" : "ok," "Invaliduser" : "UserID1", "Invalidparty" : "PartyID1," "Invalidtag" : "TagID1 "} ===================================== Docking is Https requests: POST https://qyapi.weixin.qq.com/cgi-... _token ACCESS_TOKEN= ======================== VB, we use the WEB controls. Can butt? Do you have any friends tried??
CodePudding user response:
Vb use HTTPS. How to pass parameters. And obtain parameters. For example: Https requests: GET https://qyapi.weixin.qq.com/cgi-bin/gettoken? Corpid=id& Corpsecret=secrect How to receive the return value. Https requests: POST https://qyapi.weixin.qq.com/cgi-bin/message/send? Access_token=access_token How to pass parameters: { "Touser" : "UserID1 | UserID2 | UserID3", "Toparty" : "PartyID1 | PartyID2," "Totag" : "TagID1 | TagID2," "Msgtype", "text", "Agentid" : "1", "Text" : { "Content" : "Holiday Request For Pony (http://xxxxx)" }, "Safe" : "0" } ============================ A friend in VB docking WeChat enterprise?
CodePudding user response:
I also want to know, to seek help.
CodePudding user response:
That will have a server
CodePudding user response:
Have technology with docking own server, Daniel, I only know vb, can be paid proper guidance
CodePudding user response:
A while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a box you can fill in the url, actually is also and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing good,
Then get ToUserName such as
CodePudding user response:
Do not recommend using vb, Webbrown more impossible Want to use is also using winsock And there are many need entity class and XML, json transformation Do not understand the words, the basic development of nothing.