

GitHub - JRoy/InstagramLive-PHP: A PHP script that allows for you to go live on...
source link: https://github.com/JRoy/InstagramLive-PHP
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
InstagramLive-PHP

A PHP script that allows for you to go live on Instagram with any streaming program that supports RTMP!
Built with mgp25's amazing Instagram Private API Wrapper for PHP.
Note
Please read this entire document as it has very important information about the script. If you create an issue that can be solved by reading this document, it will be ignored.
Live Setup
It is suggested you watch this video for a step-by-step process on how to install this script.
- Install PHP, of course...
- Goto the most release release
- Download the
update.php
file and place it in its own folder - Run the script with
php update.php
and let it install the script - Edit the
USERNAME
andPASSWORD
inside of theconfig.php
file to your Instagram username/password. - Run the
goLive.php
script. (php goLive.php
)
Video Tutorial
If you'd like a video version of this tutorial, see this video.
Features
- Robust Installer/Updater
- To install read the Live Setup section
- To check for/apply an update just do
php update.php
- If you want to try beta features just do:
php update.php --beta
- If you want to try beta features just do:
- Web Control Panel
- Use by doing
php goLive.php --web
- By default, you can access the control panel by going to
127.0.0.1
in your browser- You can change this by editing the
WEB_PORT
option in theconfig.php
from80
to some other number and then going to127.0.0.1:PORT
wherePORT
is the number you changed it to
- You can change this by editing the
- Use by doing
- Supports Accounts with 2FA
- View Live Chat/Likes (Windows/Mac Only)
- Execute Commands to Comment, Wave, Pin Comments, Show Questions, and more...
- Launch & Start OBS Automatically (Windows Only)
- Infinite Stream: Stream forever with no user input! (Windows/Mac Only)
- Accomplished by doing:
php goLive.php -i -d
- Windows Users with OBS can do
php goLive.php -i -d --obs
for absolutely no input from the user required
- Accomplished by doing:
- Archived Stream Statistics
- Accomplished by doing:
php checkVod.php
24 hours within archiving a stream
- Accomplished by doing:
Commands
To view what commands you can run while streaming: Click Here
To view what flags you can run the goLive.php
script with: Click Here
FAQ
I get "Parse error: syntax error" or "PHP Fatal error: Uncaught TypeError" when running the script
You have an outdated version of PHP, please make sure your using PHP 7 or greater.
I get "Fatal error: require_once(): Failed opening required" when running the script
You didn't install the script correctly, please check the installation guide or video above.
OBS gives a "Failed to connect" error
This could be due to the following reasons:
- Your version of OBS doesn't support RTMPS. Update to the latest OBS Studio version.
I've stopped streaming but Instagram still shows me as live
Make sure you actually running the stop
command when you're streaming and not close it.
I don't see or get an error in Instagram when archiving my story
This could be due to the following reasons:
- You didn't stream anything from OBS/your encoder. In this case, you should delete the archive.
- You streamed a disallowed aspect ratio or resolution. Make sure you're using 1080x1794. In this case, you should delete the archive.
- Your stream is still processing. This is normal for longer streams.
I get "CURL Error 60: SSL certificate problem" when trying to log into Instagram
This is due to CURL not having a valid CA. You can find a solution here: https://stackoverflow.com/a/34883260.
I get "CURL Error 28: Operation timed out after x milliseconds with 0 bytes received."
In this case, your IP is blocked by Instagram. There is nothing I can do in this situation, if you're using a VPN/Proxy (which are not supported), don't.
Question not listed here?
If your question is not listed here, join our discord so I can help support you faster. https://discord.gg/EpkKFt3
Donate
If you would like to donate to me because you find what I do useful and would like to support me, you can do so through this methods:
Patreon: https://www.patreon.com/JRoy
PayPal.me: https://www.paypal.me/JoshuaRoy1
Bitcoin: 32J2AqJBDY1VLq6wfZcLrTYS8fCcHHVDKD
Recommend
-
7
README.md ...
-
13
esm-loader-manager Like Pirates but for ESM. Works with Node 16.12.0+.
-
3
Typescript strict mode plugin Typescript plugin that allows turning on strict mode in specific files or directories. Do I need this plugin? typescript-strict-plugin was created mainly for existing projects tha...
-
7
Xeros Xeros is a digital currency that allows instant payments to anyone, anywhere. Xeros has been written completely in PHP and mostly follows the technical design of Bitcoin. Xeros uses P2P technology to operate with no central server.
-
7
IBM Cloud Pak Operations CLI The IBM Cloud Pak Operations CLI allows the user-friendly installation of IBM Cloud Pak for Data 3.5.0/4.0.x and IBM Cloud Pak for Data services on OpenShift clusters. It also allows the one-click deployment...
-
6
Ryu0118/XCContributeRank main
-
11
IntelliJava-OpenaiAPI IntelliJava V0.6.0 IntelliJava is the ultimate tool for Java developers looking to integrate with the latest language models and deep learning frameworks. The library provides a simple and intuitive A...
-
9
-
5
Geo Assist What is it? Geo assist is library that allows users to perform insertion and query operations on the spatial data. It enables users to create a spatial engine by loading objects with spatial references, such as...
-
5
IBM Cloud Data Engine Go SDK Version 0.1.11 The IBM Cloud Data Engine Go SDK allows developers to programmatically interact with IBM Cloud Data Engine. Discla...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK