Coder Social home page Coder Social logo

Comments (15)

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

响应为空都是cookie的问题,看文档的qa第一条

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

响应为空都是cookie的问题,看文档的qa第一条

现在发现一个现象,好像失败的cookie的账号都开通了tiktok小店,能成功的账号是没开通的,而且开通tk小店的账号请求官方接口会多返回一个字段
image
cookie都是直接复制的请求头里面的,应该没问题呀,因为有些账号确实能获取成功

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

响应为空都是cookie的问题,看文档的qa第一条

现在发现一个现象,好像失败的cookie的账号都开通了tiktok小店,能成功的账号是没开通的,而且开通tk小店的账号请求官方接口会多返回一个字段
image
cookie都是直接复制的请求头里面的,应该没问题呀,因为有些账号确实能获取成功

我没有测试过是否和这个情况有关,你可以手动,多次的测试一个账号在网页中不同的cookie,另外你再提供一下完整代码片段我需要确定你的request请求部分

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

响应为空都是cookie的问题,看文档的qa第一条

现在发现一个现象,好像失败的cookie的账号都开通了tiktok小店,能成功的账号是没开通的,而且开通tk小店的账号请求官方接口会多返回一个字段
image
cookie都是直接复制的请求头里面的,应该没问题呀,因为有些账号确实能获取成功

我没有测试过是否和这个情况有关,你可以手动,多次的测试一个账号在网页中不同的cookie,另外你再提供一下完整代码片段我需要确定你的request请求部分

这是完整的方法了,我去试试同一个账号别的请求带的cookie
image

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

那你可以打印看看你这个request的cookie看看够不够30个键,由于我不清楚你这个参数的上下文所以我不能给出准确判断。问题和账号类型应该是无关的。

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

那你可以打印看看你这个request的cookie看看够不够30个键,由于我不清楚你这个参数的上下文所以我不能给出准确判断。问题和账号类型应该是无关的。

有29个

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

老哥,在调用这个方法获取用户sec_uid的时候,我看会请求到用户首页比如https://www.tiktok.com/@danielleathena,但是这个请求返回的是一个Please wait的html,导致无法在html中解析到sec_uid,这个问题如何处理呀

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

老哥,在调用这个方法获取用户sec_uid的时候,我看会请求到用户首页比如https://www.tiktok.com/@danielleathena,但是这个请求返回的是一个Please wait的html,导致无法在html中解析到sec_uid,这个问题如何处理呀

那就是被风控弹验证码了,你用unique_id就行

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

老哥,在调用这个方法获取用户sec_uid的时候,我看会请求到用户首页比如https://www.tiktok.com/@danielleathena,但是这个请求返回的是一个Please wait的html,导致无法在html中解析到sec_uid,这个问题如何处理呀

那就是被风控弹验证码了,你用unique_id就行

但是这个方法是不是必须要sec_uid
image

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

uniqueIdhandler_user_profile获取secUid曲线救国,获取用户数据的方法是支持2种id的
image

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

uniqueIdhandler_user_profile获取secUid曲线救国,获取用户数据的方法是支持2种id的 image

获取用户接口返回值没有信息。。。。。。
{"extra":{"fatal_item_ids":[],"logid":"20240305133754F8BAED34B60F310D9AD0","now":1709645875000},"log_pb":{"impr_id":"20240305133754F8BAED34B60F310D9AD0"},"statusCode":10221,"status_code":0,"status_msg":"","userInfo":{}}

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

没有肯定是你参数不对啊
image

from f2.

Johnserf-Seed avatar Johnserf-Seed commented on July 30, 2024

image
你找的是这个用户吧,这不是可以么

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

image 你找的是这个用户吧,这不是可以么

啊这。。这个方法不是就一个参数吗

image 你找的是这个用户吧,这不是可以么

感谢老哥🙏,这样就能调通了
image

from f2.

tongyan18 avatar tongyan18 commented on July 30, 2024

那你可以打印看看你这个request的cookie看看够不够30个键,由于我不清楚你这个参数的上下文所以我不能给出准确判断。问题和账号类型应该是无关的。

大佬,这个问题能否让我提供你一个tk账号然后麻烦你验证下呢

from f2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.