http://sysmangeeksquad.blogspot.com/2019/02/streaming-to-instagram-utilizing.html
https://markjtech.ca/2019/02/11/streaming-to-instagram-utilizing-instagramlive-php-and-open up-broadcast-computer software/

Prerequisite Software program
⦁ Open Broadcast Software program program (OBS)

Most important Program
XAMPP – https://www.apachefriends.org/obtain.html
Composer – https://getcomposer.org/download/
InstagramLive-PHP – https://github.com/JRoy/InstagramLive-PHP/

Tunes Employed:
Relic Audio – DEADM cruising (Royalty Free)

Swift Arrange Steering
Element 1 – Buying InstagramLive-PHP ready
• Arrange PHP, of coaching course…
• Set up Composer
• Goto probably the most launch launch
• Obtain the replace.php file and place it in its private folder
• Function the script with php replace.php and permit it arrange the script
• Edit the USERNAME and PASSWORD within of the config.php file to your Instagram username/password.
• Run the goLive.php script. (php goLive.php)

Side 2 – OBS Setup
• Established your OBS canvas measurement to 720×1280. This may be accomplished by heading to Choices-Video clip and enhancing Basis Canvas Decision to “720×1280”.
• Go to the “Stream” portion of your OBS Settings
• Established “Stream Selection” to “Customized Streaming Server”
• Established the “URL” trade to the stream url you acquired from the script
• Set the “Stream vital” self-discipline to the stream vital you bought from the script
• Make Completely certain “Use Authentication” is unchecked and press “Okay”
• Begin off Streaming in OBS
To halt streaming, function the “finish” command in your terminal after which push “Stop Streaming” in OBS

Script:
This will probably look a tiny mad, however have you ever at any time wished to stream out of your laptop computer or laptop to your Instagram account?

Probably you need to stream a dwell occasion with large manufacturing infrastructure, otherwise you need to share a curiosity with the remainder of your followers. Or for no matter trigger, Twitch.tv, Fb Stay, and different streaming platforms actually do not match your digital identification.

With InstagramLive-PHP, it could hook into the Instagram API and ship a Stream URL and Stream Crucial which may then be utilized inside streaming program like OBS or Wirecast.

Alright lets get this Instagram clearly present on the road. Initially we down load XAMPP it is a cross-platform reply for working apache, mysql, and php in parallel. FYI – this tutorial must do the job all throughout platforms – except macOS and Linux which won’t now does not help liking and commenting.

Once more on monitor – we need to obtain and set up composer as it’s going to permit for php to bridge the interplay with the working strategy of choice.

With XAMPP and Composer put in, you might be all set to obtain and configure InstagramLive-PHP script software program bundle. Put the file someplace you wouldn’t eliminate it, these sorts of as Desktop.

You are actually be ready to do the preliminary setup of InstagramLive-PHP. Preliminary you need to modify itemizing to the folder you downloaded replace.php to. That is the script you to begin with need to function, to make assured you’ve gotten all correct dependencies. This may nearly definitely select about 1-2mins.

Subsequent we enhance in our credentials to the software program program. This entails merely typing your client account and password in basic-text of a config file. This will nicely sound insecure, however if you happen to use two-phase authentication, you should be good. If you happen to’re actually paranoid, consider storing the pc software program in an encrypted file container – this sort of as BitLocker – when it’s inactive.

We are actually ready to go dwell the second we now have saved the variations to the config file. To provoke dwell streaming, kind php goLive.php

Usually it could immediate you in your Two-phase authentication code, however for the sake of this tutorial, I’ve already carried out this.
You possibly can go for to do automate the OBS “Begin Streaming” operation, however typically I handle this manually.

It provides you with your stream URL and your momentary randomly-produced stream important which you’ll duplicate greater than to your streaming software program.

Your show should look equivalent – along with your have inputted stream key.

Time to go dwell.

It can deliver up a central administration console, which you could work together in simply – to your viewers.

Now I’ll admit I am not the next Tiesto, however for a fast dwell stream of a mock DJ set, seems to be like quite cool to me. It solely would make me really feel additional of the opposite implications equivalent applied sciences can carry to focusing in your viewers even nearer.

Completely that about wraps up one other part of SysManGeekSquad! Thanks for tuning in and geek-out.

resource

23 thoughts on “Mark Joudrey – SysManGeekSquad – Streaming to Instagram using InstagramLive-PHP and OBS”

  1. Hi! will you please help:
    Can I use this for vMix broadcaster?

    D:ProgramsInstagram Live>php goLive.php
    PHP Warning: require_once(D:ProgramsInstagram Live/vendor/autoload.php): failed to open stream: No such file or directory in D:ProgramsInstagram Liveutils.php on line 5

    Warning: require_once(D:ProgramsInstagram Live/vendor/autoload.php): failed to open stream: No such file or directory in D:ProgramsInstagram Liveutils.php on line 5
    PHP Fatal error: require_once(): Failed opening required 'D:ProgramsInstagram Live/vendor/autoload.php' (include_path='C:xamppphpPEAR') in D:ProgramsInstagram Liveutils.php on line 5

    Fatal error: require_once(): Failed opening required 'D:ProgramsInstagram Live/vendor/autoload.php' (include_path='C:xamppphpPEAR') in D:ProgramsInstagram Liveutils.php on line 5

    this is my line 5 in utils.php
    require_once _DIR_ . '/vendor/autoload.php';

  2. Hey Man. This was Great! it worked perfectly for me for three days! It stopped working when I installed team viewer to help a friend install it. after that. it never worked again.

    obs says "could not access the specified channel or stream key. please double-check your stream key. If it is correct, there may be a problem connecting to your server."

    i even tried going to the firewall and letting the ports 1935 and 80 be an exception. and it still does not work!

    WHAT DO I DO TO FIX THIS!!!!!!!!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *