Re: Twitter Logout API is not working

2008-12-24 Thread Alex Payne
The /account/end_session method is only useful if you're making requests from an application hosted in a web browser that will establish a persistent session with your HTTP Basic Auth credentials. For more typical applications (desktop or server-to-server), it's unnecessary, as there's no concept

Re: How might I change the URL for my source?

2008-12-24 Thread Alex Payne
Please email me off-list with your change. On Tue, Dec 23, 2008 at 22:17, Dustin dsalli...@gmail.com wrote: I registered a source a while back with a rather dumb URL. How might I go about requesting it to be changed? -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x

Re: python/twisted API implementation

2008-12-24 Thread Alex Payne
A winning project name if ever I've read one. I've added it to the Libraries page of the API Wiki: http://apiwiki.twitter.com/Libraries On Tue, Dec 23, 2008 at 22:23, Dustin dsalli...@gmail.com wrote: I've got a twitter API implementation in twisted in case anyone's interested:

Re: roll up twitter conversations

2008-12-24 Thread JakeS
If it reaches a protected status, it obviously cannot proceed fetching more of the conversation. You may want to provide some sort of indicator of that if your UI allows it. And no, the search api sadly doesn't contain the in_reply_to_status_id field. My UI only shows the Show Conversation

Re: Expect Header Issue for .NET developers

2008-12-24 Thread Carlos
Thanks Jake, I was getting the same errors. Is this expected behavior now for Twitter or is this a bug in the new Twitter release (Not supporting the Expect: Continue header). I'm writing a multi-service Windows Mobile application and I'd prefer not changing global http connection settings if I

Re: Date Format: ex: about 2 hours ago

2008-12-24 Thread Matthew
All of the clients and the web post friendly things like about 2 hours ago. Can anyone provide a standard routine for converting the pure date element into these english strings? take a look at the way Rails does it as well,

Re: Expect Header Issue for .NET developers

2008-12-24 Thread Cameron Kaiser
Is this expected behavior now for Twitter or is this a bug in the new Twitter release (Not supporting the Expect: Continue header). I'm writing a multi-service Windows Mobile application and I'd prefer not changing global http connection settings if I don't have to. Strictly speaking,

Search near returning incomplete results

