[twitter-dev] Re: 401 Unauthorized -- user_timeline -- using Numeric ID

2009-10-21 Thread Chad Etzel
If you try to pull a protected users' timeline w/o authentication then it will throw a 401. You can confirm whether a user id is valid by trying to call: http://twitter.com/users/show.xml?id={insert_id_here} users/show will throw a 404 on a non existent user. -Chad On Wed, Oct 21, 2009 at

[twitter-dev] Re: twitter encoding problem

2009-10-21 Thread Travholt
I resorted to using just Leser (=Reading) plus the web site's domain and the bit.ly URL. No unsafe characters there, so no problem. But this clearly should be reported to Twitter as a bug.

[twitter-dev] Re: API 140 character truncation change?

2009-10-21 Thread Dave Sherohman
On Tue, Oct 20, 2009 at 07:37:03AM -0700, James Tymann wrote: Has anyone else noticed a change in the way that the 140 character limit is enforced via the API? I noticed a change sometime between the 13th and the 16th that is now causing all my 140+ character posts to be rejected by the API.

[twitter-dev] Re: upload new profile_picture to Twitter via perl script

2009-10-21 Thread Leon Spencer
Hi. Please try one of the existing Perl-based Twitter API libraries: http://apiwiki.twitter.com/Libraries#Perl But for background Curl Perl example: http://www.dagblastit.com/https_post/perl_curl_https_post.html Twitter API account/update_profile_image method:

[twitter-dev] Re: New cursor methods are way too slow

2009-10-21 Thread Oren Rose
I vote for that, too! Same scenario, same issues... bulk status request is the right solution, also for users you get from the Search API... = Oren On Oct 20, 8:02 pm, Michael Steuer mste...@gmail.com wrote: Hi, The reason why I¹m using followers/ids and then users/show is efficiency: I¹m

[twitter-dev] Very slow response with API from Slicehost

2009-10-21 Thread Hwee-Boon Yar
I have been having these very slow API response running on Slicehost (most of the time way more than 2-3 seconds) for the past 2 days. Is this something being actively worked on? It's becoming really painful that people are telling me my app doesn't work. -- Hwee-Boon

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Josh Roesslein
I just did a few tests on my slicehost VPS and the delay seems okay here. 2-5 seconds range which is about the same I'm getting locally. Are all API endpoints slow for you or just a select few? Josh On Wed, Oct 21, 2009 at 10:53 AM, Hwee-Boon Yar hweeb...@gmail.com wrote: I have been having

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread RandyC
I have been seeing enormous numbers of 502's and 500's for API calls from Qwest DSL business, Rackspace, and Amazon Cloud instances since Saturday through today. Working through the UI to log into accounts is equally painful with constant fail whales after two to three attempts. Seems like a

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Andrew Badera
What's there to talk about? What can we do? As always we're at Twitter's mercy and the status blog is 3 days out of date. I've definitely been seeing them too. Not horrible today, but a pretty steady stream really since mid-last week I believe. ∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Hwee-Boon Yar
2-5 secs for a /help/test.format or getting DM/Mention timeline is certainly not OK. And thanks for confirming I'm not alone. -- Hwee-Boon On Oct 22, 12:00 am, Josh Roesslein jroessl...@gmail.com wrote: I just did a few tests on my slicehost VPS and the delay seems okay here. 2-5 seconds

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Hwee-Boon Yar
On Oct 22, 12:05 am, RandyC bioscienceupda...@gmail.com wrote:  I'm surprised more people aren't talking about this unless we're the only ones affected. Me too. Which is why I'm posting it here. No one else seems to be complaining. I was beginning to wonder I was alone. -- Hwee-Boon

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Michael Steuer
No, seeing the same since Saturday. @rsarver said on Sunday morning he would post information to the group once they knew what was causing all this, but I guess 4 days later they still don't know, as we haven't heard anything... On 10/21/09 9:05 AM, RandyC bioscienceupda...@gmail.com wrote:

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Hwee-Boon Yar
Like I have mentioned privately to someone: Can I then make a next best suggestion that is most easy to implement and yet effective? It has been suggested more than once. Post an update to status.twitter.com. Even a short message. Give us something to retweet, to forward to users. If you want to

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Ryan Sarver
Guys, Thanks for the reports. We are aware of the elevated 50xs and are working hard to bring it back down to normal. I don't have a specific timeline that I can give at this point, but we'll update you regularly if this continues. I've update @twitterapi with the latest status as well:

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Dean Collins
Any reason why the official status page wasn't updated? http://status.twitter.com/ Based on your last post it appears everything got fixed over the weekendwhich we all know it didn't. Cheers, Dean -Original Message- From: twitter-development-talk@googlegroups.com

[twitter-dev] Not getting a response from statuses/followers

2009-10-21 Thread EastSideDev
I have the following piece of PHP code: $baseURL=' http://twitter.com/statuses/followers/'; $name='eastsidedev'; $followersURL=$baseURL.$name..json; $response = file_get_contents($followersURL); The script is on a Linux server. When I run it using my local Firefox browser, I get the

[twitter-dev] Re: Very slow response with API from Slicehost

