Download the PHP package hki98/tiktok-custom-php-scraper without Composer

On this page you can find all versions of the php package hki98/tiktok-custom-php-scraper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tiktok-custom-php-scraper

⚠️ New Repo Moved Here ⚠️

👇🏻 This repo is no longer maintained, please use the new one below.

TikTok® Custom PHP Scraper

Hi there!

I have many TikTok releated web projects and I was looking for a TikTok Custom PHP API or Scraper, All what I found was paid, limited scripts and most of them are in Python. I do not want so many features, I just want a simple script which I give it a TikTok Video URL then I want to get few details about it: Canonical URL, Username & Video ID That is it!

So I decided to write my own custom PHP script to get these details.

Maybe you guys want the same thing, I hope it will be useful for someone else. Enjoy!

Note: This script can be customized to scrape any additional data you want for a TikTok Video. I have only implemented the features that fits my needs.

Installation

Usage

Instantiate the TikTokScraper class with the TikTok video URL and then call the scrapeVideoDetails() method to get the details of the video.

Returned Data:

As I mentioned above, I have made this script to only scrape the data that I need. So, It will return only these values for the given TikTok video URL:

Supported Links:

Used:

Notice: TikTok is a Trademark of ByteDance Ltd.

This project is not affiliated with, endorsed, or sponsored by ByteDance Ltd., the creator of TikTok. TikTok® is a registered trademark of ByteDance Ltd.

The use of the TikTok name, logo, or any related trademarks or intellectual property is for descriptive purposes only, and it does not imply any endorsement or affiliation with this project.

We respect intellectual property rights and are committed to ensuring that our project complies with all applicable copyright and trademark laws. If you believe that any content on this platform infringes on TikTok's trademark or copyright, please contact us promptly so that we can address the concern.

We do not intend to infringe upon any copyrights or trademarks associated with TikTok, and any use of TikTok-related terms is solely for the purpose of providing information and services related to the TikTok platform.

Thank you for your understanding and cooperation.


I'm open to work, let's connect: Haian K. Ibrahim | contact [at] haian.me


All versions of tiktok-custom-php-scraper with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hki98/tiktok-custom-php-scraper contains the following files

Loading the files please wait ...