2008-12-24 Thread TCI
Hello, I am trying this search call: ozacr near:Costa Rica within:100mi but it does not return many of the results I get with just ozacr ... despite the users having Location = Costa Rica such as (1075899595) OzaCR: *uta.. Esta tan frio Moravia q no me puedo dormir :-( (1075873485) rafa:

Re: Date Format: ex: about 2 hours ago

2008-12-24 Thread Chad Etzel
Here's the code I have been using for such a task (written in javascript). Consider it a Christmas present :) var getdatediff = function (now_ms, gmt) { var dt_ms = Date.parse(gmt); var delta = now_ms - dt_ms; delta = Math.floor(delta / 1000); // turn into seconds if (delta 86400) {

Why isn't this code snippet working

2008-12-24 Thread hubs
I'm a total n00b. Could somebody tell me why this code doesn't work? ?php $uname = 'hubs'; $pwd = 'bungle'; $twitter_url = 'http://twitter.com/statuses/followers/ hubs.xml'; $curl_handle = curl_init();

Re: Date Format: ex: about 2 hours ago

2008-12-24 Thread Cameron Kaiser
Here's the code I have been using for such a task (written in javascript). Consider it a Christmas present :) Very elegant. :) -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- A

Re: Why isn't this code snippet working

2008-12-24 Thread Cameron Kaiser
I'm a total n00b. Could somebody tell me why this code doesn't work? Can you be more specific about the exact failure? A trace from a proxy such as Charles would also be helpful. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap

Re: Why isn't this code snippet working

2008-12-24 Thread Alex Payne
You also want to obscure any passwords you paste as part of code samples. On Wed, Dec 24, 2008 at 09:50, Cameron Kaiser spec...@floodgap.com wrote: I'm a total n00b. Could somebody tell me why this code doesn't work? Can you be more specific about the exact failure? A trace from a proxy

Re: Expect Header Issue for .NET developers

2008-12-24 Thread Tom Morris
On Dec 24, 4:31 am, JakeS jakesteven...@gmail.com wrote: Looks like twitter is updating something and their servers are returning error 417 for a lot of requests.  I looked into it and found that .NET automatically includes an Expect header containing 100- continue on every request unless you

Re: Why isn't this code snippet working

2008-12-24 Thread Chad Etzel
I'm guessing you probably need to make it a POST request: curl_setopt($ch, CURLOPT_POST, 1); and yes, you should probably change your password if it wasn't already changed when you posted :D For reference, here are all of the curlopts I set when making requests: curl_setopt($ch,

Re: simple tweet this implementation

2008-12-24 Thread Alex Payne
I've got a fix for it, should go live Monday. On Tue, Dec 23, 2008 at 21:40, scottjgo scott...@gmail.com wrote: Seems like it's still not working. Any update? To reproduce try: http://i2ft.com/znd and click the little twitter t in the frame. When it posts to the site, it still shows from

Re: Expect Header Issue for .NET developers

2008-12-24 Thread dean.j.robinson
Started getting reports from users yesterday that they couldn't login to hahlo.com. Turns out that the check I run against verify credentials was also returning code 417 instead of the usual/expected 200, so even though the check was working to hahlo is looked like it was failing, changed my

Re: Expect Header Issue for .NET developers

2008-12-24 Thread Barry Carlyon
I'm currently getting 417 as well on my php from script using curl Sent from my iPhone On 24 Dec 2008, at 23:50, dean.j.robinson dean.j.robin...@gmail.com wrote: Started getting reports from users yesterday that they couldn't login to hahlo.com. Turns out that the check I run against

Re: Why isn't this code snippet working

2008-12-24 Thread hubs
This is the error code I'm getting: Warning: simplexml_load_file(http://twitter.com/statuses/followers/ hubs.xml) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /home/.jerrie/hubs/

Re: Expect Header Issue for .NET developers

2008-12-24 Thread PockeTwitDev
After investigating further it appears this only occurs for .NET applications which post using form data instead of using URL parameters. Here's a sample: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Credentials = new NetworkCredential(AccountInfo.UserName,

Twitter blocking my application from sending tweets or receiving tweets.

2008-12-24 Thread dattas
Twitter blocking my application from sending tweets or receiving tweets, from what I've heard it can take month to get tickets with Twitter resolved. I know it is not my code that is doing it, because it worked in the past and if I take out the source=atweeter then it starts working again. I

Re: Why isn't this code snippet working

2008-12-24 Thread hubs
hubs wrote: I'm a total n00b. Could somebody tell me why this code doesn't work? ?php $uname = 'hubs'; $pwd = 'bungle'; $twitter_url = 'http://twitter.com/statuses/followers/ hubs.xml'; $curl_handle = curl_init();

Replace from web with source for all posts

2008-12-24 Thread bnonews
Hi, We recently created a script for our staff (at @BreakingNewsOn) that posts important updates from news wires when there is no one to update. The source code was already approved but I was wondering if you can apply the source code to all posts? Also the posts from web, mobile etc. I hope

POST, Expect header, and Apache HttpClient (Java)

2008-12-24 Thread Tom Nichols
There is a similar issue when using Apache HttpClient (a common HTTP framework for Java). It appears that POST requests will automatically add an Expect: 100-Continue header. And I suspect this is failing because HttpClient does not attempt to send auth credentials until first challenged by a

Re: Twitter blocking my application from sending tweets or receiving tweets.

2008-12-24 Thread Alex Payne
What error message and HTTP response code are you getting when you try to call a Twitter API method? Chances are good your application is affected by the .NET Expect header bug that's been documented in another thread on this group. On Wed, Dec 24, 2008 at 10:04, dattas dattasm...@gmail.com