Justin Stolpe
Justin Stolpe
  • 305
  • 1 299 053
How to get Users Video Posts with the TikTok API
In this video we learn how to use the TikTok API to get users video posts.
↯↯↯↯
SDK on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk
Wiki on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk/wiki
Blog Code on GitHub ⇝ github.com/jstolpe/blog_code
TikTok Doc ⇝ developers.tiktok.com/doc/tiktok-api-v2-video-list/
UA-cam Playlist ⇝ ua-cam.com/video/sdA4eCq21y8/v-deo.html
----
Discord ⇝ discord.gg/aMwnDMKzGd
TikTok ⇝ www.tiktok.com/@justinstolpe
GitHub ⇝ github.com/jstolpe/
Instagram ⇝ justinstolpe
Twitter ⇝ Justin_Stolpe
LinkedIn ⇝ www.linkedin.com/in/justin-stolpe-3bb05426/
Reddit ⇝ www.reddit.com/user/jstolpe/
Twitch ⇝ www.twitch.tv/jstolpe
Facebook ⇝ stolpejustin/
Website ⇝ justinstolpe.com
SoundCloud ⇝ soundcloud.com/justin-stolpe
--
Chapters
0:00 Intro
1:02 Overview/Demo
2:13 TikTok App Setup
3:00 Access Tokens
5:18 Video List Endpoint
11:34 Video Query Endpoint
14:08 Create Website To Display All Users TikTok Videos
21:00 Recap/Outro
--
#programming #developer #coding #tiktok #api
Переглядів: 2 477

Відео

