Twitter API Login with PHP

Опубликовано: 04 Май 2020
на канале: Justin Stolpe
5,286
77

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