Tom
On 9/7/10 1:52 PM, Lenin wrote:
> Dont you know that the BasicAuth has been disabled for good?
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
this is the message i get :
File "C:\Python26\lib\urllib2.py", line 516, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
i think i dont know which username and password to type in the header
- 'Authorization' 'basic (username:password)
the twitter's username?
the twitter api oauth?
thanks
On 9 ספטמבר, 15:42, John Kalucki <j...@twitter.com> wrote:
> What text message does it return with the 401 error?
>
> You can still use basic auth with streaming. Does that work for you? You
> should use your screenname and password for basic auth.
>
> I've been googling like crazy and searching the streaming api docs for
> the answer to this question: Where would I find the latest definition
> for json objects returned by the stream? Specifically I'm looking for
> field names, data types and max lengths (if available) that will be
> returned. I'm using the filter tracking several keywords.
>
> Thanks!
>
> Gabe
I don't think I've seen anything like that - Twitter tends to announce
format changes on this list, but I don't know that there's a
"reference document" anywhere. When I write Streaming tests, I usually
just grab whatever comes down the pipe and stash it away as text, or
parse the JSON to a Perl or Ruby object and "flatten" the resulting
hash. Of course, I'm just generating CSV - more advanced users might
simply be using a leading-edge NoSQL data store. ;-)
--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb
"A mathematician is a device for turning coffee into theorems." - Paul Erdos
"A mathematician is a device for turning coffee into theorems." - Paul Erdos
The only downside to PostgreSQL is that they really don't like Ruby or
Rails. But they're *very* Python and Perl friendly and the preferred
database for Django.
--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb
"A mathematician is a device for turning coffee into theorems." - Paul Erdos