Home > Net >  Simulation WeChat operating HttpWebRequest UserAgent
Simulation WeChat operating HttpWebRequest UserAgent

Time:04-28

WeChat inside a web application, I want to get to manipulate, but there are two conditions,
1, in WeChat browser can open; 2 must be WeChat landing can use

Online is caught by the COOKIE and then added manually; And simulate the mobile browsers can,
I use HttpWebRequest modify UserAgent but you don't succeed; Results as follows: in WeChat client, please open the link
Value is:
Mozilla/5.0 (Linux; Android 10; ANA - AN00 Build/HUAWEIANA - AN00; Wv) AppleWebKit/537.36 (KHTML, like Gecko) Version 4.0/Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045537 Mobile Safari/537.36 MMWEBID/8362 MicroMessenger/8.0.3.1880 (0 x28000335) Process/tools/WeChat arm64 Weixin NetType/WIFI Language/zh_CN/ABI arm64

Another is the way I want to, don't know how to implement, is me to generate a code, use my sweep WeChat login in, you can directly on the PC operation,
Now also don't know how to generate code, more do not know the code if the cookies to share directly in,
Type the scope=snsapi_base

His address structure:
https://open.weixin.qq.com/connect/oauth2/authorize? Appid=wx123465789 & amp; Redirect_uri=https://www. address. Com& The payload=code& The scope=snsapi_base & amp; Connect_redirect=1 # wechat_redirect

Beg ace attacks.
  •  Tags:  
  • C#
  • Related