[twitter-dev] twitter encoding problem

2009-10-20 Thread sa
hey all, i am trying to send twitter status over my web site but having some encoding problems, i can not see turkish characters, i use a code snippet like this : var sText = "http://www.twitter.com/home?status="; + document.title + ':' + location.href; window.open(sText); //document.title

[twitter-dev] still confused about how many user I can follow

2009-10-20 Thread Allan Zhang
>> Once you’ve followed 2000 users, there are limits to the number of >> additional users you can follow: this limit is different for every user and >> is based on your ratio of followers to following It is not very clearly document by twitter help document. Can someone give more info about ho

[twitter-dev] Re: 502 error for public timeline

2009-10-20 Thread Scott Haneda
This is getting out of hand, I am getting 10 a minute. I guess it is time to write that back off code that I figured would not be needed on the public timeline. -- Scott * If you contact me off list replace talklists@ with scott@ * On Oct 19, 2009, at 3:06 PM, Michael Steuer wrote: I've

[twitter-dev] Re: still confused about how many user I can follow

2009-10-20 Thread leonspencer
Yeah. The documentation is sketchy. I wasn't able to fine anything definitive from Twitter: http://help.twitter.com/forums/10711/entries/68916 "Additional limits if you are following 2000 or more people: The rules about aggressive following and follow churn still apply. In addition, every user c

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread leonspencer
Hi. I dont think the syntax is right for what you are trying to do. The window.open() syntax is as follows: window.open (URL, windowTitle); Combining this into one string as you have done causes all this to be interpreted as a parameters to Twitter status method, which is not what you intended.

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
hey leonspencer, thanks for your reply. dont think title part as page title, it is just a short explanation. what i am trying to do is like "i am reading this: http://www.mypage.com/article.aspx";, i mean at the beginning of the status a short explanation and after that, link to the page, explanati

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread leonspencer
Thanks for the clarification. Are you updating your Twitter status to read: "i am reading this: http://www.mypage.com/article.aspx"; or are you just trying to display this information in a new browser window without updating your Twitter status? Thanks, Leon On Oct 20, 1:38 am, sadullah kele

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
i have a "share on twitter" button , when user click this button http://twitter.com/ page will be open and the info that i send ("i am reading this: http://www.mypage.com/article.aspx";) will be shown in the "What Are you Doing?" textbox and then user will click update button on twitter page. On

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
by the way, is there any way to update user's status directly without opening the twitter page? or have i just misunderstood you? 2009/10/20 sadullah keleş > i have a "share on twitter" button , when user click this button > http://twitter.com/ page will be open and the info that i send ("i am

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread leonspencer
Thanks. I was unfamiliar with that mechanism. Cool. So that's how it is done? Did you try encodeURIComponent() to the Turkish characters are handled correctly? Leon On Oct 20, 1:56 am, sadullah keleş wrote: > i have a "share on twitter" button , when user click this > buttonhttp://twitter.com

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread Leon Spencer
Yeah, through the Twitter API OAuth. But for what you are doing, your method is more practical. From: sadullah keleş To: twitter-development-talk@googlegroups.com Sent: Tue, October 20, 2009 2:00:09 AM Subject: [twitter-dev] Re: twitter encoding problem by th

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
:) actually this is my first try on twitter i am not familiar with this either. using javascript's encoding functions did not work. probably in the end i will replace turkish characters with their similar characters in english :) On Tue, Oct 20, 2009 at 12:03 PM, leonspencer wrote: > > Thanks. I

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
using api is not necessary on this step of my application may be in the future,on version 2 :), i could use. what i am trying to do is just an advertisement , showing our link people's status On Tue, Oct 20, 2009 at 12:07 PM, Leon Spencer wrote: > Yeah, through the Twitter API OAuth. But for wha

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread Leon Spencer
Shouldn't be a problem unless there is some Twitter bug. Twitter should handle everything utf-8 as long as within 140 char limit. I tried the following without problems: [original url] http://twitter.com/home?status=Currently reading on Webgrrls:ü ü ü ü ü [encoded url] http://twitter.com/home?

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread Leon Spencer
Yeah. It works fine on my end for Turkish characters and using the JavaScript encodeURIcomponent method on the query string. But since it isnt a Twitter API issue But keep trying. Maybe someone else can chime in. Leon From: Leon Spencer To: twitter-dev

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

