In this video we learn how to log a user in through the Twitter API using PHP. We create a login link to Twitter, send them there and present them with the Twitter app dialog box, they authorize our app, and get redirected back to our website. Upon redirect, we get an access token from Twitter which allows us to get the users information. If the user exists in our database, we log them in. Otherwise, we sign them up and then log them in.
——
Code on GItHub ⇛ https://github.com/jstolpe/easycodeis
——
Live Site ⇛ https://justinstolpe.com/easycodeis
——
Discord ⇝ / discord
Printify ⇝ https://bubbles-merch.printify.me
TikTok ⇝ / justinstolpe
GitHub ⇝ https://github.com/jstolpe/
Instagram ⇝ / justinstolpe
Twitter ⇝ / justin_stolpe
LinkedIn ⇝ / justin-stolpe-3bb05426
Reddit ⇝ / jstolpe
Twitch ⇝ / jstolpe
Facebook ⇝ / stolpejustin
Website ⇝ https://justinstolpe.com
SoundCloud ⇝ / justin-stolpe
——
#programming #developer #coding