Twitter Last Seen Activity
Let your friends know when you are online and offline
- Laser-light eyes when online
- Last seen is mentioned in user bio
Also my Twitter usage has dropped by more than 50% atleast, possible explaination is that no one will feel being ignored by me when am offline and also the self-realization in unconscious mind and some other reasons.Anixety k1ll3r I may say xD.
Setup
- Fork this repo (or proceed with clone what many others are doing, seeing insighs) and replace online.jpg and offline.jpg with your own images. To get laser-eyes use this
- Now before you proceed further update readme by changing the link of deploy button from
https://github.com/1UC1F3R616/twitter-laser-eye/tree/master
to something likehttps://github.com/nightlyhacker/twitter-laser-eye/tree/master
where nightlyhacker has to be replaced with your GitHub username. - Replace your bio here or comment out bio/description update code which is
api.update_profile(description=description)
- Get
consumer_key
,consumer_secret
,access_token
,access_token_secret
by creating your Twitter App from here - (You must update this link here before you click or else my image will be used) Click
- Choose a random unpredictable App-Name and click 'Deploy app'
- Click 'manage app' and in settings click 'Reveal Config Vars'. Here add above 4 secrets with key-name as provided here and value is unique to every app.
- Click 'More' and hit 'Restart all dynos'
- Now you can visit your created web-app which is your controller, if you are getting 500 for some reason then check if all steps are done rightly or create an issue with proper error screenshot of logs which you can find inside 'More' --> 'View logs'
Help
Note
- Change your timezone because default is set to Asia/Kolkata. Here is a complete list.
More
- I could use selenium also, in which I would have to be using my Twitter in Selenium Session and rest of the things could be handled by the code but that would not be ideal as I/we use on mobile majorly.
- Sugessions are always welcomed