[twitter-dev] Check if I have gardenhose or spritzer access
Hello, How can I check if my login has spritzer or gardenhose access? Also, if I have spritzer and would like gardenhose, who should I contact? Regards, Lucas -- 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
Re: [twitter-dev] Farsi Twitter App
Thank you everyone. You've given me quite a few good options to look into. Lucas On Mon, Jul 5, 2010 at 5:57 AM, Jean-Charles Campagne a...@semiocast.com wrote: Hello Lucas, We do not provide, yet, exactly what you are looking for, but for now we might help you on the language filtering part. We provide an API for language and location filtering for micro-messages (Tweets and Facebook messages, etc.). You'll find more info on the API website: http://developer.semiocast.com Regarding the feature you are looking for, we made a request to Twitter to be able to redistribute a filtered API, so we will be able to provide something closer to what you are looking for. You can, more or less, achieve the same today with our current state of the API but it'll be more plumbing on your side. Best regards, Jean-Charles Campagne Semiocast On Sat, Jul 3, 2010 at 12:36 AM, Lucas Vickers lucasvick...@gmail.com wrote: Hello, I am trying to create an app that will show tweets and trends in Farsi, for native speakers. I would like to somehow get a sample 'garden hose' of Farsi based tweets, but I am unable to come up with an elegant solution.
[twitter-dev] Farsi Twitter App
Hello, I am trying to create an app that will show tweets and trends in Farsi, for native speakers. I would like to somehow get a sample 'garden hose' of Farsi based tweets, but I am unable to come up with an elegant solution. I see the following options: - Sample all tweets, and run a language detection algorithm on the tweet to determine which are/could be Farsi. * Problem: only a very very small % of the tweets will be in Farsi - Use the location filter to try and sample tweets from countries that are known to speak Farsi, and then run a language detection algorithm on the tweets. * Problem: I seem to be limited on the size of the coordinate box I can provide. I can not even cover all of Iran for example. - Filter a standard farsi term. * Problem: will limit my results to only tweets with this term - Search for laguage = farsi * Problem: Not a stream, I will need to keep searching. I think of the given options I mentioned what makes the most sense is to search for tweets where language=farsi, and use the since_id to keep my results new. Given this method, I have three questions 1 - since_id I imagine is the highest tweet_id from the previous result set? 2 - How often can I search (given API limits of course) in order to ensure I get new data? 3 - Will the language filter provide me with users who's default language is farsi, or will it actually find tweets in farsi? I am aware that the user can select their native language in the user profile, but I also know this is not 100% reliable. Can anyone think of a more elegant solution? Are there any hidden/experimental language type filters available to us? Thanks! Lucas
[twitter-dev] Re: modifying rate limits under serious load
Could you give more information on how you would lower a specific user's limits? For example my client does the following, this is of course simplified api_requests_left = 0; loop { if(api_requests_left == 0) { update_request_limits(); } // hit your server and ask my remaining limit, sleep and wait if needed make_request; -- api_requests_left; } I see two cases I need to figure out: 4pm. Twitter tells me I have 100 requests left. Request limit renews at 5pm. - Will you ever lower my request limit between 4 and 5pm, or can I assume what I was told was good for a full hour? - If I use none of my requests between 4pm and 5pm, is there a chance my new request limit will be lowered, or will you still honor my 100 remaining requests even if at 5pm you lower your limit to 50/hour? thanks On Jun 23, 3:20 pm, Raffi Krikorian ra...@twitter.com wrote: hi everyone, as you all know, Twitter has been faced with considerable capacity problems in recent weeks. we have many efforts under way to expand capacity and more efficiently use the capacity we have. starting today, we're going to begin adjusting rate limits dynamically under load in order to maintain an awesome experience for as many users as possible. today, we're experimenting with moving rate limits for all clients to varying amounts during periods of high load. you might see rate limits change from the default of 350 calls / hour. you may even see different values as we monitor the effect these changes have on overall Twitter performance. this means that it's more important than ever for client applications to monitor their rate limits through the HTTP headers and account/rate_limit_status and adjust your client's behavior accordingly. we're happy to help you achieve that, and please reach out to us if you need that help (either through this mailing list, or through @twitterapi). we understand that this might cause some issues in some clients, and will certainly impact the amount of requests your users can make to Twitter. however, the entire ecosystem will be more performant and you will see fewer whales on write operations (like posting tweets). thank you everyone for your continued patience. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Re: Streaming API OAuth explanation?
I am writing my own c++ based OAuth library. I know there is liboauth but I like to do things myself to learn. Anyhow I am trying to access http://stream.twitter.com/1/statuses/sample.xml and I keep getting 401. I have verified pretty much every parameter, and used the tool on http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/ to verify my signature is correct. I used twurl to obtain the user access tokens to my account. After doing some reading I'm no longer convinced that the streaming server even supports oauth. can you fill me in on the current status of stream.twitter.com and oauth? thanks! Lucas On Apr 20, 11:02 pm, Jonathon Hill jhill9...@gmail.com wrote: Thanks Taylor for the very detailed and helpful response! Jonathon On Apr 20, 1:17 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Jonathon, ForStreamingAPI access that isn't from the perspective of a user's account, you would use two-leggedOAuthto establish authentication instead of basic auth. A two-leggedOAuthrequest is very similar to otherOAuthrequests: you have a specific resource you are trying to access, you have some parameters you want to pass to that resource, and you have anOAuthconsumer key andOAuth consumer secret. Which is unlike three-leggedOAuthwhere you also have oauth_tokens representing either a user/access_token or a request token in addition to the rest. But the rules remain the same. You take all theOAuthparameters and the parameters you are sending to the resource, organize them, build a signature base string, then sign that with your consumer secret and send the request on to Twitter properly signed. The only difference is that there is no oauth_token and oauth_token_secret getting involved in the mix. This is essentially what a two-legged request to thestreamingAPI would look like: Signature Base String GEThttp%3A%2F%2Fstream.twitter.com %2F1%2Fstatuses%2Fsample.jsonoauth_consumer_key%3Dri8JxYK2zzwSV5xIUfNNvQ%26oauth_nonce%3DSJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1271783743%26oauth_version%3D1.0 Signature Xi5jfuw2XqtU5KpNX9ZCtTptJS0= Authorization Header OAuthoauth_nonce=SJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1271783743, oauth_consumer_key=ri8JxYK2zzwSV5xIUfNNvQ, oauth_signature=Xi5jfuw2XqtU5KpNX9ZCtTptJS0%3D, oauth_version=1.0 Taylor Singletary Developer Advocate, Twitterhttp://twitter.com/episod On Tue, Apr 20, 2010 at 10:05 AM, Jonathon Hill jhill9...@gmail.com wrote: One thing I meant to find out @chirp last week--what willoauthlook like for theStreamingAPI? I'm having a hard time visualizing how that will work. Thanks, Jonathon Hill @compwright Company52 http://company52.com -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: Streaming API OAuth explanation?
Excellent, it works! thanks On Thu, May 13, 2010 at 2:11 PM, John Kalucki j...@twitter.com wrote: OAuth is not enabled on stream.twitter.com. You can try on chirpstream.twitter.com. On Thu, May 13, 2010 at 10:53 AM, Lucas Vickers lucasvick...@gmail.com wrote: I am writing my own c++ based OAuth library. I know there is liboauth but I like to do things myself to learn. Anyhow I am trying to access http://stream.twitter.com/1/statuses/sample.xml and I keep getting 401. I have verified pretty much every parameter, and used the tool on http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/ to verify my signature is correct. I used twurl to obtain the user access tokens to my account. After doing some reading I'm no longer convinced that the streaming server even supports oauth. can you fill me in on the current status of stream.twitter.com and oauth? thanks! Lucas On Apr 20, 11:02 pm, Jonathon Hill jhill9...@gmail.com wrote: Thanks Taylor for the very detailed and helpful response! Jonathon On Apr 20, 1:17 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Jonathon, ForStreamingAPI access that isn't from the perspective of a user's account, you would use two-leggedOAuthto establish authentication instead of basic auth. A two-leggedOAuthrequest is very similar to otherOAuthrequests: you have a specific resource you are trying to access, you have some parameters you want to pass to that resource, and you have anOAuthconsumer key andOAuth consumer secret. Which is unlike three-leggedOAuthwhere you also have oauth_tokens representing either a user/access_token or a request token in addition to the rest. But the rules remain the same. You take all theOAuthparameters and the parameters you are sending to the resource, organize them, build a signature base string, then sign that with your consumer secret and send the request on to Twitter properly signed. The only difference is that there is no oauth_token and oauth_token_secret getting involved in the mix. This is essentially what a two-legged request to thestreamingAPI would look like: Signature Base String GEThttp%3A%2F%2Fstream.twitter.com %2F1%2Fstatuses%2Fsample.jsonoauth_consumer_key%3Dri8JxYK2zzwSV5xIUfNNvQ%26oauth_nonce%3DSJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1271783743%26oauth_version%3D1.0 Signature Xi5jfuw2XqtU5KpNX9ZCtTptJS0= Authorization Header OAuthoauth_nonce=SJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1271783743, oauth_consumer_key=ri8JxYK2zzwSV5xIUfNNvQ, oauth_signature=Xi5jfuw2XqtU5KpNX9ZCtTptJS0%3D, oauth_version=1.0 Taylor Singletary Developer Advocate, Twitterhttp://twitter.com/episod On Tue, Apr 20, 2010 at 10:05 AM, Jonathon Hill jhill9...@gmail.com wrote: One thing I meant to find out @chirp last week--what willoauthlook like for theStreamingAPI? I'm having a hard time visualizing how that will work. Thanks, Jonathon Hill @compwright Company52 http://company52.com -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Streaming API follow limit
Hello, The Streaming API documentation used to state that you could follow 200 or 400 users (I forget). I just checked the updated documentation and I don't see any mention of limit. Does anyone know the limit of users I can follow with a regular and a whitelist account? The number is going to affect how I go about designing my program so it is important to know. Thanks! Lucas