Recommend this page to a friend! |
Classes of Stefan Ninic | Laravel TikFinity Webhooks | README.md | Download |
|
![]() <a href="https://www.buymeacoffee.com/KgBot"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a beer&emoji=?&slug=KgBot&button_colour=5F7FFF&font_colour=ffffff&font_family=Cookie&outline_colour=000000&coffee_colour=FFDD00"></a> TikFinity WebhooksThis package provides a set of webhooks for TikFinity, allowing you to easily integrate TikTok LIVE events into your application. InstallationYou can install the package via Composer:
ConfigurationAfter installing the package, you need to publish the configuration file:
This will create a MigrationsYou can publish the migrations using the following command:
RoutesThe package provides a set of routes for handling TikTok webhooks. You can find the routes in the UsageYou can use the webhooks in your application to handle TikTok LIVE Gift and LIVE comment events. To handle the events, you should configure the pipes in your ProfileYou can use the ExampleYou can use the package to handle TikTok LIVE Gift and LIVE comment events. Here is an example of how to handle a LIVE Gift event: Create a PipeYou can create a pipe to handle the LIVE Gift event. Here is an example of a pipe that verifies if the event is a gift event:
Each pipe should implement the Register the PipeYou can register the pipe for each event in the
Testing
LicenseThis package is open-sourced software licensed under the MIT license. ContributingIf you want to contribute to this package, feel free to open a pull request or create an issue. Your contributions are welcome! SupportIf you have any questions or need support, you can open an issue on the GitHub repository or contact me directly. |