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 ⇝ https://discord.gg/aMwnDMKzGd
Printify ⇝ https://bubbles-merch.printify.me
TikTok ⇝ https://www.tiktok.com/@justinstolpe
GitHub ⇝ https://github.com/jstolpe/
Instagram ⇝ https://www.instagram.com/justinstolpe/
Twitter ⇝ https://twitter.com/Justin_Stolpe
LinkedIn ⇝ https://www.linkedin.com/in/justin-stolpe-3bb05426/
Reddit ⇝ https://www.reddit.com/user/jstolpe/
Twitch ⇝ https://www.twitch.tv/jstolpe
Facebook ⇝ https://www.facebook.com/stolpejustin/
Website ⇝ https://justinstolpe.com
SoundCloud ⇝ https://soundcloud.com/justin-stolpe
——
#programming #developer #coding