Re: [twitter-dev] Problem with JSON
It looks like you are implicitly assuming that the OS will send you chunks of stream data that correspond to single, complete parsable chunks. That may have worked accidentally because that happened to be how they arrived in time, but it is definitely unreliable (as you found). What you should do in connection:didReceiveData: is buffer the data you received, and split it up yourself by looking for the delimiters that separate individual tweets, and then parse those individual tweets. -josh On Sun, Apr 18, 2010 at 5:29 AM, Carl Knott carl.kn...@gmail.com wrote: I have developed an iPhone app that connects to the streaming API the app was running correctly for 2 months but since yesterday it has not! I can still receive a response from the stream but now I can not parse the JSON correctly... My parser believes that the stream is incorrectly structured. I get a few correctly structured results and then I get errors. Is it a problem at twitters end or mine? Below is a snippet of my code. To initialize the HTTP request: request = [NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat: @http://%@:%@@stream.twitter.com/1/statuses/filter.json?track=%@;, [[NSUserDefaults standardUserDefaults] stringForKey:@UsernameKey], [[NSUserDefaults standardUserDefaults] stringForKey:@PasswordKey], searchFormat]] ]; - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { NSString *responseString = [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; NSDictionary *dictionary = (NSDictionary *) [parser objectWithString:responseString error:nil]; NSDictionary *user = (NSDictionary *) [dictionary valueForKey:@user]; if([user valueForKey:@screen_name] != nil) { Tweet *tweet = [[Tweet alloc] init]; [tweet setScreenName:[user valueForKey:@screen_name]]; [tweet setLink:[user valueForKey:@profile_image_url]]; [tweet setMessage:[dictionary valueForKey:@text]]; //do something [tweet release]; } } -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] @anywhere and my application
Hi, i already have an application that's called TwitterItalia.it and (i suppose) it's in the whitelist from at least 2 years. Accessing to http://dev.twitter.com/anywhere/ i can't see it. Have i to create another app to use @anywhere in http://www.twitteritalia.it ? thanks -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] @Anywhere query
Hello all, this might feel idiotic to you, I need your help. just got stuck in simple implementation of hovercards using @anywhere. Implementation works completely fine on http://www.mylocaltribune.net/ but on About Page http://www.mylocaltribune.net/about.php just can't understand, what is missing. Thanks in Advance ! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Introduce yourself!
Hello All, This is Abhishek, Statistic student by academic, SEO Consultant by profession and PHP enthusiast. Used twitter API for bots and Algorithmic development !! Currently working on Mylocaltribune.net My Twitter id : @Fitehal Have a nice week ahead ! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Introduce yourself!
Hi, I am Hasham Malik (@hasham2) I worked with a friend to develop (http:// auction4tweets.com). I love twitter platform and I have been using Ruby and Python develop twitter apps. Looking forward to incorporate @Anywhere to number of websites in near future Regards, Hasham On Feb 22, 4:03 am, Anton Krasovsky anton.krasov...@gmail.com wrote: Hi Guys, @ak1394 Anton Krasovsky, Dublin, Ireland. Author of PavoMe (twitter client for java mobiles). I've been working with twitter for about half a year, and my efforts are split between working on client application and backend server (which handles all communication between handset and Twitter servers, and is written in Erlang). So far the only twitter opensource released by me was an Erlang client library. I don't think anyone except me actually uses it. I'm looking forward to see xAuth avaiable - few users in China will appreciate not having to struggle with GFW to get their oauth tokens. http://github.com/ak1394/twerl http://pavo.me Regards, Anton On Fri, Feb 19, 2010 at 8:20 PM, Abraham Williams 4bra...@gmail.com wrote: We have not had an introductions thread in a long time (or ever that I could find) so I'm starting one. Don't forget to add an answer to the tools thread [1](Gmail link [2]) as well. I'm Abraham Williams, I've been working with the Twitter API and this group since early 2008. I do mostly freelance Drupal and Twitter API integration and personal projects. I love seeing the creative projects developers build or integrate with the API and look forward to meeting many of you at Chirp. TwitterOAuth [3] the first PHP library to support OAuth is built and maintained by me, and will hopefully see a new release soon. I also built a fun Chrome extension [4] that integrates common friends and followers into Twitter profiles. The feature I would most like added to the API is a conversation method to get replies to a specific status. So. Who are you, what do you do, what have you built, and what feature do you most want to see added? @Abraham [1] http://groups.google.com/group/twitter-development-talk/browse_thread... [2] https://mail.google.com/mail/#inbox/12680cd0fa59011e [3] https://chrome.google.com/extensions/detail/npdjhmblakdjfnnajeomfbogo... [4] http://code.google.com/p/twitter-api/issues/detail?id=142 -- Abraham Williams | Community Advocate |http://abrah.am Project | Out Loud |http://outloud.labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. Sent from Seattle, WA, United States
Re: [twitter-dev] @anywhere and my application
Hi Davide, Do you see your application on this page: http://dev.twitter.com/apps? All you need to get started with @Anywhere is to verify that your application has read/write privileges (which will be made easier soon), and use your consumer key as your API key. Your callback URL must correspond to the subdomain and domain you're executing @Anywhere on. I find it is best to create a new application at http://dev.twitter.com/anywhere/apps/new rather than re-use an existing application. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Mon, Apr 19, 2010 at 6:05 AM, Davide rapetti.dav...@gmail.com wrote: Hi, i already have an application that's called TwitterItalia.it and (i suppose) it's in the whitelist from at least 2 years. Accessing to http://dev.twitter.com/anywhere/ i can't see it. Have i to create another app to use @anywhere in http://www.twitteritalia.it ? thanks -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Classic ASP oAuth?
Hi Liz, I just recently finished up a Classic ASP VBScript OAuth implementation: http://scottdesapio.com/VBScriptOAuth/ Have a look and let me know if you have any questions. On Mar 29, 3:29 pm, Liz liz.kel...@gmail.com wrote: Looking to add twitter integration to Classic ASP. I have a page that tweets automatically, which I got to work with Basic Auth, of course that is going to be depreciated soon so I have to get oAuth working. Another thing I have to do is to verify credentials, for which I have to store people's info since I haven't been able to get oAuth to work. Of course, my workaround is not working either, since I can't seem to get verify_credentials to actually work with classic asp, it just always returns a 401. strUsername = request.form(twitterUserName) strPassword = request.form(twitterPassword) Set xml = Server.CreateObject(Msxml2.ServerXMLHTTP.3.0) xml.Open GET, http://; strUsername : strPassword @api.twitter.com/1/account/verify_credentials.xml response.write(http://; strUsername : strPassword @api.twitter.com/1/account/verify_credentials.xml) xml.setRequestHeader Content-Type, content=text/html; charset=iso-8859-1 xml.Send Response.Write xml.responseText 'view Twitter's response Set xml = Nothing This just plain does not work. Need help, ASAP! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: @anywhere and my application
Hi Taylor, yes I see the new application, not the older. But, I would like to use @anywhere with the older in order to se the original name when someone tweet form it. for example, this is my first tweet from the application http://twitter.com/daviderapetti/status/12455173615 and the user will see the name of the new app. Instead a i would like use the older, if it's possible. really sorry for my ba english :) On 19 Apr, 15:26, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Davide, Do you see your application on this page:http://dev.twitter.com/apps?All you need to get started with @Anywhere is to verify that your application has read/write privileges (which will be made easier soon), and use your consumer key as your API key. Your callback URL must correspond to the subdomain and domain you're executing @Anywhere on. I find it is best to create a new application athttp://dev.twitter.com/anywhere/apps/newrather than re-use an existing application. Taylor Singletary Developer Advocate, Twitterhttp://twitter.com/episod On Mon, Apr 19, 2010 at 6:05 AM, Davide rapetti.dav...@gmail.com wrote: Hi, i already have an application that's called TwitterItalia.it and (i suppose) it's in the whitelist from at least 2 years. Accessing tohttp://dev.twitter.com/anywhere/i can't see it. Have i to create another app to use �...@anywhere inhttp://www.twitteritalia.it ? thanks -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: @anywhere and my application
Hi Davide, Is your original application an OAuth-based, registered application or does it use Basic Auth? If it uses OAuth, is registered, and is not restricted for some reason, you should be able to use it for @Anywhere. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Mon, Apr 19, 2010 at 6:40 AM, Davide rapetti.dav...@gmail.com wrote: Hi Taylor, yes I see the new application, not the older. But, I would like to use @anywhere with the older in order to se the original name when someone tweet form it. for example, this is my first tweet from the application http://twitter.com/daviderapetti/status/12455173615 and the user will see the name of the new app. Instead a i would like use the older, if it's possible. really sorry for my ba english :) On 19 Apr, 15:26, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Davide, Do you see your application on this page:http://dev.twitter.com/apps?All you need to get started with @Anywhere is to verify that your application has read/write privileges (which will be made easier soon), and use your consumer key as your API key. Your callback URL must correspond to the subdomain and domain you're executing @Anywhere on. I find it is best to create a new application athttp:// dev.twitter.com/anywhere/apps/newrather than re-use an existing application. Taylor Singletary Developer Advocate, Twitterhttp://twitter.com/episod On Mon, Apr 19, 2010 at 6:05 AM, Davide rapetti.dav...@gmail.com wrote: Hi, i already have an application that's called TwitterItalia.it and (i suppose) it's in the whitelist from at least 2 years. Accessing tohttp://dev.twitter.com/anywhere/i can't see it. Have i to create another app to use @anywhere inhttp://www.twitteritalia.it ? thanks -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Chirp
Hello Rajinder. Thank you for coming -- and for the note. Very glad you found it worthwhile. Ev. On Saturday, April 17, 2010, Rajinder Yadav devguy...@gmail.com wrote: Just want to say BIG thanks to everyone at Twitter for hosting Chirp; Thanks to the organizers, co-founders, Team Twitter and the many volunteers. Most of all I am grateful to Twitter for making it affordable for individuals like me to be able to attend. Chirp was a blast. Also first time in SF, great people, fun city to explore and visit. Will be back to visit again and look forward to another Chirp event in the future. Really happy to score pictures with Ryan and Evan, was worth the trip just for that alone!!! Still need one with Biz and Dick, next time! Thanks Twitter =) -- Kind Regards, Rajinder Yadav -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] @Anywhere query
Hi Abhishek, On that about page the Twitter handles on the page are already linked to Twitter.com -- @Anywhere takes care not to re-write already anchored links. You can tell @Anywhere to try to link these as well by using a form similar to: script type=text/javascript twttr.anywhere(function(twitter){ twitter(a).hovercards({infer:true}); }); /script This tells @Anywhere to try to infer links to Twitter and @Usernames from A tags on the page. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Mon, Apr 19, 2010 at 3:36 AM, Abhishek desh.abhishek...@gmail.comwrote: Hello all, this might feel idiotic to you, I need your help. just got stuck in simple implementation of hovercards using @anywhere. Implementation works completely fine on http://www.mylocaltribune.net/ but on About Page http://www.mylocaltribune.net/about.php just can't understand, what is missing. Thanks in Advance ! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Privacy issues with the proposed annotations feature
Brian, not to ignore privacy issues but just to simplify the situation a bit ... What currently protects a user from a malicious (desktop) application stealing all kinds of user data via submitting tweets through it's proxy? And even by submitting such information directly to it's website? On Apr 19, 2:03 am, Raffi Krikorian ra...@twitter.com wrote: Right now the web UI exposes every piece of metadata in a tweet to end-users. That is, an end-user can use twitter.com to check the complete contents of tweet sent by an application. I didn’t see anything in the proposals regarding the annotation feature that says that users will be able to see all the annotations through the web UI. And, even if they could see them, chances are they couldn’t understand them. And, even if end-users could understand them, applications will be able to use encryption and other obfuscation to make them impossible to interpret. This reduces the amount of control users have over their tweets. this wasn't always true -- there was a period where the web client showed no geo information at all. geo was an API only feature. at current time, it is still a bit unknown how the twitter.com webclient will utilize annotations (just like its unknown how the ecosystem will utilize annotations). I think there must be some kind of control mechanism in place for annotations, or the web UI must present all the annotations of a user’s tweets to that user, or both, in order to prevent the annotations feature from becoming a side channel for applications to communicate users’ private information without users’ knowledge or consent. I would like to know more about how this is going to be done. at this point, we're not planning to have any elaborate control mechanisms over annotations, however, your point of being able to use twitter.com as a debugging interface is an interesting one. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Bitly/Twitter short url character set
Hi All, My question is what the allowable char set is for bitly and soon to be twitter short URLs. Are they simply [0-9][A-Z][a-z] which would make it base62 and not a true base64? Are there characters I'm not including? Will Twitter's set match bitly's character set? Please share links if you got em! Thank you, Alexander -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Privacy issues with the proposed annotations feature
I think Brian brings up some interesting points. What this reminds me of is the machine identification codes secretly being including in every page printed by personal use printers ( EFF article here: http://www.eff.org/wp/investigating-machine-identification-code-technology-color-laser-printers ). Annotations could potentially be used to add a lot of tracking information users might not be happy with. What happens when a developer decides to attach the user's OAuth info to their tweets for whatever dumb reason? I think these are interesting questions, though I'm not sure Twitter can do too much about them in advance without severely restricting what annotations has the potential for. Twitter is taking a wait-and- see approach to what developers do with annotations and I think that it probably the right one for now. @orian On Apr 18, 8:23 pm, Brian Smith br...@briansmith.org wrote: Right now the web UI exposes every piece of metadata in a tweet to end-users. That is, an end-user can use twitter.com to check the complete contents of tweet sent by an application. I didn't see anything in the proposals regarding the annotation feature that says that users will be able to see all the annotations through the web UI. And, even if they could see them, chances are they couldn't understand them. And, even if end-users could understand them, applications will be able to use encryption and other obfuscation to make them impossible to interpret. This reduces the amount of control users have over their tweets. Right now an application cannot disclose the user's location in a tweet, except by putting the location information in the tweet text (which the user can see very clearly), or by putting the location information in the built-in geo feature. The ability for applications to expose the user's information is controlled by a preference that can be controlled only by the official web interface on twitter.com. However, with the annotations feature, applications will be able to expose the user's location-again, possibly encrypted or otherwise obfuscated-even when application access to the location feature is disabled. It doesn't make sense to disable an applications' access to the geo feature and then let it silently and undetectably disclose the user's location-perhaps in even more detail than the built-in geo feature allows. I think there must be some kind of control mechanism in place for annotations, or the web UI must present all the annotations of a user's tweets to that user, or both, in order to prevent the annotations feature from becoming a side channel for applications to communicate users' private information without users' knowledge or consent. I would like to know more about how this is going to be done. Thanks, Brian -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Twitter4J 2.1.2 is out - with friendships/incoming-outgoing methods support and feature-specific rate limit information
Hi all, I'm glad to announce that Twitter4J version 2.1.2 is available for download. http://twitter4j.org/en/index.html#download Twitter4J is an unofficial Java library for the Twitter API. It is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/2.1.2/ Please refer the Support API matrix the supported methods. http://twitter4j.org/en/api-support.html For Twtter4J specific issues, please use the Twitter4J mailing list. http://twitter4j.org/en/index.html#mailingList Release Notes: http://samuraism.jp/blog/2010/04/19/twitter4j_2_1_2_released_with_latest_api_support.html Best regards, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] What was the web site for the Hack Day applications?
At the end of Chirp, there was a web site given that was to hold all of the applications, including the ones that didn't get to present on stage. What's the URL? Is it live yet? If not, when will it be live? -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: Introduce yourself!
Hi All, I am Kingsley Idehen, Founder CEO, OpenLink Software. Somewhat unconventional re. conventional CEO's, I am still actively involved in the technical aspects of my company's products. Background: I've been involved with Data Access (ODBC, JDBC, OLEDB, ADO.NET, XMLA), Data Integration, and Data Management (Relational, Graph, Document) technology since the late '80's (I am only 44 btw!). More recently, I've been actively involved with the burgeoning Web of Structured Linked Data (using GData, OData, and RDF etc..). My main interest here is to contribute to the conversation that ultimately leads Twitter realizing its full potential via its evolution into a powerful Linked Data Space on the burgeoning Web of Linked Data. The opportunities are boundless and the sole requirement is structured data (which makes Linking much easier). Links: 1. http://www.openlinksw.com/blog/~kidehen -- Blog 2. http://bit.ly/cA0zxw -- Recent Data 3.0 Manifesto Post re. Structured Data Construction and Dissemination via HTTP using EAV Data Model. -- Regards, Kingsley Idehen President CEO OpenLink Software Web: http://www.openlinksw.com Weblog: http://www.openlinksw.com/blog/~kidehen Twitter: @kidehen -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Get user profile pic by name, unauthenticated?
Why not? You know people are just going to continue to ask for it ;) On Apr 18, 6:36 pm, Raffi Krikorian ra...@twitter.com wrote: we don't support the original in this endpoint - just the three that you listed. On Sun, Apr 18, 2010 at 3:33 PM, Abraham Williams 4bra...@gmail.com wrote: Mini, normal, and bigger are work but what about original? Abraham On Sun, Apr 18, 2010 at 13:37, Raffi Krikorian ra...@twitter.com wrote: http://api.twitter.com/1/users/profile_image/raffi?size=bigger we will document this endpoint this week. On Sun, Apr 18, 2010 at 1:34 PM, WBC wooden.brain.conce...@gmail.comwrote: Thanks Raffi... I knew there had to be something more simple! Is there a way to get the bigger image? I can parse the HTML and just replace _normal with _bigger of course... Anyway, cheers. On Apr 18, 8:50 am, Raffi Krikorian ra...@twitter.com wrote: e.g.http://api.twitter.com/1/users/profile_image/raffi On Sat, Apr 17, 2010 at 9:41 PM, WBC wooden.brain.conce...@gmail.com wrote: Hello all, please forgive a newbie here. I would like to accomplish one simple task as described in the title: get the URL of a user profile picture by user name, in the context of a Mac application. At this time (and in the foreseeable future) I have no interest in doing more with the API(s). I do not want to ask users to authenticate with their own accounts for this simple purpose, and I don't want to run into an application-based rate-limit for my distributed, desktop application. I do plan to cache and honestly I can't imagine more than 50 calls a WEEK per IP for this purpose. I assume based on this from the FAQ: The REST API does account- and IP-based rate limiting. Authenticated API calls are charged to the authenticating user's limit while unauthenticated API calls are deducted from the calling IP address' allotment. ... that the user's IP is the one deducted if unauthenticated, which is perfectly fine. But the search API requires authentication: http://api.twitter.com/1/users/search.xml?q=username I've spent quite a lot of time trying to figure this out already, so a simple yes, you can do it and here's the URL would be very kind. (I can easily accomplish what I want just by parsing some HTML... but I thought I'd try to be legit about it ;-) -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- Abraham Williams | Developer for hire |http://abrah.am PoseurTech Labs | Projects |http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Re: Bitly/Twitter short url character set
Cross post on the bit.ly group here, http://groups.google.com/group/bitly-api/browse_thread/thread/ffbf603c9746998f . Jehiah says it's [-_a-zA-Z0-9]+ , aka. 'base64url' encoding, http://en.wikipedia.org/wiki/Base64#URL_applications . On Apr 19, 10:52 am, Alexander Sicular sicul...@gmail.com wrote: Hi All, My question is what the allowable char set is for bitly and soon to be twitter short URLs. Are they simply [0-9][A-Z][a-z] which would make it base62 and not a true base64? Are there characters I'm not including? Will Twitter's set match bitly's character set? Please share links if you got em! Thank you, Alexander -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] APRS data on twitter?
APRS (aprs.net) is a system ham radio operators use to broadcast short text messages (sound familiar?), usually about their current position, current weather, etc. If you telnet rotate.aprs.net 10152 and enter user READONLY pass -1, you can see most (all?) APRS data. I think it'd be useful to stream this data into twitter to make it more available. There's quite a bit of data generated every minute, so this might require an exception to the normal tweets-per-hour policy. Thoughts? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Introduce myself
Hi: My name is Rodrigo Vega, I am from México city and... I am a master in science. I am working as a freelance developping any kind of software, and for this moment, over twitter API. cheers. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Google Moderator Questions
For Chirp, Twitter set up a Google Moderator page and collected questions. The link is http://www.google.com/moderator/#16/e=5c0f. It now reads 220 people have submitted 110 questions and cast 1,080 votes When and where will we see the answers to those questions? -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: @Anywhere + Sign in with Twitter / oAuth
One more vote +1!!! I also think that OAuth and Anywhere has to require only and just one only sign in for using both. On Apr 15, 8:20 pm, YCBM youcannotb...@gmail.com wrote: I was just thinking about this earlier today. We're switching one of our projects tooAuth, and it seems a bit cumbersome to ask the user to approve access to 2 different apps from the same site. Especially considering theoAuthapproval screens look totally different from each other. If it isn't on the roadmap, +1 vote from me. On Apr 15, 6:19 am, Yousef El-Dardiry yousefdard...@gmail.com wrote: I'm wondering whether we can auto sign-in users of our application to @Anywherewhen they have already signed in with Twitter to our application using theoAuthAPI. It doesn't make sense from a user's perspective to ask the user to sign in twice. If this is not possible yet is it on the roadmap? Thanks, -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Introduce yourself!
My name is Rodrigo Vega, I have a master in science, I am a freelance and for now, I am developping a widget in WP that uses the twitter API. cheers On Feb 19, 3:20 pm, Abraham Williams 4bra...@gmail.com wrote: We have not had an introductions thread in a long time (or ever that I could find) so I'm starting one. Don't forget to add an answer to the tools thread [1](Gmail link [2]) as well. I'm Abraham Williams, I've been working with the Twitter API and this group since early 2008. I do mostly freelance Drupal and Twitter API integration and personal projects. I love seeing the creative projects developers build or integrate with the API and look forward to meeting many of you at Chirp. TwitterOAuth [3] the first PHP library to support OAuth is built and maintained by me, and will hopefully see a new release soon. I also built a fun Chrome extension [4] that integrates common friends and followers into Twitter profiles. The feature I would most like added to the API is a conversation method to get replies to a specific status. So. Who are you, what do you do, what have you built, and what feature do you most want to see added? @Abraham [1]http://groups.google.com/group/twitter-development-talk/browse_thread... [2]https://mail.google.com/mail/#inbox/12680cd0fa59011e [3]https://chrome.google.com/extensions/detail/npdjhmblakdjfnnajeomfbogo... [4]http://code.google.com/p/twitter-api/issues/detail?id=142 -- Abraham Williams | Community Advocate |http://abrah.am Project | Out Loud |http://outloud.labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. Sent from Seattle, WA, United States
[twitter-dev] How many tweets I can search
Hello, I'm developing a program and I wonder if Twitter has a limit to search for messages ... Thanks and sorry for the English -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Google Moderator Questions
Some session leads gave answers and some didn't. I don't think anybody was taking notes and or video recording any of the hack-day videos. I suppose people could try to answer them from memory. Abraham 2010/4/19 M. Edward (Ed) Borasky zn...@comcast.net For Chirp, Twitter set up a Google Moderator page and collected questions. The link is http://www.google.com/moderator/#16/e=5c0f. It now reads 220 people have submitted 110 questions and cast 1,080 votes When and where will we see the answers to those questions? -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Abraham Williams | Developer for hire | http://abrah.am PoseurTech Labs | Projects | http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private.
RE: [twitter-dev] Re: Privacy issues with the proposed annotations feature
Alexro wrote: not to ignore privacy issues but just to simplify the situation a bit ... What currently protects a user from a malicious (desktop) application stealing all kinds of user data via submitting tweets through it's proxy? And even by submitting such information directly to it's website? That is a very good point. It is an unsolved problem that affects nearly all installable software, and that is a problem that needs to be solved at the operating system level. iPhone OS and the upcoming Windows 7 Phone do have measures to protect against that kind of data theft and inadvertent information disclosure; in fact, basically all of the API limitations in Windows 7 Phone (no background apps, no access to the user's personal information, warnings about GPS usage) can be traced back to privacy protection. Similarly, even in desktop Windows, access to PIM information (email and contacts in particular) is severely restricted with the official APIs. Location is a different because Twitter has special privacy protections for its geo feature, including technical limitations that control whether applications may use it, and a way to remove the location information from tweets after the fact. I don't think it makes sense to have a lock for the built-in location feature and at the same time allow applications to use annotations to disclose the same (or even more precise) location information regardless of that lock. If you can trust applications not to disclose location information via annotations without the user's consent, why can't you trust those same applications to not use the built-in geo feature without the user's consent? If an application isn't trusted enough to be able to flip the geo switch, why should it be trusted to not disclose the user's location in a different way without the user's consent? At least with the built-in geo feature, there is a built-in mechanism for the user to remove the geo annotations, unlike other annotations. It is the same deal with Twitter XAuth and website-only functionality. A malicious Twitter XAuth application has full access to everything in the user's account because it has the user's password. Meanwhile, the API doesn't expose useful actions (sign up, approve followers, change password, read email address) in an effort to prevent malicious applications from using that functionality. But, of course, malicious applications don't *need* any official API at all to perform those actions. My conclusion is that the API restrictions punish well-behaved applications due to fear that they may be malicious, but they don't actually prevent any unwanted behavior by applications that actually are malicious. This is something that Raffi touched on when he blogged about how he thinks that every OAuth approval should be going through the Twitter website (i.e. no Twitter XAuth). The annotations feature would compound that problem in a way that can't be solved by disabling Twitter XAuth access to applications. (Note that Twitter XAuth is different from, xauth.org XAuth.) Regards, Brian -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Adding new keywords to the streaming api
I want to transition my application to use the streaming API instead of the search API, but I don't understand how I can add or remove tracked keywords that are sent via the filter stream. From my understanding the keywords are sent via post when the connection is made, the connection is kept and gives you the tweets. But, what happens when you need to add/remove keywords from the filter? It seems that I would have to close the connection and open a new one... This seems inefficient both in terms of the connections established but also in terms of the downtime where I won't be getting data. Am I misunderstanding how you use the streaming api? Thanks. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Adding new keywords to the streaming api
We want to make this much easier, but we won't get to this for a while. In the mean time: http://apiwiki.twitter.com/Streaming-API-Documentation#UpdatingFilterPredicates -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 10:43 AM, rksprst alex.kamin...@gmail.com wrote: I want to transition my application to use the streaming API instead of the search API, but I don't understand how I can add or remove tracked keywords that are sent via the filter stream. From my understanding the keywords are sent via post when the connection is made, the connection is kept and gives you the tweets. But, what happens when you need to add/remove keywords from the filter? It seems that I would have to close the connection and open a new one... This seems inefficient both in terms of the connections established but also in terms of the downtime where I won't be getting data. Am I misunderstanding how you use the streaming api? Thanks. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Is it possible to add location information about a location I am tweeting ABOUT versus a location I am tweeting FROM?
Example: I'm in New York, but I want to tweet about an event in Washington, DC from the web. Is there a way to attach the location information for Washington, DC to a tweet that I am sending from a computer in New York? I know this is possible from the API, but I am curious if this is supported in anyway from the Twitter web interface. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Adding new keywords to the streaming api
That's great, thanks. I don't know how I missed that section in the documentation. On Apr 19, 11:02 am, John Kalucki j...@twitter.com wrote: We want to make this much easier, but we won't get to this for a while. In the mean time: http://apiwiki.twitter.com/Streaming-API-Documentation#UpdatingFilter... -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 10:43 AM, rksprst alex.kamin...@gmail.com wrote: I want to transition my application to use the streaming API instead of the search API, but I don't understand how I can add or remove tracked keywords that are sent via the filter stream. From my understanding the keywords are sent via post when the connection is made, the connection is kept and gives you the tweets. But, what happens when you need to add/remove keywords from the filter? It seems that I would have to close the connection and open a new one... This seems inefficient both in terms of the connections established but also in terms of the downtime where I won't be getting data. Am I misunderstanding how you use the streaming api? Thanks. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Recommended ways to demultiplex the search stream with thousands of searches
I was unable to attend Chirp in person, so I could not hear John Kalucki's comments on this... Anyone have any notes on this... John? j On Apr 16, 3:36 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: So I'm looking at the streaming api (track), and I've got thousands of searches. (http://tweettronics.com) I mainly need it to deal with terms that are very high volume, and to deal search api rate limiting. The main difficulty I'm thinking about is the best way to de-multiplex the stream back into the individual searches I'm trying to accomplish. 1. How do you handle if the searches are more complex than single terms, but a boolean expression... Do you convert the boolean into something like regex, and then run that regex on every tweet... So if I have several thousand regexs and thousands of tweets, that's a huge amount of processing just todemultiplex... But is that the way to go? 2 And if the search is just a simple expression, do folks simplydemultiplexby doing a string search for each word in the search for every received tweet... like above? I'm looking for recommended ways todemultiplexthe search stream... Thanks, jeffrey greenberg -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Google Moderator Questions
On 04/19/2010 10:26 AM, Abraham Williams wrote: Some session leads gave answers and some didn't. I don't think anybody was taking notes and or video recording any of the hack-day videos. I suppose people could try to answer them from memory. Abraham Can't the session leads simply go into the Google Moderator page and post the answers? Or is Google Moderator yet another lame Google useless solution to a problem people don't have? ;-) 2010/4/19 M. Edward (Ed) Borasky zn...@comcast.net For Chirp, Twitter set up a Google Moderator page and collected questions. The link is http://www.google.com/moderator/#16/e=5c0f. It now reads 220 people have submitted 110 questions and cast 1,080 votes When and where will we see the answers to those questions? -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős
[twitter-dev] Re: @anywhere user login example broken
Hello Hameedullah, Thanks for giving the solution of the false tutorial in @anywhere connect example. Actually I'm the new user of @anywhere and I have the same trouble with you. I have tried to fix it by myself but it didn't work. And after I tried your solution, it works! Thank you so much, Rhezandra Priatama. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: @Anywhere + Access Tokens
The tokens are definitely short-lived, and I don't think there is a way to use them on the server side. It's likely not meant to be a simple implementation of oAuth. On Apr 17, 3:12 pm, Shannon Whitley swhit...@whitleymedia.com wrote: I spoke with the devs at Chirp and I'm planning to use the token during the auth process. They confirmed that it is short-lived though. On Sat, Apr 17, 2010 at 2:43 PM, Abraham Williams 4bra...@gmail.com wrote: My understanding is the @Anywhere access tokens are short lived of only a few hours. Maybe Twitter can confirm that. Abraham On Sat, Apr 17, 2010 at 10:10, mike michael.mign...@gmail.com wrote: Sort of wondering the same thing. After authenticating, you'll notice your browser stores a cookie called twtter_anywhere, which I believe contains the request token. Would love to be able to use that request token to make Twitter API calls, but have no idea how to get the token secret. Thanks in advance. On Apr 17, 1:03 pm, aztroboy jbasur...@gmail.com wrote: Hi! I just managed to use @Anywhere on a website for authentication. Now, I would like to know how do I get the Access Token and the Token Secret with @Anywhere. I've successfully made the signin with Twitter example. However after I've got the user information, I don't know any method that can give me his access tokens. Is there some way to do it? thank you in advance. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Abraham Williams | Developer for hire |http://abrah.am PoseurTech Labs | Projects |http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private.
[twitter-dev] Re: Get user profile pic by name, unauthenticated?
Thanks Seems like this has been a standing issue i stumbled upon. (And part of why I asked here in the first place was Google led me in circles about it...) But all good now on my end. thanks! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Is it possible to add location information about a location I am tweeting ABOUT versus a location I am tweeting FROM?
nope - not from the web interface. the location UX was designed to optimize tweeting from. On Mon, Apr 19, 2010 at 11:10 AM, HardipSingh mr.hardip.si...@gmail.comwrote: Example: I'm in New York, but I want to tweet about an event in Washington, DC from the web. Is there a way to attach the location information for Washington, DC to a tweet that I am sending from a computer in New York? I know this is possible from the API, but I am curious if this is supported in anyway from the Twitter web interface. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Re: Recommended ways to demultiplex the search stream with thousands of searches
In brief: Take all of your search terms and put them into a HashTable that maps from keyword to subscriber. Tokenize each tweet's text field and apply each token to the HashTable, sending the Tweet on to all subscribers. Each subscriber can do a generational deduplication to avoid getting each tweet twice -- by storing the status id in the subscriber object. If each subscriber keeps a copy of their search terms, you can even do subscriber removal from the HashTable when the subscriber stops their query. You can tokenize multi-threaded, but do the hash table apply and hash table set operations in a single thread. This is plenty of concurrency and leads to a simple programming model -- and the easy generational deduplication scheme above. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 11:28 AM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I was unable to attend Chirp in person, so I could not hear John Kalucki's comments on this... Anyone have any notes on this... John? j On Apr 16, 3:36 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: So I'm looking at the streaming api (track), and I've got thousands of searches. (http://tweettronics.com) I mainly need it to deal with terms that are very high volume, and to deal search api rate limiting. The main difficulty I'm thinking about is the best way to de-multiplex the stream back into the individual searches I'm trying to accomplish. 1. How do you handle if the searches are more complex than single terms, but a boolean expression... Do you convert the boolean into something like regex, and then run that regex on every tweet... So if I have several thousand regexs and thousands of tweets, that's a huge amount of processing just todemultiplex... But is that the way to go? 2 And if the search is just a simple expression, do folks simplydemultiplexby doing a string search for each word in the search for every received tweet... like above? I'm looking for recommended ways todemultiplexthe search stream... Thanks, jeffrey greenberg -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: @anywhere user login example broken
Hi Hameedullah, Thanks for your corrected example. The @Anywhere starter documentation at http://dev.twitter.com/anywhere/begin has been updated with better code examples, including better/functional conditional Connect Button examples. Thanks, Taylor On Mon, Apr 19, 2010 at 12:17 PM, Rheza18 rhez...@gmail.com wrote: Hello Hameedullah, Thanks for giving the solution of the false tutorial in @anywhere connect example. Actually I'm the new user of @anywhere and I have the same trouble with you. I have tried to fix it by myself but it didn't work. And after I tried your solution, it works! Thank you so much, Rhezandra Priatama. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Recommended ways to demultiplex the search stream with thousands of searches
Just to clarify: if i have thousands of boolean searches that map to the current search capability, and If I want to map all or some of those into Twitter Streaming API, I have to deal with the fact that streams don't support boolean expressions, just direct single term matches. So I must either create a homebrew boolean production scheme (e.g. the regex idea I mentioned at the start) or via a heavier weight free-text search capability (e.g. lucene). Is that right? jeffrey greenberg On Apr 19, 1:52 pm, John Kalucki j...@twitter.com wrote: In brief: Take all of your search terms and put them into a HashTable that maps from keyword to subscriber. Tokenize each tweet's text field and apply each token to the HashTable, sending the Tweet on to all subscribers. Each subscriber can do a generational deduplication to avoid getting each tweet twice -- by storing the status id in the subscriber object. If each subscriber keeps a copy of their search terms, you can even do subscriber removal from the HashTable when the subscriber stops their query. You can tokenize multi-threaded, but do the hash table apply and hash table set operations in a single thread. This is plenty of concurrency and leads to a simple programming model -- and the easy generational deduplication scheme above. -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 11:28 AM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I was unable to attend Chirp in person, so I could not hear John Kalucki's comments on this... Anyone have any notes on this... John? j On Apr 16, 3:36 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: So I'm looking at the streaming api (track), and I've got thousands of searches. (http://tweettronics.com) I mainly need it to deal with terms that are very high volume, and to deal search api rate limiting. The main difficulty I'm thinking about is the best way to de-multiplex the stream back into the individual searches I'm trying to accomplish. 1. How do you handle if the searches are more complex than single terms, but a boolean expression... Do you convert the boolean into something like regex, and then run that regex on every tweet... So if I have several thousand regexs and thousands of tweets, that's a huge amount of processing just todemultiplex... But is that the way to go? 2 And if the search is just a simple expression, do folks simplydemultiplexby doing a string search for each word in the search for every received tweet... like above? I'm looking for recommended ways todemultiplexthe search stream... Thanks, jeffrey greenberg -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: Recommended ways to demultiplex the search stream with thousands of searches
You have to do some sort of post-processing with the Streaming API, yes. On Mon, Apr 19, 2010 at 2:41 PM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: Just to clarify: if i have thousands of boolean searches that map to the current search capability, and If I want to map all or some of those into Twitter Streaming API, I have to deal with the fact that streams don't support boolean expressions, just direct single term matches. So I must either create a homebrew boolean production scheme (e.g. the regex idea I mentioned at the start) or via a heavier weight free-text search capability (e.g. lucene). Is that right? jeffrey greenberg On Apr 19, 1:52 pm, John Kalucki j...@twitter.com wrote: In brief: Take all of your search terms and put them into a HashTable that maps from keyword to subscriber. Tokenize each tweet's text field and apply each token to the HashTable, sending the Tweet on to all subscribers. Each subscriber can do a generational deduplication to avoid getting each tweet twice -- by storing the status id in the subscriber object. If each subscriber keeps a copy of their search terms, you can even do subscriber removal from the HashTable when the subscriber stops their query. You can tokenize multi-threaded, but do the hash table apply and hash table set operations in a single thread. This is plenty of concurrency and leads to a simple programming model -- and the easy generational deduplication scheme above. -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 11:28 AM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I was unable to attend Chirp in person, so I could not hear John Kalucki's comments on this... Anyone have any notes on this... John? j On Apr 16, 3:36 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: So I'm looking at the streaming api (track), and I've got thousands of searches. (http://tweettronics.com) I mainly need it to deal with terms that are very high volume, and to deal search api rate limiting. The main difficulty I'm thinking about is the best way to de-multiplex the stream back into the individual searches I'm trying to accomplish. 1. How do you handle if the searches are more complex than single terms, but a boolean expression... Do you convert the boolean into something like regex, and then run that regex on every tweet... So if I have several thousand regexs and thousands of tweets, that's a huge amount of processing just todemultiplex... But is that the way to go? 2 And if the search is just a simple expression, do folks simplydemultiplexby doing a string search for each word in the search for every received tweet... like above? I'm looking for recommended ways todemultiplexthe search stream... Thanks, jeffrey greenberg -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Query with since_id returning zero search results
I've been pulling my hair out over this issue for a couple days now. As such, I've boiled down the problem to the basics. If I do a simple search: http://search.twitter.com/search?q=tweetbymail I get all the results just fine. I look at the second tweet down from the top, and take that tweet ID number. Then I do another search using that as the since_id. (which means there is definitely one tweet newer than that ID) http://search.twitter.com/search?q=tweetbymailsince_id=12474990991 No results! I've even lowered the since_id considerably and still returned nothing. That happens most of the time, but the incredibly frustrating part is that it does occasionally (rarely) work. It seems to happen if I'm doing a lot of searches via the web interface in a short period of time. I've spent hours/days on this with the same consistently inconsistent results. (whether using the API or the web search) Am I missing something here? Thanks for your time, Ryan -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Query with since_id returning zero search results
Alright, so turns out this is a known bug. http://code.google.com/p/twitter-api/issues/detail?id=1154 (thanks to cicero in the twitterapi chat for pointing that out) The workaround seems to be grabbing ALL results and doing the since_id logic on my end. -Ryan On Apr 19, 4:12 pm, TweetByMail rpill...@gmail.com wrote: I've been pulling my hair out over this issue for a couple days now. As such, I've boiled down the problem to the basics. If I do a simple search:http://search.twitter.com/search?q=tweetbymail I get all the results just fine. I look at the second tweet down from the top, and take that tweet ID number. Then I do another search using that as the since_id. (which means there is definitely one tweet newer than that ID) http://search.twitter.com/search?q=tweetbymailsince_id=12474990991 No results! I've even lowered the since_id considerably and still returned nothing. That happens most of the time, but the incredibly frustrating part is that it does occasionally (rarely) work. It seems to happen if I'm doing a lot of searches via the web interface in a short period of time. I've spent hours/days on this with the same consistently inconsistent results. (whether using the API or the web search) Am I missing something here? Thanks for your time, Ryan -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: APRS data on twitter?
I am not familiar with ham radios and APRS. Is each text message authenticated to a specific user? Are certain messages human readable and interesting in some way? If so it might be interesting to provide an application for ham radio operators to connect their accounts across platforms in some way. For example would there be a way to communicate across the platforms to aid in disasters? (I couldn't tell just by looking at the stream seemed like mostly coordinates going by.) I would really be careful that any application isn't too loud, otherwise most humans wouldn't want to follow their accounts. Clearly just tweeting all of these messages through one account wouldn't be of much value to twitter users and most of the data isn't human readable. If you could connect individual accounts between the platforms and filter or only share selected data it could be interesting. - Steve Stephen Rife Digital Garage, Tokyo @melobubu On 4月20日, 午前1:46, Kelly Jones kelly.terry.jo...@gmail.com wrote: APRS (aprs.net) is a system ham radio operators use to broadcast short text messages (sound familiar?), usually about their current position, current weather, etc. If you telnet rotate.aprs.net 10152 and enter user READONLY pass -1, you can see most (all?) APRS data. I think it'd be useful to stream this data into twitter to make it more available. There's quite a bit of data generated every minute, so this might require an exception to the normal tweets-per-hour policy. Thoughts? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Logical AND supported in streaming API filter endpoint
To date the streaming API has only supported logical OR in track keywords (http://apiwiki.twitter.com/Streaming-API-Documentation#track). Today we're happy to announce that we support logical ANDing in production as well. The track parameter is treated as a series of phrases. Phrases are separated by commas. Words within phrases are delimited by spaces. A tweet matches if any phrase matches. A phrase matches if all of the words are present in the tweet. (e.g. 'the twitter' is 'the' AND 'twitter', and 'the,twitter' is 'the' OR 'twitter'.). Some examples... 1) twitter api,twitter streaming (http://stream.twitter.com/1/statuses/filter.xml?track=twitter+api%2Ctwitter+streaming) will match the tweets The Twitter API is awesome and The twitter streaming deal is fast, but not I'm new to Twitter 2) The same approach to dealing with case, punctuation, @replies and hashtags still applies. So chirp search,chirp streaming (http://stream.twitter.com/1statuses/filter.xml?track=chirp+search%2Cchirp+streaming) will match Listening to the @chirp talk on search, I'm at Chirp talking about search!, and loving this search talk #chirp This should dramatically close the gap on what you can do with the search API but not with streaming, and also reduce the amount of data users have to consumer to match on multiple keywords. Comments/questions welcome as always. ---Mark http://twitter.com/mccv -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Statuses and staleness
We currently have a number of open defects regarding the staleness of various portions of statuses, such as the embedded user objects (e.g. 1378, 1183). We store the entire rendered status, including the user object, and expire it all together as a unit. Therefore, when a user changes his or her information, we do not correctly expire all the statuses and embedded statuses as that is prohibitively expensive. So, this means that the user object rendered in the status is the data as of the time the status for the particular user and format was pulled into cache. The bad news doesn't stop there. The following and notification fields reflect the perspective of the user that caused this object to be pulled into cache -- its probably wrong for you. This is obviously not good. The solution we're working on right now is a substantial rewrite of the way we render tweets. No new fields will be added, and resilient parsers should see little to no effect. The bad news is that the the ordering of attributes in payloads will change, and will likely break some less resilient parsing code in some application. The worse news is that supporting correct values for the following and notification fields in embedded user objects is likely infeasible given current capacity. We will be setting these to false when rendered embedded in a status. However users/show will still show correct values. To ease the transition we will be providing a preview that will use the new renderer before we push it to production, and we'd love help testing it under normal Twitter load. We'll provide details when we have them, but you will likely be able to access the new renderer by setting a header in your HTTP requests (or, potentially using a different API version in URIs). We'll let it sit in preview for a while, gather feedback, and then roll it out to production. If you have questions/concerns please let us know! ---Mark http://twitter.com/mccv -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: APRS data on twitter?
I think the proper way to interact with the active APRS network is via an iGate. http://www.aprs-is.net/APRSServers.aspx I think there would simply be too much traffic and it would be in a format that would require translation to work with Twitter. If you want interactivity going back onto the APRS network you could potentially run into control operator/third party regulations issues. Anyone can monitor the APRS network. However, you must be a licensed Amateur Radio operator to put traffic out onto the RF network. For others, learn more about APRS here: http://www.aprs.org/ Personally, I don't see a benefit of having the data stream across Twitter. Now, if you are interested in being able to use Twitter type APIs for processing, you might consider writing an APRS to Twitter adapter. Again, you'd likely need to do some transformation to keep it within Twitter specs. Best regards, Bryan - K0EMT -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] question about rate limiting and parsing user xml
For those of us who have web page scripts that parse our sites' twitter accounts rss feeds to display as html: does the rate limit apply to that usage also? -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] question about rate limiting and parsing user xml
yes. if you're not authenticated, then the rate limit is deducted from the IP address. On Mon, Apr 19, 2010 at 6:15 PM, Lil Peck lilp...@gmail.com wrote: For those of us who have web page scripts that parse our sites' twitter accounts rss feeds to display as html: does the rate limit apply to that usage also? -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Re: Is it possible to add location information about a location I am tweeting ABOUT versus a location I am tweeting FROM?
Didn't think so. Thanks for the info Raffi. On Apr 19, 3:57 pm, Raffi Krikorian ra...@twitter.com wrote: nope - not from the web interface. the location UX was designed to optimize tweeting from. On Mon, Apr 19, 2010 at 11:10 AM, HardipSingh mr.hardip.si...@gmail.comwrote: Example: I'm in New York, but I want to tweet about an event in Washington, DC from the web. Is there a way to attach the location information for Washington, DC to a tweet that I am sending from a computer in New York? I know this is possible from the API, but I am curious if this is supported in anyway from the Twitter web interface. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Does @anywhere follow buttons count towards api limits?
Ok, really need some feedback from Twitter here... Some of my customers (and me) are getting the follow buttons - and then after a few page refreshes, we get the button that says xyz is not found and then another refresh and we get nothing at all. We are showing 10-15 follow buttons on a page. So are we hitting the api limits? There is no talk on the anywhere documentation that it uses limits so I am unsure. Thanks for any help. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: Chirp on Justin.tv
The videos are preserved at http://justin.tv/twitterchirp/all. Thanks, Doug On Tue, Apr 13, 2010 at 1:41 PM, 46Bit m...@46bit.com wrote: Just to check - if we're unable to watch the live stream I presume saved videos will be available afterwards? On Apr 13, 8:06 pm, Doug Williams d...@twitter.com wrote: Dewald, This will be public (no access code needed) for the event. Thanks, Doug On Tue, Apr 13, 2010 at 10:54 AM, Dewald Pretorius dpr...@gmail.com wrote: I notice that the Chirp channel is set to a private channel. http://www.justin.tv/twitterchirp Is it going to be made public on Wednesday, or else, where do we get the Access Code? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Streaming API not returning any data
Hi, There was a thread about this before in which Twitter folks mentioned that there was a problem with the load balancers. This happened at about 4pm PDT. The streaming API didnt send anything and neither terminated the connection. I restarted my streaming and it started working again. I have two streaming sessions, one from my host machine and another from my test machine, and both sessions had the same issue at the same time. Does Twitter recommend that we break the connection if no data arrives in some time and then restart it? /Amitab Twaller.com(@mytwaller) -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Streaming API not returning any data
The Streaming API is currently configured to send a keep-alive newline every 30 seconds. If you don't receive any data or the keep-alive in perhaps 60 or 90 seconds, you should drop and reconnect. The only case where what you observed should happen is if a load balancer restarts. I don't think this happened at 4pm -- rather, there was a Hosebird deploy at around this time. If anything, you should have received an HTTP error code, a TCP RST or TCP CLOSE at this time. If you were connecting twice with the same username, your earlier connection may have been dropped due to duplication. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 8:28 PM, Amitab hiamita...@gmail.com wrote: Hi, There was a thread about this before in which Twitter folks mentioned that there was a problem with the load balancers. This happened at about 4pm PDT. The streaming API didnt send anything and neither terminated the connection. I restarted my streaming and it started working again. I have two streaming sessions, one from my host machine and another from my test machine, and both sessions had the same issue at the same time. Does Twitter recommend that we break the connection if no data arrives in some time and then restart it? /Amitab Twaller.com(@mytwaller) -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: oAuth Echo - Questions on Best Practices
Would it be best to field these questions to Twitter API team? Thought they were pretty common. No? On Apr 15, 9:21 pm, YCBM youcannotb...@gmail.com wrote: Would appreciate any feedback or thoughts on this. On Apr 13, 3:03 pm, YCBM youcannotb...@gmail.com wrote: Ok, so I'm a bit out of the loop so I've been doing a lot of catching up on oAuth Echo starting withhttp://groups.google.com/group/twitter-development-talk/browse_thread Scenario is large number of Twitter clients accessing media upload api for our site service along with end-users sharing via browser. I understand June 2010 is the cutoff for basic auth. Some sites may be provided with xAuth on a limited basis in regards to moving everybody off basic authentication, we originally envisioned this as a mechanism for developers to exchange all the username and passwords they have in their databases for OAuth tokens en masse. Still trying to wrap my head around oAuth Echo. From what I understand, delegation from a Twitter app like TweetDeck (for example) would pass its oAuth access tokens to our site to pass to Twitter. A few questions: - xAuth seems straight-forward if granted temporary access. I assume these tokens are the same as if the end-user went through the normal oAuth process in a browser? New users to the 3rd party web site would be using oAuth. - Typically if a user is sharing a media file through our site and they are NOT registered (no account in our system) and have never logged in using oAuth on our site, we create an account for them. Can we store the access tokens from an external app when we create their account? If so, would there be a conflict if an event occurs in which we post a status update on their behalf without the delegation in the header? Or is it a one-time use thing? - Once the user visits our site and logs into Twitter using oAuth, we'll store those tokens. Is it best practice to use those whenever the same user shares a media file through an external app or should the delegated tokens always be used? - Finally, while Twitter may be depreciating basic auth and everyone (if they haven't already) will be using oAuth, is there a plan for users who use 3rd party Twitter apps for mobile devices that HAVE NOT upgraded to the latest version yet? Although xAuth is geared towards desktop and mobile apps, there may be quite a few users who have not upgraded their app trying to either use it or share media with it through sites like ours. - I did notice that on this pagehttp://apiwiki.twitter.com/Authentication, its confusing as to whether or not basic auth will be completely depreciated. If it will be, someone should update it as its misleading. Thanks in advance! Best, Y.
[twitter-dev] Can a single app support oAuth and xAuth?
Hi All, Can you a single registered oAuth app on Twitter be granted access to xAuth as well? We have a Firefox addon that let's people tweet the page they're on. While we're upgrading our site to support oAuth, we don't want to leave our Firefox addon behind. Is it possible to be granted xAuth for authentication with it under the same app name? Would seem confusing to have 2 registered apps, 1 for oAuth and 1 for oAuth w/ xAuth permissions. Is this even possible? Best, Y -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Streaming API not returning any data
On Apr 19, 8:37 pm, John Kalucki j...@twitter.com wrote: The Streaming API is currently configured to send a keep-alive newline every 30 seconds. If you don't receive any data or the keep-alive in perhaps 60 or 90 seconds, you should drop and reconnect. The only case where what you observed should happen is if a load balancer restarts. I don't think this happened at 4pm -- rather, there was a Hosebird deploy at around this time. If anything, you should have received an HTTP error code, a TCP RST or TCP CLOSE at this time. Thanks, I will check whether my session is terminating on a TCP RST/ CLOSE. If you were connecting twice with the same username, your earlier connection may have been dropped due to duplication. I use different usernames and different IPs in my test and production environments. Thanks for clarifying. -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Apr 19, 2010 at 8:28 PM, Amitab hiamita...@gmail.com wrote: Hi, There was a thread about this before in which Twitter folks mentioned that there was a problem with the load balancers. This happened at about 4pm PDT. The streaming API didnt send anything and neither terminated the connection. I restarted my streaming and it started working again. I have two streaming sessions, one from my host machine and another from my test machine, and both sessions had the same issue at the same time. Does Twitter recommend that we break the connection if no data arrives in some time and then restart it? /Amitab Twaller.com(@mytwaller) -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Re: Early look at Annotations
On 04/19/2010 08:06 PM, R_Macdonald wrote: ReadWriteWebs's Co-Editor, Marshall Kirkpatrick, suggests today that Twitter intends to leave the annotation classification system to be determined by the market. http://bit.ly/csK8Od Although I appreciate that Twitter values keeping the annotation ecosystem open for innovation and adaptation, I hope the conversation on Linked Data metadata standards within Twitter annotations is just beginning. It could be an historic lost opportunity if the hard driving Twitter team doesn’t step back and consider soliciting the counsel of the W3C, Sir TB-L, Nigel Shadbolt and others in the Linked Data community. After all, Metaweb's Freebase team is just 3 blocks away. That's *exactly* what I told Marshall! I know him - he lives here in PDX. Sir Tim Berners-Lee got a significant chunk of funding to develop the Semantic Web, and I'd think he'd have a lot to say about Twitter Annotations if we'd only ask him! -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Logical AND supported in streaming API filter endpoint
On 04/19/2010 04:39 PM, Mark McBride wrote: To date the streaming API has only supported logical OR in track keywords (http://apiwiki.twitter.com/Streaming-API-Documentation#track). Today we're happy to announce that we support logical ANDing in production as well. The track parameter is treated as a series of phrases. Phrases are separated by commas. Words within phrases are delimited by spaces. A tweet matches if any phrase matches. A phrase matches if all of the words are present in the tweet. (e.g. 'the twitter' is 'the' AND 'twitter', and 'the,twitter' is 'the' OR 'twitter'.). Some examples... 1) twitter api,twitter streaming (http://stream.twitter.com/1/statuses/filter.xml?track=twitter+api%2Ctwitter+streaming) will match the tweets The Twitter API is awesome and The twitter streaming deal is fast, but not I'm new to Twitter 2) The same approach to dealing with case, punctuation, @replies and hashtags still applies. So chirp search,chirp streaming (http://stream.twitter.com/1statuses/filter.xml?track=chirp+search%2Cchirp+streaming) will match Listening to the @chirp talk on search, I'm at Chirp talking about search!, and loving this search talk #chirp This should dramatically close the gap on what you can do with the search API but not with streaming, and also reduce the amount of data users have to consumer to match on multiple keywords. Comments/questions welcome as always. ---Mark http://twitter.com/mccv Awesome! -- M. Edward (Ed) Borasky borasky-research.net/m-edward-ed-borasky A mathematician is a device for turning coffee into theorems. ~ Paul Erdős -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en