2009-10-21 Thread Dewald Pretorius
I'm getting between 3 and 10 502's per second, with an added bonus of about 1 connection refused per second. Over-worked and under-staffed. That's how I would diagnose the symptoms, such as our complaining about bad system performance and poor communication. One human being can only do so much

[twitter-dev] Error in Creating Friendships

2009-10-21 Thread RTuosto
I am having a problem using the create friendship method in the API. No idea why this is happening and its only been going on the past few days. Below is the code returned by twitter. Please help! * Server auth using Basic with user 'FamousGroup1' POST /friendships/create.xml?user_id=57929642

[twitter-dev] Oauth_token and oauth_token_secret length

2009-10-21 Thread Michael Steuer
Is there a fixed max length for the oauth_token and the oauth_token_secret? What kind of fields are you guys using to store these in your databases? Varchar? And yes, please let me know what the max length to expect is for each... The docs on twitter.com as well as oauth.net are somewhat unclear

[twitter-dev] Re: 401 Unauthorized -- user_timeline -- using Numeric ID

2009-10-21 Thread Ryan Rosario
Thanks for all of your help! At some point, the 401 error for User Not Found should be changed to a 404. The fix would make this type of fetch much more efficient, and save on the number of API calls. I adapted my code for what you suggested above, but I had to check for User Not Found which

[twitter-dev] Twitter user Following List

2009-10-21 Thread NightMare
How can i get list of Following of the twitter users. I shall be using php for the same. Indeed help needed. Thank you in advance.

[twitter-dev] Comparing Posted Tweet to Current Status in PHP

2009-10-21 Thread JB
Does anyone have a way to compare these two strings in PHP? I have tried 3 different ways of comparing strings and they all fail. Even more so recently. Looking for a solid way to see if a tweet was accepted by the API or not.

[twitter-dev] Re: Draft of List API documentation

2009-10-21 Thread nipunj
Hey Marcel, I expect there were many things cut in Lists v1,... but, that said, I am surprised that Title is essentially the only attribute on the List object that informs the consumer what a Public List is intended to actually represent. There's no bio analog. IMO, this lack of explicit

[twitter-dev] Re: Laying the foundation for API versioning

2009-10-21 Thread Sal Conigliaro
Hi Marcel- I'm still seeing the cert hostname mismatch. https://api.twitter.com/1/users/show/rwzombie.xml The cert hostname returned is still shown as 'twitter.com'. Sal On Oct 18, 4:36 pm, Marcel Molina mar...@twitter.com wrote: The change has been made but it probably hasn't been pushed

[twitter-dev] Making crossdomain.xml less restrictive on api.twitter.com?

2009-10-21 Thread orian
Now that api.twitter.com has gone live, can we please have a less restrictive crossdomain.xml so that Flash apps can access the API without requiring the use of a proxy? This was being planned more than a year and a half ago:

[twitter-dev] Re: /account/rate_limit_status.xml returning wrong date format

2009-10-21 Thread JDG
I would check the Accept-Language header coming from both boxes, as it COULD be used to inform the server as to what format to return. That said, it SHOULD be returning either Unix timestamps or easily parseable ISO formats. On Wed, Oct 21, 2009 at 09:05, cadams500 ch...@emaildatasource.com

[twitter-dev] Re: upload new profile_picture to Twitter via perl script

2009-10-21 Thread apfelmaennchen
Hi, based on the TWITTER API helppage I tried the following statement (lets assume username:testaccount with password=password): $pic_update='curl -u testaccount:password -F image=@'01.png;type=image/ png' http://twitter.com/account/update_profile_image.xml'; print $pic_update; But, this did

[twitter-dev] Re: Draft of List API documentation

2009-10-21 Thread Marcel Molina
There are plans to expose a description field eventually. On Wed, Oct 21, 2009 at 9:59 AM, nipunj nip...@gmail.com wrote: Hey Marcel, I expect there were many things cut in Lists v1,... but, that said, I am surprised that Title is essentially the only attribute on the List object that

[twitter-dev] Re: Laying the foundation for API versioning

2009-10-21 Thread Marcel Molina
Ops is working on fixing this. We identified some stale configurations on some hosts (which is why the failures are intermittent). It's currently being worked on and should be resolved soon. Thanks for reporting it. On Wed, Oct 21, 2009 at 10:00 AM, Sal Conigliaro sco...@gmail.com wrote: Hi

[twitter-dev] Re: Error in Creating Friendships

2009-10-21 Thread RTuosto
anybody else getting this problem? On Oct 21, 10:47 am, RTuosto ryantuo...@gmail.com wrote: I am having a problem using the create friendship method in the API. No idea why this is happening and its only been going on the past few days. Below is the code returned by twitter.  Please help!

[twitter-dev] Re: Error in Creating Friendships

2009-10-21 Thread JDG
you should probably change your password since you posted it for the world to see. On Wed, Oct 21, 2009 at 16:05, RTuosto ryantuo...@gmail.com wrote: anybody else getting this problem? On Oct 21, 10:47 am, RTuosto ryantuo...@gmail.com wrote: I am having a problem using the create

