Tutorials: Tweet using Nightbot & PHP


Description: This is a video tutorial to show how to use a simple PHP script I found, and modified, to allow you to send a tweet from within your stream. I do not take credit for writing the whole script, but I do take credit for the heavy modifications to the customTweet.php and sendTweet.php files to do what I was looking for.

- Video Tutorial


Version: 1.0
Added on: 12 December 2017
Author: coRpSE
Difficulty Level: Intermediate
Views: 149
Detailed Profile
Rate Resource

Tweet using Nightbot & PHP

This is a PHP script that was modified for the ability to send tweets from your stream so there is no need to log into twitter, or a need to grab your phone/tablet to send a tweet.





Thank you for taking an interest in using this for your stream and tweeting. If you have any questions, feel free to ask.

Links below are for the programs mentioned in the video tutorial.



I know this tutorial is long, but there is a lot to go over and considering I have to tailor this to anyone can follow. If your good with PHP, then you are pretty much set to go, just read the readme, otherwise, watch the video.



Note: If you are having it pull the game you are currently playing to put that title into your tweets, then be sure to exicute

the nightbot command about a min or two AFTER your already started your stream, (enough time for twitch to update their API.)



Video Tutorials:

 Free Hosting: https://www.youtube.com/watch?v=mHnRwfoVcBY



Script Editing Programs:

 Notepad++: https://notepad-plus-plus.org

 Sublime Text: https://www.sublimetext.com



Original Files Built Off Of:

 fxstar: https://github.com/fxstar/auto-tweets-php-api

 pedroventura: https://github.com/pedroventura/pv-auto-tweets



Contact:

 My Website: http://www.headshotdomain.net

 My Twitch: https://www.twitch.tv/DreAdeDcoRpSE

 My YouTube: https://www.youtube.com/user/DreAdeDcoRpSE

 My Twitter: https://www.twitter.com/DreAdeDcoRpSE



Download files here

 http://www.headshotdomain.net/twitch_scripts/Tweet_using_php_and_Nightbot.zip

Tutorials ©