Random quote machine - It knows who i am

Just curious: How does Twitter API know who’s tweeting? The example project - and the one I built - somehow know I’m the one tweeting. Shouldn’t it ask you for your login, password first?

Yes, as Sky says your computer is probably keeping track of your logins. It’s just like I can check FCC or Facebook or my email without having to log in, I just go to that page. If I ran your code on my computer, it would run my Twitter. Don’t worry, no one can get into your Twitter through your program unless they do it from a computer where you’ve left yourself logged into your Twitter account.

2 Likes

Makes sense. Thanks for responding.