How to get Users Info with the TikTok API
Переглядів 3,9 тис.6 місяців тому
In this video we learn how get a users TikTok info such as follower count, following count, video count, likes, and more with the TikTok API. ↯↯↯↯ SDK on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk Wiki on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk/wiki TikTok Doc ⇝ developers.tiktok.com/doc/tiktok-api-v2-get-user-info/ UA-cam Playlist ⇝ ua-cam.com/video/sdA4eCq21y8/v-deo.html Blog Code ...
TikTok API Access Tokens and Login Dialog Implementation
Переглядів 4,4 тис.6 місяців тому
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...
Hello World Ep.19: Log In Form Backend Validation with PHP | Web Development
Переглядів 2049 місяців тому
Once the users fill out the login form and we have validated the form data on the front end, we send it to the server for back end validation with PHP. Code on GitHub ⇝ github.com/jstolpe/hello_world Live Site ⇝ helloworld.justinstolpe.com/ Discord ⇝ discord.gg/aMwnDMKzGd TikTok ⇝ www.tiktok.com/@justinstolpe GitHub ⇝ github.com/jstolpe/ Instagram ⇝ justinstolpe Twitter ⇝ twitter...
Hello World Ep.18: Log In Form JavaScript Validation Frontend | Web Development
Переглядів 1339 місяців тому
In this video we use JavaScript on the front end to validate the login form before it gets sent to the server. Code on GitHub ⇝ github.com/jstolpe/hello_world Live Site ⇝ helloworld.justinstolpe.com/ Discord ⇝ discord.gg/aMwnDMKzGd TikTok ⇝ www.tiktok.com/@justinstolpe GitHub ⇝ github.com/jstolpe/ Instagram ⇝ justinstolpe Twitter ⇝ Justin_Stolpe LinkedIn ⇝ www.linkedi...
Create an App for the TikTok API
Переглядів 7 тис.10 місяців тому
A TikTok app is required in order to use the TikTok API. This video shows you how to create a TikTok app in the TikTok for developers portal. ↯↯↯↯ Code on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk Wiki on GitHub ⇝ github.com/jstolpe/tiktok-api-php-sdk/wiki TikTok Docs ⇝ developers.tiktok.com/doc/overview/ UA-cam Playlist ⇝ ua-cam.com/video/sdA4eCq21y8/v-deo.html Discord ⇝ discord.gg/aMwnDM...
Hello World Ep.17: Log In Form UI With HTML and CSS | Web Development
Переглядів 25510 місяців тому
In this video we create a simple login form with HTML and CSS for our website. Code on GitHub ⇝ github.com/jstolpe/hello_world Live Site ⇝ helloworld.justinstolpe.com/ Discord ⇝ discord.gg/aMwnDMKzGd TikTok ⇝ www.tiktok.com/@justinstolpe GitHub ⇝ github.com/jstolpe/ Instagram ⇝ justinstolpe Twitter ⇝ Justin_Stolpe LinkedIn ⇝ www.linkedin.com/in/justin-stolpe-3bb05426/...
Hello World Ep.16: Loading Overlay Animation with HTML, CSS, JavaScript | Web Development
Переглядів 16810 місяців тому
In this video we create a global loading overlay using HTML, CSS, and jQuery. There is one line of code to take over the screen and display a loader as well as one line of code to hide the loader. This loader is good for any button such as signing up, logging in, downloading files, and any other action that would require a loader to be displayed. Code on GitHub ⇝ github.com/jstolpe/hello_world ...
Hello World Ep.15: Sign Up and Insert User Into Database | Web Development
Переглядів 136Рік тому
Hello World Ep.15: Sign Up and Insert User Into Database | Web Development
Hello World Ep.14: Sign Up Form Validation Backend with PHP | Web Development
Переглядів 122Рік тому
Hello World Ep.14: Sign Up Form Validation Backend with PHP | Web Development
Hello World Ep.13: Database Setup and Users Table | Web Development
Переглядів 91Рік тому
Hello World Ep.13: Database Setup and Users Table | Web Development
Hello World Ep.12: Sign Up Form JavaScript Validation Frontend | Web Development
Переглядів 113Рік тому
Hello World Ep.12: Sign Up Form JavaScript Validation Frontend | Web Development
Hello World Ep.11: Sign Up Form UI with HTML and CSS | Web Development
Переглядів 58Рік тому
Hello World Ep.11: Sign Up Form UI with HTML and CSS | Web Development
Hello World Ep.10: Google Analytics Pageview and Events | Web Development
Переглядів 81Рік тому
Hello World Ep.10: Google Analytics Pageview and Events | Web Development
Hello World Ep.9: Website Fixed Navigation Bar and Menu | Web Development
Переглядів 62Рік тому
Hello World Ep.9: Website Fixed Navigation Bar and Menu | Web Development
Hello World Ep.8: Font Awesome Setup and Usage | Web Development
Переглядів 57Рік тому
Hello World Ep.8: Font Awesome Setup and Usage | Web Development
Hello World Ep.7: Progressive Web App Manifest | Web Development
Переглядів 197Рік тому
Hello World Ep.7: Progressive Web App Manifest | Web Development
Hello World Ep.6: GitHub Repository and Feature Branch Merging | Web Development
Переглядів 101Рік тому
Hello World Ep.6: GitHub Repository and Feature Branch Merging | Web Development
How to Never Get LOST as a Developer
Переглядів 96Рік тому
How to Never Get LOST as a Developer
Hello World Ep.5: Google Fonts with font-face | Web Development
Переглядів 153Рік тому
Hello World Ep.5: Google Fonts with font-face | Web Development
Hello World Ep.4: JavaScript Show Hide by ID and Class Name | Web Development
Переглядів 72Рік тому
Hello World Ep.4: JavaScript Show Hide by ID and Class Name | Web Development
Hello World Ep.3: Favicon | Web Development
Переглядів 36Рік тому
Hello World Ep.3: Favicon | Web Development
Hello World Ep.2: CSS Media Queries | Web Development
Переглядів 44Рік тому
Hello World Ep.2: CSS Media Queries | Web Development
Hello World Ep.1: MVC Codebase Setup (Model View Controller) | Web Development
Переглядів 188Рік тому
Hello World Ep.1: MVC Codebase Setup (Model View Controller) | Web Development
How to Post a Carousel to Instagram | Instagram Graph API PHP SDK
Переглядів 1,1 тис.Рік тому
How to Post a Carousel to Instagram | Instagram Graph API PHP SDK
How to Post a Video to Instagram | Instagram Graph API PHP SDK
Переглядів 1,9 тис.Рік тому
How to Post a Video to Instagram | Instagram Graph API PHP SDK
How to Post Images on Instagram | Instagram Graph API PHP SDK
Переглядів 5 тис.Рік тому
How to Post Images on Instagram | Instagram Graph API PHP SDK
How to Get a Users Media Posts | Instagram Graph API PHP SDK
Переглядів 1,8 тис.Рік тому
How to Get a Users Media Posts | Instagram Graph API PHP SDK
How to Get a Users Posts | Instagram Graph API PHP SDK
Переглядів 3,2 тис.Рік тому
How to Get a Users Posts | Instagram Graph API PHP SDK
Web Developers Morning Routine Working from Home
Переглядів 122Рік тому
Web Developers Morning Routine Working from Home

