Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import twitter
- COUNT = 200
- i = 0
- j=0
- api = twitter.Api(username = "gabs48", password = "alembique")
- statuses = api.GetFriendsTimeline(count=COUNT)
- for status in statuses:
- if (status.user.name == "SNCB - NMBS - BeRail"):
- print str(j) + ")"
- print "De: " + status.user.name
- print "Date: " + status.GetCreatedAt()
- print "Message: " + status.text + "\n\n"
- j = j + 1
- i = i + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement