[twitter-dev] Re: Streaming API + PHP and Python

2009-06-10 Thread Jason Emerick
I believe I had to set the default locale of my system to use UTF-8 by setting the appropriate environment variable. I believe it was the following on an ubuntu server: LANG=en_US.UTF-8 The other option as Nick pointed out is using the following: foo = foo.encode(utf-8) Jason Emerick

[twitter-dev] Re: Streaming API + PHP and Python

2009-06-08 Thread Jason Emerick
Here is some rough python code that I quickly wrote last weekend to handle the json spritzer feed: http://gist.github.com/126173 During the 3 or so days that I ran it, I didn't notice it die at any time... Jason Emerick The information transmitted (including attachments) is covered

[twitter-dev] Re: Python 3 Basic Authentication

2009-05-31 Thread Jason Emerick
] request = urllib2.Request('http://stream.twitter.com/spritzer.json') request.add_header('Authorization', 'Basic %s' % basic) spritzer = urllib2.urlopen(request) Jason Emerick The information transmitted (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510

[twitter-dev] Re: Vector logo

2009-05-20 Thread Jason Emerick
https://twitter.com/about#download_logo Jason Emerick The information transmitted (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only for the person(s) or entity/entities to which it is addressed and may contain confidential

[twitter-dev] Re: How parameter changes from Web to from TweetPhoto?

2009-05-04 Thread Jason Emerick
registrations are no longer accepted. TwitPic and other services setup their source parameters before it was depreciated. Jason Emerick The information transmitted (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only