本帖最后由 younghare 于 2023-7-18 09:19 编辑
常用测试指令
拦截retrofit2 响应 98
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":98}"
拦截retrofit2 请求 99
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":99}"
重新获取douyin数据库100
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":100}"
评论101
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":101,\"toVideoIds\":[\"6886719081530150151\"],\"txt\":\"这是我auto Commen\"}"
点赞102--心形点赞按钮
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":102,\"toVideoIds\":[\"6881190420345294094\"]}"
取消点赞103--心形点赞按钮
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":103,\"toVideoIds\":[\"6881190420345294094\"]}"
关注某人104--默认对当前视频
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":104}"
取消关注某人105
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":105,\"txt\":\"76082684247\"}"
106播放下一个视频
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":106}"
107自动开关-播放下一个视频 --比如默认播放20个视频后自动关闭
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":107,\"length\":20}"
发送txt给好用115--消息 txt=toUid;
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":115,\"txt\":\"4217342876462605\",\"otherContent\":\"this is my txt msg for you!\"}"
发送图片给好用116--消息 txt=toUid;
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":116,\"medias\":[\"/storage/emulated/0/Pictures/1557994750819.jpg\"],\"txt\":\"111274709179\"}"
发送video给好用117-消息 txt=toUid; 这里先用默认参数,后期改为Base64方式存放
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":117,\"txt\":\"111274709179\"}"
发送friendCard给好友--类是微信分享好友 118-消息 txt=toUid; 这里先用默认参数,后期改为Base64方式存放
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":118,\"txt\":\"111274709179\"}"
发送商品给好友119--抖音用户需要权限--需进一步调用
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":119,\"txt\":\"97025178990\"}"
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":119,\"txt\":\"111274709179\"}"
查询短视频Aweme列表-喜欢 151 (第一次&加载更多)
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":151,\"uid\":\"96547054276\",\"otherContent\":\"MS4wLjABAAAA-XlEAJiD7M7to9i8Osq8arNGxBjjh5wmVZhTK9tpFss\",\"lenCount\":0,\"length\":1}"
加载更多
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":151,\"uid\":\"96547054276\",\"otherContent\":\"MS4wLjABAAAA-XlEAJiD7M7to9i8Osq8arNGxBjjh5wmVZhTK9tpFss\",\"lenCount\":1603947286000,\"length\":0}"
查询短视频Aweme列表-动态 152 (第一次&加载更多) --奇怪的是有时候不行,好像某个东西没有初始化
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":152,\"uid\":\"2374538174413789\",\"otherContent\":\"MS4wLjABAAAABS9s3nN2Y8p-eW0uPdiciHbJtbLBEBSnuQEqZAlUpNuablu4OZdPnIapPputh4jJ\",\"lenCount\":0,\"length\":1}"
查询短视频Aweme列表-作品 153 (第一次&加载更多)
首次
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":153,\"uid\":\"430599630751944\",\"otherContent\":\"MS4wLjABAAAAc0IWPZ6OS89rFWAFDkKj4jg5NUrKLpyWOLb5pKY27MI\",\"lenCount\":0,\"length\":1}"
加载更多
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":153,\"uid\":\"430599630751944\",\"otherContent\":\"MS4wLjABAAAAc0IWPZ6OS89rFWAFDkKj4jg5NUrKLpyWOLb5pKY27MI\",\"lenCount\":1604229743000,\"length\":0}"
154查询 “芸轩岭”关注--首次
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":154,\"uid\":\"105026695743\",\"otherContent\":\"MS4wLjABAAAArcAGFiwsxENl12lnNHKTek-nv_nhVJpxr3bAfnLDtmw\",\"lenCount\":0,\"length\":1}"
154查询 “芸轩岭”关注--加载更多
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":154,\"uid\":\"105026695743\",\"otherContent\":\"MS4wLjABAAAArcAGFiwsxENl12lnNHKTek-nv_nhVJpxr3bAfnLDtmw\",\"lenCount\":1602990505,\"length\":0}"
154兮曦超爱啵啵 关注
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":154,\"uid\":\"4300911221412584\",\"otherContent\":\"MS4wLjABAAAAexGZ7ePk-ov8sIGJH1pkz4pt7d-7lOyrMgmPD_u9b4XsSkBaJf3pCi93Wm91S3Qm\"}"
155粉丝香梅第一次
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":155,\"uid\":\"60885189999\",\"otherContent\":\"MS4wLjABAAAAGUoyiNMMWYSLOYT3p-YPi_RNOqka94ixCOZgw84xGQY\",\"lenCount\":0,\"length\":1}"
155 粉丝香梅--加载更多
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":155,\"uid\":\"60885189999\",\"otherContent\":\"MS4wLjABAAAAGUoyiNMMWYSLOYT3p-YPi_RNOqka94ixCOZgw84xGQY\",\"lenCount\":1606292546,\"length\":0}"
搜索部分
搜索抖音用户user 161 --txt中存放“关键字”
首次
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":161,\"txt\":\"一盘菜\",\"otherContent\":\"\",\"length\":0}"
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":161,\"txt\":\"kkcc\",\"otherContent\":\"\",\"length\":0}"
加载更多
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":161,\"txt\":\"kkcc\",\"otherContent\":\"202011131555060101450821601D27DE97\",\"length\":10}"
todo 查询评论列表
todo 根据Uid获取ShareUserContent 可疑通过搜索用户的方式获取 或bySqlite
todo 根据videoId 获取ShareAwemeContent
todo 根据videoId 获取goodInfo(获取商品列表、商品信息)
查询联系人by sqlite 201
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":201}"
查询联系人by 抖音webApi 202 (注意必须绑定过手机号)
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":202}"
手机号查询douyin用户信息 203 --需要手机号构造DouyinContactModel抖音实体对象List
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":203}"
抖音登陆状态isLogin 205
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":205}"
抖音当前登陆用户currentUser 206
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":206}"
207 User-刷新自己
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":207}"
208 User-刷新陌生人、或好友的
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":208,\"otherContent\":\"MS4wLjABAAAA5LxUoMcUUv8oPTKMfr1K-rDaondn7PHuSkjaBxHrdzweL8Ba0mtASvR6fUHSptQz\"}"
当前短视频的作者mCurrentAweme_author 305 --在发指令时可以用于查看数据
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":305}"
当前直播的信息 401 --在发指令时可以用于查看数据
am broadcast -a young.DouyinAction --es TaskTypeDataDouyin "{\"taskType\":401}"
|