2009-10-20 Thread Tim Haines
Hey Marcel, Another 2 methods I'd like to see added to the list api - a way to get the id's of all current members (all 500), and a way to get the id's of all current subscribers - cursor based with as many per 'page' as possible. Cheers, Tim. On Fri, Oct 16, 2009 at 8:04 PM, Marcel Molina wrot

[twitter-dev] Re: still confused about how many user I can follow

2009-10-20 Thread richardhenry
Rather than trying to guess how this works and then playing a cat and mouse game with Twitter whenever they change it, why not handle the error response? Richard On Oct 20, 6:40 am, Allan Zhang wrote: > >> Once you’ve followed 2000 users, there are limits to the number of > >> additional users

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
i am sorry for delay Leon, it was lunch time :) i am still having same problem,may be it could be related to my page encoding settings, i will keep on searching, i hope i can solve :) thanks again for your helps , have a nice day On Tue, Oct 20, 2009 at 12:33 PM, Leon Spencer wrote: > Yeah. It w

[twitter-dev] Where is the Twitter WADL?

2009-10-20 Thread Edd
Hi All, I am keen to start implementing a Twitter Web Service application but I can't find any published WADL in the Twitter API docs. My IDE (NetBeans) contains a partial API WADL but I can't find the full API anywhere. Could someone please point me in the direction of this? I'm suprised it's so

[twitter-dev] Streaming Api

2009-10-20 Thread Biri
Hey I would like to connect to twitter streaming using the api and I would like to do it using c# I already read the documentation on the twitter web site and still have no idea how to connect any help would be greatly appreciated

[twitter-dev] Perl OAuth - updated example

2009-10-20 Thread Nigel Cannings
I found an issue using the "server" example included in Net::Twitter (oauth_webapp.pl). Every time someone connected with the server, it re-used the same OAuth token, until they actually signed up with the app. Well, not everyone, once they've gone to the authorization URL, actually signs u

[twitter-dev] Re: 502 error for public timeline

2009-10-20 Thread John Kalucki
Slightly off topic, but why are you calling the public timeline 10 times a minute? It's only updated once every 30 seconds. If you want more public statuses, you should be using the Streaming API. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Oct 20, 12:44 am, Scott Haned

[twitter-dev] Re: C# + OAuth + account/update_profile_image = 500 Internal Server Error

2009-10-20 Thread Zaudio
Thanks Thomas... I did look at TwitterVB as a possible way to find the answer to this particular function call... but the API says it doesn't yet cover account/updateprofileimage... Thanks Simon On Oct 19, 3:39 pm, Thomas Hübner wrote: > You can use TwitterVB which covers nearly the complete A

[twitter-dev] Re: C# + OAuth + account/update_profile_image = 500 Internal Server Error

2009-10-20 Thread Zaudio
Hi Nicholas, Sounds like you have this particular method cracked (account/ updateprofileimage) in Oauth Our code does use C# for all twitter layers... And thanks for your offer.. all I'm really after is the logic to get the correctly signed POST for this method... You seem to suggest I don't

[twitter-dev] from:user and since_id breaking Search API

2009-10-20 Thread Christopher Warren
We have an app that runs searches regularly, and recently stopped receiving new tweets. After investigating we found a search combination that seems to break the search API. Instead of getting a response with no tweets, an .atom request errors and a .json request 404s. http://search.twitter.com/s

[twitter-dev] API 140 character truncation change?

2009-10-20 Thread James Tymann
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. As of the 13th and earlier if I posted a 140+ character message to

[twitter-dev] Re: 502 error for public timeline

2009-10-20 Thread Bioscience News
I'm seeing numerous 502's and 500's this morning. Qwest business DSL is the service. Randy

[twitter-dev] Re: Where is the Twitter WADL?

2009-10-20 Thread Chad Etzel
Hi Edd, We may provide a WADL in the future, but right now one is not available. -Chad On Tue, Oct 20, 2009 at 5:33 AM, Edd wrote: > > Hi All, > > I am keen to start implementing a Twitter Web Service application but > I can't find any published WADL in the Twitter API docs. My IDE > (NetBeans

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