[twitter-dev] Re: Perl OAuth - updated example

2009-10-21 Thread Marc Mims
On Oct 20, 4:28 am, Nigel Cannings nigelcanni...@googlemail.com wrote: I found an issue using the server example included in Net::Twitter (oauth_webapp.pl). Hi, Nigel. I'm the author of Net::Twitter. I'd like to update the sample included with the distribution to fix the problem you

[twitter-dev] Re: /account/rate_limit_status.xml returning wrong date format

2009-10-21 Thread Cameron Kaiser
I would check the Accept-Language header coming from both boxes, as it COULD be used to inform the server as to what format to return. That said, it SHOULD be returning either Unix timestamps or easily parseable ISO formats. I'm getting reports of messed up rate_limit_status responses from my

[twitter-dev] Connection reset by peer.

2009-10-21 Thread Atul Kulkarni
Hi All, I am trying to run my app get the friend's ID list for users and I keep getting this error after intermittently. I have the ip that I am using white listed. So I don't understand if I am the only one who is seeing this or their are many like me. -- Regards, Atul Kulkarni

[twitter-dev] Do you want to work at Twitter?

2009-10-21 Thread Doug Williams
The story of how I ended up at Twitter is typical of my embrace of serendipity. I was working at a large technology company on the east coast, fresh out of school, and moonlighting at night with the Twitter API. I had long since realized I was ready for a move to the consumer web and was a few

[twitter-dev] Re: What to do with the access token after you've received it

2009-10-21 Thread ryan alford
The access token doesn't expire. It's also specific for the user. There is no reason for you to get rid of it. You should store it with a relation to the username. The user should not be forced to re-allow every session. On Oct 21, 2009, at 7:44 PM, shawninreach shawninre...@gmail.com wrote:

[twitter-dev] Re: What to do with the access token after you've received it

2009-10-21 Thread shawninreach
Not sure if what I posted made sense. Basically i understand now why to store the access token, just curious now on how a user that connects to your app on a different computer authenticates to the point where we believe they are a given user, then we can grab the access token from the db and

[twitter-dev] Re: What to do with the access token after you've received it

2009-10-21 Thread shawninreach
Ok so you guys are saying store the access token in the db. Im getting hung up on how you would authenticate this user at a later point without making them reauthenticate through twitter to make sure who they say they are. First Authentication User comes to site - twitter auth (type in

[twitter-dev] Re: What to do with the access token after you've received it

2009-10-21 Thread JDG
You could have the user sign in with their username and password and make a call to account/verify_credentials. If it returns 200, you know you can get the access token. On Wed, Oct 21, 2009 at 18:41, shawninreach shawninre...@gmail.com wrote: Ok so you guys are saying store the access token

[twitter-dev] Re: Deprecation Notice: pagination on several methods is being replaced with cursoring on October 26, 2009

2009-10-21 Thread DustyReagan
Is page deprecation still scheduled to happen on Oct. 26th? Is this deprecation happening on all methods that have the cursor parameter enabled? -Dusty On Oct 8, 5:26 am, Kyle Mulka repalvigla...@yahoo.com wrote: Will thepageparameter on /statuses/user_timeline (or on any of the other

[twitter-dev] API Performance Tanking

2009-10-21 Thread Dewald Pretorius
On Wednesday afternoon/evening the 502s and connection refuses have been coming thick and fast, much worse than earlier in the week. When can we expect to see an improvement instead of a worsening of the API's performance? Dewald

[twitter-dev] Twitter Data Dumps?

2009-10-21 Thread futureboy
Hi folks, I'm interested in doing some of my own twitter data mining and I was curious if Twitter posts any data sets covering 24 hour periods, or perhaps even longer intervals. For instance I'd love to have a full dump of all tweets over the month when Michael Jackson died, but even 24 hour

[twitter-dev] Re: Twitter Data Dumps?

2009-10-21 Thread John Kalucki
Historical data is not available. Grab the /1/statuses/sample.format stream from the Streaming API. Wait a few days and you'll have a corpus to play with. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Oct 21, 7:26 pm, futureboy future...@gmail.com wrote: Hi folks, I'm

[twitter-dev] Re: Twitter Data Dumps?

2009-10-21 Thread JOHN OBRIEN
Futureboy, We have historical hashtagged data at TwapperKeeper (#michaeljackson, #iranelection, etc) and many others based upon hashtags that can be exported for review. http://twapperkeeper.com If you have any questions, let me know. v/r, John @jobrieniii On Oct 21, 2009, at 10:26

[twitter-dev] Re: API Performance Tanking

2009-10-21 Thread PJB
From my testing, SOME api calls go through just fine (e.g., grabbing DMs). OTHERS are particularly slow (e.g., create friend). From the rumours I have heard, Twitter is delegating performance to more benign calls, and degrading performance for other calls more closely associated with spam

[twitter-dev] Re: API Performance Tanking

2009-10-21 Thread PJB
I should add that that rumour is probably pure speculation. But it does strike me as odd that some calls work perfectly fine, while others are significantly delayed. Possibly the degradation is due to the deals Twitter struck today with Google and Microsoft's Bing? Presumably these behemoths