TikTok API Access Tokens and Login Dialog Implementation
HTML-код
- Опубликовано: 26 июн 2024
- In this video we go over how to implement the login dialog with the TikTok api so you can allow users to login to your app with TikTok. We also go over how to generate access tokens so you can make API calls on users behalf to do things like get users profile informations, get users insights, post content to the users TikTok profile, and more!
↯↯↯↯
Code on GitHub ⇝ github.com/jstolpe/tiktok-api...
Wiki on GitHub ⇝ github.com/jstolpe/tiktok-api...
TikTok Docs ⇝ developers.tiktok.com/doc/ove...
RUclips Playlist ⇝ • Create an App for the ...
Blog Code on GitHub ⇝ github.com/jstolpe/blog_code
--
Discord ⇝ / discord
TikTok ⇝ / justinstolpe
GitHub ⇝ github.com/jstolpe/
Instagram ⇝ / justinstolpe
Twitter ⇝ / justin_stolpe
LinkedIn ⇝ / justin-stolpe-3bb05426
Reddit ⇝ / jstolpe
Twitch ⇝ / jstolpe
Facebook ⇝ / stolpejustin
Website ⇝ justinstolpe.com
SoundCloud ⇝ / justin-stolpe
--
Chapters
0:00 Intro
0:17 Overview/Demo
0:52 TikTok API App
1:45 Add/Configure Login Kit
3:09 Sending User to TikTok Login DIalog
8:27 Get User Access Tokens with the Code
9:50 Refreshing Token
11:20 Revoking Access Tokens
12:15 Client Access Tokens
13:12 Manually Removing Authorized Apps from Your TikTok Account
14:25 Recap/Outro
--
#programming #developer #coding #tiktok #api
your content intro is so unique. Keep up the good work. ❤❤❤
this is fantastic.. can't wait to try all of this.. thank you.
Hey, thanks so much for doing this. Do you think you could do a tutorial on actually getting the site up? I've done a website with github pages before, but I've never done any PHP before, just Python.
This video is helping me out a ton thank you!
What I am not seeing in the video is the actual user logging into tiktok, I see as a user granting access to bubbles dev all you have to do is select the scopes to allow bubbles dev to use. Is there a step skipped there?
All the scopes requested should be visible when the user has to authenticate with your app so I am not sure what is missing.
Hey Justin, thanks for the video. I do still have one question that I can't seem to find an answer for.
So I'm interested in using the API to grab user insights for analytics for a personal project, however I don't have a webite, or domain or anything. This means I can't really fill out Terms of Service URL and Privacy Policy URL fields on the page where you request access... Does this mean I can't really test the API's features until I actually deploy a website and make policies?
I would just put in placeholder urls and that should bypass the ToS and Privacy URL issues.
These videos are really helpful! I'm confused on some basics regarding app approval order-of-operations. Can I implement the steps in this video while in Staging? I did submit the app for approval, but the response was: "Must have a complete app before submitting." At this point, just trying to get a Hello World login working. Thanks again!
Unfortunately even to test you need app approval so you can't even get a hello world app setup and working without approval :(. Hoping they make the api more developer friendly in the future!
@@justinstolpe Yeah, long story short, my mistake was filling out the standard app approval form, rather than the Integration Assessment for Unreleased App form. They approved that and my basic API calls are now working (yay!). Thanks again for your help-- now that I've graduated from this video, I expect you'll see more from me further on in the playlist.
Hello, thanks for the video. To use the tiktok api, they said i need terms of service url and privacy policy url. I've not created my website yet. will i have to set my website up before i apply to get the tiktok api?
yeah unfortunately currently the only way to use the API is to get it approved and in production
Hello, I looked for TikTok-related documents, but I couldn't find the content, so I'd like to ask a question. If one app is registered and the URL is approved, can one URL only receive one Client secret key? The reason I am asking this question is because I am curious about whether multiple users can upload through a web URL after registering one app.
each user needs to login and authorize your application which allows you to get a user access token for them which is what you use to talk to the api on their behalf
can i folow tik tok user on using api key
Can you test with localhost after getting approved?
Did you know the answer?
Not for me. They required an actual domain which is annoying.
Your github repository so confuses me, where is your login page code
Front end login code is here github.com/jstolpe/blog_code/blob/master/tiktokapi/login.php
hi guy, my app's status is "Status" is "Under revie" and i usualy get error:
If you're a developer, correct the following and try again:
redirect_uri
can you have me?
Until you get it reviewed and the status is updated to "Live in Production", you won't be able to test anything.