Uploaded by Shameel Uddin

Tiktok

advertisement
Configure Redirect URI at TikTok Application First
Hit the following URL:
https://www.tiktok.com/auth/authorize/?client_key=awjkpb24aynxfuk1&response_type=code&scope=user.in
fo.basic,video.list,video.upload&redirect_uri=https://www.shameeluddin.com/
Get the Code:
Enter the Code in URL:
Enter following things in the URL below:
-
client_key
client_secret
code (fetched from above URL)
grant_type=authorization_code
https://openapi.tiktok.com/oauth/access_token/?client_key=awjkpb24aynxfuk1&client_secret=a746463f5eaceb6a795d2d24695dd
70c&code=ZA3ocHjpT1vM3kxLOnQm9FacbYT5vYPruBDrZxYCWXxbBtj_eeXLSkmTMxCE_iCT_ss8n8WW7sNnjbcPILDqk
fg4w5d9qd9Qz4sWdivsZ4Y%2A3%215925&grant_type=authorization_code
Following output is received:
Upload Video
Following two keys are important:
-
access_token
open_id
Place them in URL like this:
https://openapi.tiktok.com/share/video/upload/?open_id=_000Ft9pfzzcWPcJb5XBNEGcF30nPXOFaNXf&access_token=act.b72001
eb513c21f29fb0db88f1b50c6dvftQrc5bnoqHiWI1P0fIZkkQ4Wwe!5859
Upload the data as form-data with Content-Type: multipart/form-data
Following response is received:
Afterwards, make sure to allow the video from mobile app.
Download