Skip to main content

Posts

Create a Twitter Bot to do the work for you using Tweepy

 I googled how to create a Twitter bot and was brought to a cleanly laid out web app. It allowed you to create a bot that would like, follow, or retweet a tweet based on a keyword. The problem was that you could only create one bot for one function. So I decided to code a bot myself with Python and the Tweepy library. Setup First, I downloaded Tweepy. You can do this using the pip package manager. pip install tweepy You can also clone the GitHub repository if you do not have pip installed. git clone https://github.com/tweepy/tweepy.git cd tweepy python setup.py install You’ll need to import Tweepy and Tkinter (for the GUI interface). import tweepy import Tkinter Credentials Next, we need to link our Twitter account to our Python script. Go to  apps.twitter.com  and sign in with your account. Create a Twitter application and generate a Consumer Key, Consumer Secret, Access Token, and Access Token Secret. Now you are ready to begin! Under your import statements sto
Recent posts

How i discovered myself amid the abyss of life

Hey guys ,It's Ajay here and i'm so sorry for not writing more often.So lemme start; Just like the title suggests ,i found what i am truly passionate about ,the map that leads to the treasure cave and more than anything showed me my purpose here on Earth.As a deist i always felt like my life was worthless ,like it had no purpose other than just living for the sake of it.I constantly asked myself what i was doing here ,do i have a role to play in the drama that is life itself?!? Many a times i used to feel so depressed and far out of bounds of any help. I USED TO FEEL MISPLACED . If it wasn't for my lovely friends and most importantly my caring family i would've fell deeper and deeper into that abyss .I searched and searched and searched .I tried out so many different things but none of em clicked with me and i stayed THE SAME . BUT ,I DIDN'T LOSE HOPE . I kept pushing myself even when i felt like a total waste of precious resources . I WASN'T READY TO GIVE

HOW TO INSTANTLY MAKE YOUR LIFE MORE AWESOME THAN BEFORE

1.Smile Please...                  Ever wondered what a simple smile costs you?Nothing not even a single penny.Who doesn't love people that smile often even being with them  improves our mood a lot.Apart from the fact that a silly grin releases pleasure and anti-depressant hormones ,it acts as a greeting card to whomever approaches you.Even 'You-Know-who' looks less evil when he's smiling.  Like who forgets a date where he/she you've been with smiles and laughs often compared to one where she kept complaining about how horrible her exs were.Make no mistake i'm not telling you to laugh like a mad person all the time that would be weird and stupid,rather just smile a bit more than you've used to till now and see the world changing around you. 2.Work,Work,Workout.     Yes,you heard me right;push-ups,pull-ups,do some weights and for those senoritas reading this i'm pretty sure you can workout too. It boosts your self confidence like

Introduction

Hi.I am Ajay and i'm 18 years old and you might be wondering 'why am i wasting my time reading some crap written by an eighteen year old ?' but before you make up your mind let me just tell you one thing,you're AWESOME.Why? Because you were probably thinking what i said earlier cause you had something else to do right? Like watch that new movie you waited forever with your u friends or maybe you wanna text your crush how good she was on stage singing that beautiful song that instantly made your heart explode into a million pieces or even better going on a date with her to that ice cream shop by the lake she loves where the only thing you wanna do is to stare into those beautiful eyes for as long as possible or to look up what kind of sugarless cake to buy for your grandma for her 80th birthday next week from that excellent cake shop in town.Whatever it was you had in mind there was something you had to do right? Yes all of us have to do a THOUSAND things everyday and i