MCPcopy Index your code
hub / github.com/daimajia/social-auth-simulator

github.com/daimajia/social-auth-simulator @v0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0 ↗ · + Follow
179 symbols 410 edges 6 files 156 documented · 87%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

weibo-simulator

php模拟微博登陆->授权->获取access_token

用法:


*1.部署Server文件夹中 saev2.ex.class.php,weibo_auto_auth.class.php,auth.php文件到服务器

*2.在test.py中填入你的部署的auth.php文件地址,并且填入你的测试账号的微博用户名,微博密码

*3.执行python test.py即可查看到获取的access_token系列数据。


说明:

在AnotherSolution文件夹中,存储了两个Python文件,实现了在本地发送并直接请求新浪服务器,不经过第三方服务器端的实现。 只要在sina.py中,修改您的微博用户名、密码、app_key,app_secret,callback_rui,而后运行sina.py即可完成授权,并且获取到access_token。

php文件模拟了用户的登陆,对app的授权,以及post获取access_token请求

即将添加人人模拟,借鉴小黄鸡

Core symbols most depended-on inside this repo

Shape

Method 161
Function 10
Class 8

Languages

PHP85%
Python15%

Modules by API surface

Server/saetv2.ex.class.php146 symbols
AnotherSolution/weibo.py25 symbols
Server/weibo_auto_auth.class.php6 symbols
test.py1 symbols
Server/auth.php1 symbols

For agents

$ claude mcp add social-auth-simulator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page