szdc / tiktok-api

Unofficial API wrapper for TikTok
MIT License
1.28k stars 279 forks source link

Device parameters. #220

Closed Hoodgail closed 3 years ago

Hoodgail commented 3 years ago

Describe the bug Unable to get the required device parameters

To Reproduce

/**
 * Required - device parameters
 * You need to source these using a man-in-the-middle proxy such as mitmproxy,
 * CharlesProxy or PacketCapture (Android)
 */
const params = getRequestParams({
     device_id: '',
     fp: '<device_fingerprint>',
     iid: '<install_id>',
     openudid: '<device_open_udid>',
});

Additional context How can i get the device id's for usage

aimadnet commented 3 years ago

You need frida to bypass ssl and mitmproxy

jakecrowley commented 3 years ago

You need frida to bypass ssl and mitmproxy

Can you share a method to bypass SSL using frida? I have both rooted android and jailbroken ios and have been trying to use objection's sslpinning bypass with no luck after installing my own root CA's.

aimadnet commented 3 years ago

drop me a message on telegram: aimadnet

szdc commented 3 years ago

As specified in the code snippet you pasted: You need to source these using a man-in-the-middle proxy such as mitmproxy.

However, this project is no longer maintained so I can't help you more.