2009-10-20 Thread Josh Roesslein
This is the new intended behaviour from what I have been told. All tweets > 140 in length will be silently ignored. I'm guessing they don't throw an error here yet to not break any existing clients until they have upgraded. Eventually I'm sure we will be some sort of 400 error in the future. For n

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

2009-10-20 Thread Ryan Rosario
I have been running into a recurring problem that I have been facing for the past couple of days, on numerous machines. I am extracting 200 tweets for a large number of users, using the numeric user ID (user_id). After a small number of requests (between 10 and 50) I receive nothing but "This met

[twitter-dev] Re: Bug? Updates > 140 characters return success with prior update payload

2009-10-20 Thread Andy Freeman
Argh - if twitter is going to reject a dup status, I need to know what it's a dup of, not just the last status. On Oct 19, 2:47 am, Dave Sherohman wrote: > On Sun, Oct 18, 2009 at 04:48:13PM -0700, Naveen wrote: > > I agree. A silent failure seems like the wrong behavior.. It should > > return a

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

2009-10-20 Thread Chad Etzel
Hi Ryan, This sounds like a bug. Can you provide full HTTP request/response headers+body traces for some of these requests? (be sure to obscure the authentication header). Using curl -vvv would be good. -Chad On Tue, Oct 20, 2009 at 1:10 PM, Ryan Rosario wrote: > > I have been running into a r

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Tim Haines
Bump. On 20/10/2009, at 3:54 PM, TjL wrote: http://twitter.com/status/show/5008681027.xml| was entered with newlines between the words. It does not show the newlines. http://twitter.com/status/show/4999223282.xml shows that this was working just a few hours ago. Both were entered on the we

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

2009-10-20 Thread Michael Steuer
Hi, The reason why I¹m using followers/ids and then users/show is efficiency: I¹m maintaining a local cache of my users social graph. I¹m also maintaining local user objects for my users and for their followers. Since both the social graph and user info are subject to change, both need periodic u

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

2009-10-20 Thread Ryan Rosario
Below are the responses. I tried various combinations of - uusername:pass -u=username:pass -u username:pass and each time got an authentication error. Without authentication [madhatter:~/Desktop] ryan% curl -vvv http://twitter.com/statuses/user_timeline.json\?user_id=1255997062\&count=100 * About

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Michael Ivey
As an aside; please don't bump threads on this list. -- ivey On Tue, Oct 20, 2009 at 12:58 PM, Tim Haines wrote: > > Bump. > > > On 20/10/2009, at 3:54 PM, TjL wrote: > > >> http://twitter.com/status/show/5008681027.xml|was >> entered with >

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread Travholt
I have the same problem. See an example here: http://www.grunder.no/grundere/20091006/svaksynte-ma-bli-grundere/ Click the link under the main text where it says "Del på Twitter" (Norwegian for "Share on Twitter"). When the new window opens, you can see the URL with ü, Ü and Ø in it, but then a

[twitter-dev] Re: Checking if a user exists by email

2009-10-20 Thread HAR Devel
I can see how this might look like a spammer's request, but it can be used for legitimate purposes. Thanks for the info though. On Oct 15, 9:06 am, Andrew Badera wrote: > Haven't you heard about the allegedly spammer-hostile Address Book API > that's coming soon? > > ∞ Andy Badera > ∞ +1 518-641

[twitter-dev] Re: Checking if a user exists by email

2009-10-20 Thread Marco Kaiser
No one accused you to be a spammer, and there are definitely very useful scenarios for such a functionality. But, and that's the key point, there a many many more scenarios in which it could be abused by spammers... Marco 2009/10/20 HAR Devel > > I can see how this might look like a spammer's re

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

2009-10-20 Thread Dewald Pretorius
Apart from the 401 issue, the following is also very weird: < X-experimental-RLS-remaining: 0 < X-experimental-RLS-maxvalue: 150 < X-RateLimit-Limit: 2 This is on the second authenticated call. On the unauthenticated call X-RateLimit-Limit was 150. I assume both calls were made from the same

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

