Comments (5)
I have added some changes to the current code and now you can get also verifyFp parameter together with signature.
All you have to do is to pass verifyFp parameter like you use the _signature param.
the response of signer.sign
should be like this
{"signature":"DujjbAAgEBW5rRjddk.Jbw7o4nAAFAo","verifyFp":"verify_kamf6ehv_80g0FE87_GAoN_4PgQ_9w6P_xgcNXK53gx2W"}
from tiktok-signature.
I'm not sure why you got empty result. I've just tried this url and it worked without issues.
https://m.tiktok.com/share/item/list?secUid=&id=1638159820316677&type=3&count=30&minCursor=0&maxCursor=0&shareUid=&lang=&verifyFp=
from tiktok-signature.
Getting user's videos is ok for:
https://m.tiktok.com/api/item_list/?count=100&id={user id}&type=1&secUid=&maxCursor=0&minCursor=0&sourceType=8&appId=1233®ion=RU&language=ru
Getting trands - too:
https://m.tiktok.com/api/item_list/?count=100&id=1&type=5&secUid=&maxCursor=1&minCursor=0&sourceType=12&appId=1233
But getting hashtag's videos - always returns empty string (with signature, generated the same way as for other urls);
from tiktok-signature.
Hi @wildshaman
I think you need the verifyFp parameter on the url.
I saw on their code they take it from the cookie document.cookie.match(/s_v_web_id=(\w+)/)
But I had bad luck trying to get it from the cookie. hope that helps
from tiktok-signature.
@wildshaman try to get a new token by restarting your server every hour or more.
Probably if tac token
is too old, it requires verifyFp parameter.
from tiktok-signature.
Related Issues (20)
- page.addScriptTag: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src... HOT 1
- Retrieving `secUid`? HOT 3
- Cannot run with Docker on Linux + is it possible to dynamically get hardcoded values? HOT 6
- `user-info.js` example times out HOT 2
- Trending example returns list of users instead of list of videos HOT 2
- trending.py returns empty response HOT 2
- Pulling data for all user videos? HOT 2
- Normal search example HOT 1
- How to sign a hashtag request? HOT 1
- python support HOT 4
- How do you get the downloadAddress to work? HOT 1
- X-bogus on video list api
- User-videos request is returning empty data
- URL length issue reported, localhost: 8080/signature
- Hashtag is only getting 30 results
- how to setup in vercel
- Fetch user info returns empty info HOT 2
- Fetching user videos not working on deployment HOT 4
- Frequent Empty String Returns in examples/user-video.js HOT 19
- Fail to get SEC_UID HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-signature.