Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update lib/booki/messaging/views.py

  • Loading branch information...
commit dc840d43059e4e3240e8bd9f70f9da8dfb02cd09 1 parent c97b54e
@TomiToivio authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/booki/messaging/views.py
View
8 lib/booki/messaging/views.py
@@ -156,11 +156,3 @@ def tag_followbutton(tagname, requestuser):
return dict(tagname=tagname,
alreadyfollowing=bool(Following.objects.filter(follower=get_endpoint_or_none("@"+requestuser), target=get_endpoint_or_none("#"+tagname))))
-@register.simple_tag
-def twitter_status( username ):
- url = "http://twitter.com/statuses/user_timeline/%s.json?count=1" % username
- file = urllib.urlopen(url)
- json_responce = file.read()
- twit = simplejson.loads(json_responce)
- return "%s" % twit[0]["text"]
-
Please sign in to comment.
Something went wrong with that request. Please try again.