Skip to content

Commit

Permalink
Minor clean-up on comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
breadtk committed Aug 3, 2018
1 parent 0a68f34 commit c9c7338
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions twitter_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
#
# Author: Osman Surkatty ([email protected])
#
# A simple AWS Lambda function which can be used to periodically clean out your
# Twitter timeline.
#
# For more information about uploading Twitter Python module to Lambda with your
# function, read "Creating a Deployment Package (Python)"
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html
# A simple script which can be used to periodically clean out your Twitter
# timeline.

from datetime import *
from twitter import *
import sys
import time

def lambda_handler(event, context):
older_than = 30
older_than = 30 # days

# From: https://apps.twitter.com/ or https://developer.twitter.com/
token = ""
token_key = ""
con_secret = ""
Expand Down

0 comments on commit c9c7338

Please sign in to comment.