2009-10-20 Thread Ryan Rosario
Correct. I thought that was weird, but didn't know what to make of it. Same IP. The unauthenticated call was from an IP that is not whitelisted, so 150/hr. The second call was from the same IP, but authenticated as a whitelisted account, so should be 2/hr. I usually only work from the whiteli

[twitter-dev] Re: twitter encoding problem

2009-10-20 Thread sadullah keleş
hi Travholt, i noticed that too, there is a problem with textbox's or page's encoding so i think there is no way for us to achieve this problem. if you could find a way please let me know good night. On Tue, Oct 20, 2009 at 8:50 PM, Travholt wrote: > > I have the same problem. See an example

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread TjL
On Tue, Oct 20, 2009 at 2:11 PM, Michael Ivey wrote: > As an aside; please don't bump threads on this list. As an aside, how about someone answers the question rather than just getting pissy at people who are trying to figure out how a change is going to effect products they're building around

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Hwee-Boon Yar
I've observed the same behavoir at least 10 hours ago and still seeing it now. -- Hwee-Boon On Oct 21, 3:57 am, TjL wrote: > On Tue, Oct 20, 2009 at 2:11 PM, Michael Ivey wrote: > > As an aside; please don't bump threads on this list. > > As an aside, how about someone answers the question rat

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Michael Ivey
I don't know the answer, and I wasn't getting pissy. I was (rather politely, in fact) pointing out that the folks from Twitter have repeatedly asked us not to bump threads here. Just because you're frustrated with a situation doesn't mean you should take that frustration out on the others on the

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Chad Etzel
We are investigating this internally. Please don't bump. -Chad On Tue, Oct 20, 2009 at 4:44 PM, Michael Ivey wrote: > I don't know the answer, and I wasn't getting pissy. > > I was (rather politely, in fact) pointing out that the folks from Twitter > have repeatedly asked us not to bump thread

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread Chad Etzel
Just to follow up. We have determined that this is a bug and the engineering team is working to figure out how this snuck in. I'm afraid I don't have an ETA on a fix, but we are working on it. -Chad On Tue, Oct 20, 2009 at 4:51 PM, Chad Etzel wrote: > We are investigating this internally. > > P

[twitter-dev] Re: 502 error for public timeline

2009-10-20 Thread Scott Haneda
They were piling up, it is not my routine to call them every minute, but what happens is I have a 10 second timeout on the curl call, another request comes in, but it is chewing away on the 10 seconds, and they just build up. I have resolved this with some backoff code. I am calling the

[twitter-dev] Re: linespaces / whitespace being removed: bug or feature?

2009-10-20 Thread TjL
On Tue, Oct 20, 2009 at 5:13 PM, Chad Etzel wrote: > > Just to follow up. We have determined that this is a bug and the > engineering team is working to figure out how this snuck in. I'm > afraid I don't have an ETA on a fix, but we are working on it. Good to know it isn't a permanent change.

[twitter-dev] API Changelogs Updates

2009-10-20 Thread Dewald Pretorius
Can you Twitter folks please update http://apiwiki.twitter.com/REST-API-Changelog more frequently? I know it is not the highest of your priorities, but it will definitely help us having fewer Whiskey Tango Foxtrot moments. Dewald

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

2009-10-20 Thread Chad Etzel
Hi Ryan, I think part of the problem is that user id 1255997062 does not exist, so it should really be returning a 404 instead of a 401. Do you get the same 401 result with a known valid user id? -Chad On Tue, Oct 20, 2009 at 3:13 PM, Ryan Rosario wrote: > > Correct. I thought that was weird,

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

2009-10-20 Thread Ryan Rosario
I think I see what is happening now. After 15 users or so, I hit a user that no longer exists. On a 404, I skip the user, but on a 401, for the time being, I am retrying, and then maxing out my hourly limit. The other part was my overworked mind. I was pulling numbers that looked like Twitter IDs

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

2009-10-20 Thread Ryan Rosario
*bangs head on desk...again* Now that I know what what my Twitter ID is, and I know that I am a valid user, I tried it and it worked. It's gone way past 15 users now without a problem (without error checking). I see what is happening now. After 15 users or so, I hit a user that no longer exists.

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

2009-10-20 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 1:43