КОМЕНТАРІ

  • @niccolo_defendi_cho
    @niccolo_defendi_cho 2 дні тому

    Hey. can you only get this data for your own acocunts or can you put in anyones id/username and try to get this to work.

    • @justinstolpe
      @justinstolpe 16 годин тому

      if they authenticate with your app you can

  • @asMdl
    @asMdl 4 дні тому

    I am currently on 3:51 and I am learning php

  • @MRGrayhat
    @MRGrayhat 5 днів тому

    response = requests.get(burger)

  • @azzy2884
    @azzy2884 5 днів тому

    Is there any way to open the Tiktok app for authorization instead of browser?

  • @wilsonwiradiwirya6851
    @wilsonwiradiwirya6851 7 днів тому

    Thank you Justin, very helpful, success for you

  • @ArtemLevchenko-j2m
    @ArtemLevchenko-j2m 8 днів тому

    can you access others users posts with this API?

    • @justinstolpe
      @justinstolpe 8 днів тому

      Yeah you can with business_discovery here is a newer video I made

  • @张传海
    @张传海 13 днів тому

    want to buy tiktok api

  • @unrestrainedgta
    @unrestrainedgta 13 днів тому

    Hello Justin source of github can't get token after installed only get code then can't get token please how to fix this ?

    • @justinstolpe
      @justinstolpe 10 днів тому

      you need to exchange the code for an access token.

  • @selfrevisepepcoding3854
    @selfrevisepepcoding3854 21 день тому

    i think you have to give full tutorial .

  • @PinakMehta-d3n
    @PinakMehta-d3n 22 дні тому

    Hey Justin, Can you please share video how to get access of instagram_basic. As, when I passed instagram_basic in scope of login URL it give me error like invalid scope

  • @oralunal
    @oralunal 28 днів тому

    Thank you, you made my day.

  • @DaniWaxman
    @DaniWaxman Місяць тому

    What if I want to use a tool like Postman for testing the API's I don't have a login screen in that case. Is there a way to get the access token without login?

    • @justinstolpe
      @justinstolpe 24 дні тому

      There is now a sandbox for tiktok api! Working on looking into it and hopefully releasing some tutorials for it!

  • @ShioTV703
    @ShioTV703 Місяць тому

    it's very useful tutorial but in my case when i'm trying to fetch posts it returns an empty array:( what can i do?

    • @justinstolpe
      @justinstolpe 24 дні тому

      maybe use the Facebook graph api debug tool and the graph api explorer to do further testing with your token and endpoint.

    • @ShioTV703
      @ShioTV703 24 дні тому

      @@justinstolpe It returns an empty array exactly there and on my computer as well

  • @pareek_editzz
    @pareek_editzz Місяць тому

    Lol why is this video still not trending 😂

  • @user-rx8xo5vs5b
    @user-rx8xo5vs5b Місяць тому

    Hi Justin, amazing job. Could you tell me please if I can access stories from a specific user id using Instagram Graph API ? Thanks in advance

    • @justinstolpe
      @justinstolpe 24 дні тому

      In order to get stories you need a user access token.

  • @benton202
    @benton202 Місяць тому

    this is a user access token not a page access token. if u try to access page data you get this: { "error": { "message": "Invalid OAuth 2.0 Access Token", "type": "OAuthException", "code": 190, "error_subcode": 2069032, "is_transient": false, "error_user_title": "User Access Token Is Not Supported", "error_user_msg": "A Page access token is required for this call for the new Pages experience.", "fbtrace_id": "AAO4L9LU952DCrcNGY-cglJ" }

  • @my_wave_app
    @my_wave_app Місяць тому

    thanks for this video it really helped me to build my mobile app, which is now live! It is about social media content creator data into a dashboard. it has been few days it is out there but this video was very helpful! API for meta was a bit trickier than expected but could make it work :) cheers

  • @tombelton4192
    @tombelton4192 Місяць тому

    Hey I just want to say that for a whole day I was getting my graph API requests rejected but after watching this video I linked my instagram account to a facebook page and it started working!!

  • @thuytrangao2467
    @thuytrangao2467 Місяць тому

    Hi Justin" I want to thank you very much for your videos! I just have one question:APIs to get number of posts containing a given hashtag?

    • @justinstolpe
      @justinstolpe Місяць тому

      I think the defatul is 25 results then you can paginate through them to get more

  • @altobellibrito4748
    @altobellibrito4748 Місяць тому

    hi. Thanks man. You rock!! I want to seach given a hastag. There is an endpoint for that?

  • @TheDariotoscano
    @TheDariotoscano Місяць тому

    Hi, how are you? To enable users to log into my app without needing a role, I have a verified account but can't log in unless I have a role within it. I'd like to know if there's a way to do this. I have public_profile and email permissions in advanced mode, but I also need to view insights and audience metrics. Is this possible? Do I need more permissions?

  • @tisharamythen7345
    @tisharamythen7345 Місяць тому

    My video

  • @houssamgres
    @houssamgres Місяць тому

    How to make able the user upload video from my app to his TikTok account using api

  • @joshroutley8680
    @joshroutley8680 Місяць тому

    this man deserves millions of subs.Thankyou so much man !!

  • @olccontent3960
    @olccontent3960 Місяць тому

    Hi, I have a customer is tik tok shop seller, i want to get his tik tok shop data like order detail and etc to my window base system through API, is that possible?

    • @justinstolpe
      @justinstolpe Місяць тому

      Right now you can't get shop data with the API.

  • @daniellizama3332
    @daniellizama3332 Місяць тому

    Nice duckie 😂

  • @Limitzxxxx
    @Limitzxxxx 2 місяці тому

    Hey Justin, does this only work for your account or could you theoretically use this for other business accounts?

    • @Limitzxxxx
      @Limitzxxxx 2 місяці тому

      Theoretically, would I be able to search someone else's account and retrieve this information?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      @@Limitzxxxx for other account you need a user access token for the user you want to query insights

  • @hasithudayanga6160
    @hasithudayanga6160 2 місяці тому

    I'm using this in my laravel application. Can we use .env file for access tokens. Rather than define.php file ?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      nice! I am not that familiar with laravel but you should be able to move the defines wherever you want in your own application

  • @jackylee3029
    @jackylee3029 2 місяці тому

    Hey, Justin. As far as I know, TikTok has recently updated its API, resulting in developers not being able to get the user info. Are you experiencing this issue?

  • @dannydantas8606
    @dannydantas8606 2 місяці тому

    Hey! Is it possible to access the account data of followers who comment on posts?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      you need a user access token for each user in order to get their info

  • @daven9517
    @daven9517 2 місяці тому

    It works as of today. The video 'media_type" now should be 'REELS'. However, the video is posted as post, not under reels section on IG. Any thought? thanks

  • @preciousegwuenu2938
    @preciousegwuenu2938 2 місяці тому

    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?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      yeah unfortunately currently the only way to use the API is to get it approved and in production

  • @clearthinking5441
    @clearthinking5441 2 місяці тому

    does this work on Live streams?

  • @yoskokleng3658
    @yoskokleng3658 2 місяці тому

    is it work with other user profile? i mean i want to download all their video.

    • @justinstolpe
      @justinstolpe 2 місяці тому

      You need a user access token for each user you want to download videos for

  • @beerealprofessional
    @beerealprofessional 2 місяці тому

    Hi. Is it possible to create some chat bot with this sdk?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      possibly but depends on exactly what you want

  • @Khreis1209
    @Khreis1209 2 місяці тому

    Pls help, it gives me this even tho the api is set to the most recent version, "error": { "message": "(#12) singular statuses API is deprecated for versions v2.4 and higher", "type": "OAuthException", "code": 12, "fbtrace_id": "AJnD2HpIUNhaWeDJpWmOinA"

    • @justinstolpe
      @justinstolpe 2 місяці тому

      try updating the v2.4 to the lastest version

    • @Khreis1209
      @Khreis1209 2 місяці тому

      @@justinstolpe what api is it exactly referring to? is it the graph api? if so, it's always been in v19.0 which is the most recent and i still keep getting the error.

    • @Khreis1209
      @Khreis1209 2 місяці тому

      @@justinstolpe I got this error imageMediaObjectId = imageMediaObjectResponse['json_data']['id'] # id of the media object that was created ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ KeyError: 'id'

  • @alt-thinking
    @alt-thinking 2 місяці тому

    does this allow you to get other peoples pages?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      When they authenticate with your app you can get a list of their pages.

  • @michail2375
    @michail2375 2 місяці тому

    I have a problem when I login this message appears 'It appears that this app is not available' I have activated the application mode. and also I use facebook login for business. anyone know where the problem is?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      Sounds like something is not connected quite right. Maybe double check app id, token, permissions.

  • @Not_funny_bro_
    @Not_funny_bro_ 2 місяці тому

    This video saved so much of my time, thanks buddy.

  • @jeanub9259
    @jeanub9259 2 місяці тому

    mann this gooood🔥🔥🔥🔥

  • @gnscode7988
    @gnscode7988 2 місяці тому

    your intro is amazing

  • @yueedwards1
    @yueedwards1 3 місяці тому

    Thanks for creating this video! do i understand it correctly that this approach only works for accessing your own fb/ig accounts' data? i am trying to get all ig business accounts which have posted using a certain hashtag. but i don't have an app. i am confused what i need to do to get the access token.

    • @justinstolpe
      @justinstolpe 2 місяці тому

      Thanks! You can query for posts based on a hashtag. Check out my video on hashtags ua-cam.com/video/TuQt5vW4uTw/v-deo.html

  • @tangoember
    @tangoember 3 місяці тому

    Looks like I'm echoing a lot of the other comments--- your videos are great! But the greatest barrier seems to be app approval. Would you be open to sharing (or have you already shared) lessons learned on getting app approval? It's a chicken-and-egg problem.... we need app approval to develop an app, but we to develop an app to get app approval :(

    • @justinstolpe
      @justinstolpe 2 місяці тому

      Thanks! And yeah the app approval is really annoying since you need it even for testing. They have told me they are working on making it more developer friendly though so fingers crossed!

  • @suzieelles9572
    @suzieelles9572 3 місяці тому

    Can you please re-create this without using a test user since you can no longer create a test user :/

  • @tangoember
    @tangoember 3 місяці тому

    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!

    • @justinstolpe
      @justinstolpe 2 місяці тому

      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!

    • @tangoember
      @tangoember 2 місяці тому

      @@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.

  • @mikersamphors7877
    @mikersamphors7877 3 місяці тому

    Could we use Web Scraping in Python with BeautifulSoup to get info like title and url videos?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      I am sure you could write a scraper but this is focusing on the api.

    • @mikersamphors7877
      @mikersamphors7877 2 місяці тому

      @@justinstolpe Thanks you so much for help

  • @Gille-mm1cr
    @Gille-mm1cr 3 місяці тому

    Why did the video go black some times in the code section?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      Editing error on my part I believe :/

  • @xPrisy
    @xPrisy 3 місяці тому

    I was looking to build a script to just get info from my own account atuomatically but I cant figure out how to do it. Do I have to do this TikTok APP method?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      Yeah and you need your app to be approved as well right now. Barrier to entry and use of the api is kind of annoying right now.

  • @AbdAl-HadiDaboul
    @AbdAl-HadiDaboul 3 місяці тому

    Hello Justin ive been watching your tutorial , but im bit confused , if i want to get user instagram posts i should use user access token ? like what if another user wants to see another user posts ?

    • @justinstolpe
      @justinstolpe 2 місяці тому

      You can use the business discovery to get other users posts although it still has it's limitations. ua-cam.com/video/WpiJeVqNJQk/v-deo.html

  • @kdtechniquesofficial6153
    @kdtechniquesofficial6153 3 місяці тому

    your content intro is so unique. Keep up the good work. ❤❤❤