Back to Browse

Twitter API Login with PHP

5.5K views
May 5, 2020
38:43

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

Download

1 formats

Video Formats

360pmp473.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Twitter API Login with PHP | NatokHD