[twitter-dev] Re: streaming api multiple connections

2009-06-30 Thread John Kalucki
Hardeep, What is your use case? If you are attempting to get around limits in / track or /follow, contact us to discuss higher access levels. If you are building a service that creates a connection per user, let's discuss how you can achieve the same ends with a single connection. If you require

[twitter-dev] Timeline excessive data

2009-06-30 Thread Scott Haneda
Looking at the timeline API calls, all seem to return much redundant data. Everything in the user section is repeated. If I return 200 items, I will get 200 copies of the user data. Is this correct? Seems like a lot of extra data to send across the wire. I was looking at the search

[twitter-dev] Re: PIN Authentication Examples?

2009-06-30 Thread Obrzut
Hi, Well, my experience of using a web browser in VB.Net is that you have to keep to the same browser and cannot mix a HTTPWebRequest with a WebBrowser1 object! What I tried was getting the pin number via a web browser object, then sending that back via a HTTPWebRequest class. It failed

[twitter-dev] How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread Obrzut
Dim Page As String = WebBrowser1.Document.Body.OuterText If System.IO.File.Exists(C:\temp.txt) = True Then System.IO.File.Delete(C:\temp.txt) End If Dim fs As New System.IO.FileStream(C:\temp.txt, IO.FileMode.CreateNew)

[twitter-dev] Retrieving data from the Twitter API

2009-06-30 Thread Christian Fazzini
Hello, We are in the process of developing a website that uses the Twitter API. I understand that the Twitter API is capable of retrieving a user's profile photo via: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show Other websites that are using the Twitter API are,

[twitter-dev] Re: How are people getting to the first tweet

2009-06-30 Thread Cameron Kaiser
If I use REST, then I am not sure how I would do this other than paging through the users timeline, which would take a long time. Bingo. But, keep in mind you can only page back 3000 tweets (unless things have changed...), so you might not be able to get the first tweet afterall. *looks

[twitter-dev] finishing application

2009-06-30 Thread M1Sh0u
Hi there, I want to know what should I do after I've finished a new application. When Twitter will verify it and how Twitter users can hear about it ? My new application is http://www.story-tweet.com/ Waiting for replies. Thank you.

[twitter-dev] Re: Security Best Practices

2009-06-30 Thread DWRoelands
This is really an excellent question. If we're developing an open-source Twitter client, how are we supposed to handle the consumer_key and consumer_key_secret? On Jun 29, 7:58 pm, Support supp...@yourhead.com wrote: 2. Obfuscation of the application's registered key and secret. Are there

[twitter-dev] Re: Retrieving data from the Twitter API

2009-06-30 Thread Philip Plante
You can cache the user's profile data so API lookups are kept to a minimum. Though the profile image should be hotlinked using whatever value is stored int he profile_image_url attribute of the user object returned from Twitter. By using S3 as a central source Twitter is able to help alleviate

[twitter-dev] Re: how to get search result total?

2009-06-30 Thread Abraham Williams
I don't recall knowing of this refresh parameter. Where did you hear about it? Abraham On Mon, Jun 29, 2009 at 23:47, yogayoga.prat...@gmail.com wrote: thanks for the answer, Abe. I think there's a way, I just realize it. but somehow, I don't know why, only a few tweets that will reply the

[twitter-dev] Re: finishing application

2009-06-30 Thread Abraham Williams
Tweet about it :). Twitter does not currently do any kind of verification for applications going live. They are/might be working on a directory for OAuth applications but I'm sure that will be announced when it is ready. Good luck with Tweet my Story. Abraham On Tue, Jun 30, 2009 at 07:51,

[twitter-dev] Re: how to get search result total?

2009-06-30 Thread Matt Sanford
Hi there, The refresh=true is something used by out web UI and it is not supported in the API. It's really just a short cut for a few calculations to make the Javascript on the page a bit shorter. It can only deal with results within the past few minutes so it's not very useful for

[twitter-dev] Re: Retrieving data from the Twitter API

2009-06-30 Thread Abraham Williams
Twitter has said in the past they are more then willing to take care of the bandwidth for smaller applications but if you go huge they ask you to look at local caching. On Tue, Jun 30, 2009 at 08:12, Philip Plantepplante@gmail.com wrote: You can cache the user's profile data so API lookups

[twitter-dev] Re: Timeline excessive data

2009-06-30 Thread Abraham Williams
The bandwidth is cheaper for Twitter then the cycles to drop duplicate user objects. Abraham On Tue, Jun 30, 2009 at 02:25, Scott Hanedatalkli...@newgeo.com wrote: Looking at the timeline API calls, all seem to return much redundant data.  Everything in the user section is repeated. If I

[twitter-dev] Re: finishing application

2009-06-30 Thread M1Sh0u
Thanks. I'll tweet a lot :)) I hope that users will use it :) What do you think about the website? Do you like the idea? Do you think that this idea will have success? Answer me if this is not an off topic subject.. Thanks again :) On Jun 30, 5:43 pm, Abraham Williams 4bra...@gmail.com wrote:

[twitter-dev] Streaming API -- Pre-launch checklist added to Wiki

2009-06-30 Thread John Kalucki
Some tips for developers, copied below: Pre-Launch Checklist 1. Creating the minimal number of connections? 2. Avoiding duplicate logins? 3. Backing off from failures: none for first disconnect, seconds for repeated network (TCP/IP) level issues, minutes for repeated HTTP (4XX codes)?

[twitter-dev] Re: PIN Authentication Examples?

2009-06-30 Thread DWRoelands
Obrzut, You don't need a webbrowser object in your VB application to accomplish this. You can have your application open a web browser in a new window. That's how I'm doing it in my Twitter client. Here's an example: Dim webAddress As String = http://www.google.com; Process.Start(webAddress)

[twitter-dev] Counting retweets

2009-06-30 Thread Scott Haneda
Is RT an official Twitter funtion or a community invented convention? If I have a timeline loaded what is the best way to determine the number of retweets? There seem to be many formats in which RT is done. -- Scott Iphone says hello.

[twitter-dev] Spam marking system

2009-06-30 Thread Carlos
I've entered Issue 770 Spam marking system as a feature request. http://code.google.com/p/twitter-api/issues/detail?id=770 I'd be interested in what everybody's thoughts on this are.

[twitter-dev] @username matches and hash tags

2009-06-30 Thread Scott Haneda
Has Twitter ever shared their logic for locating @usernames and hash tags? @([A-Za-z0-9_]+) The above regex seems logical but I can see faults. It will pick up the trailing domain in an email address. I could look for a whitespace in front, or nothing in front and do better. Then there

[twitter-dev] Re: Counting retweets

2009-06-30 Thread Doug Williams
Retweet is not a top level feature for Twitter. People have suggestions for formats though [1]. A cleaver regex should help you parse if a tweet is a retweet. http://www.google.com/webhp?complete=1hl=en#complete=1hl=enq=retweet+formataq=foq=aqi=fp=LH9toxtiWpk Thanks, Doug On Tue, Jun 30,

[twitter-dev] Re: @username matches and hash tags

2009-06-30 Thread Chad Etzel
For usernames, you could add the word boundary special character (sometimes dependent on your programming language) \b@([A-Za-z0-9_]+) which should avoid email addresses. For hashtags I use a similar one: \b#([A-Za-z0-9_-]+) I don't think #foo/bar is a valid hashtag, so I don't account for

[twitter-dev] I don't get it. What my usability test of six first-time Twitter users revealed

2009-06-30 Thread neicole
Posted the results of a small usability study I did, observing six new or first-time users as they navigated Twitter. I found the results very interesting. They may suggest some areas for innovation. Hope you find them useful. http://bit.ly/3qwmYL

[twitter-dev] Subscribe to user and download tweets?

2009-06-30 Thread Richie
Is there a way using the Twitter API to subscribe to a user and download their tweets using a web server whenever they update?

[twitter-dev] Re: finishing application

2009-06-30 Thread Scott Haneda
I will look it over when I have a larger screen than a phone. I am guessing English is not your native language? I would start with getting someone to help you with the grammer on the first page and a few other pages. If you would like help in that area, more than happy to lend a hand.

[twitter-dev] Re: I don't get it. What my usability test of six first-time Twitter users revealed

2009-06-30 Thread Chad Etzel
Very interesting results. I, too, had the pleasure of watching someone (in the same demographic) sign-up and use twitter for the first time. It was almost excruciatingly painful to witness. She, at least, had a purpose which was to follow her daughter while she tweeted from a school trip.

[twitter-dev] Re: source not working

2009-06-30 Thread Max
Twitter4j is definitely not simple enough. All I want to know is how can I send a status with my source using a simple method. I can do all the other stuff... the only thing that isn't working is the source. So... do I really need a whole source library for java in order to do this? On Jun

[twitter-dev] Re: source not working

2009-06-30 Thread Chad Etzel
In order to have from source show up with an OAuth application, you need to post an update to http://twitter.com/statuses/update.(xml|json) using OAuth tokens, and not basic authentication. How you go about doing that is up to you, but I think the libraries people are referring you to will help

[twitter-dev] Re: How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread Obrzut
Dim w As New System.IO.StreamWriter(fs) Page = Page.Replace(, ) Page = Page.Replace(- , ) Page = Page.TrimStart( ) w.Write(Page) This is a better example of code that does what the above code sample should be doing rather than changing UTF8 to

[twitter-dev] Re: Subscribe to user and download tweets?

2009-06-30 Thread DWRoelands
Could you be a little more specific? If you follow another user, their tweets will show up in your list of friends' updates. Does that not do what you need it to do? On Jun 30, 2:13 pm, Richie richie.mor...@gmail.com wrote: Is there a way using the Twitter API to subscribe to a user and

[twitter-dev] Re: Security Best Practices

2009-06-30 Thread Alex Payne
The simplest solution is that every deployment of the tool will have to register for their own OAuth credentials. This isn't ideal. I'd inquire over at http://groups.google.com/group/oauth On Tue, Jun 30, 2009 at 06:04, DWRoelands duane.roela...@gmail.com wrote: This is really an excellent

[twitter-dev] Re: Subscribe to user and download tweets?

2009-06-30 Thread DWRoelands
Ah, I see. This is certainly doable. Your application would need to sign into your account (Basic Auth is probably fine if it's just for your own use), and retrieve your friends' updates. This is already in the API. What the API doesn't have is any Save functionality, so you would need to

[twitter-dev] Re: OAuth and native clients

2009-06-30 Thread morefromalan
Just wanted to second Sebastian's POV here. UserExperience is a key revenue driver for us, and OAuth for native mobile apps is really painful for the user. On Jun 19, 5:41 am, Sebastian sdelm...@gmail.com wrote: Thanks for the pointer... I did some searches, but they were all focused on

[twitter-dev] Re: I don't get it. What my usability test of six first-time Twitter users revealed

2009-06-30 Thread Petermdenton
Thanks for posting this! On Jun 30, 2009, at 11:08 AM, neicole neico...@trustneicole.com wrote: Posted the results of a small usability study I did, observing six new or first-time users as they navigated Twitter. I found the results very interesting. They may suggest some areas for

[twitter-dev] Search twitter for within certain timestamp

2009-06-30 Thread Raza
Hi, I am trying to search the twitter like http://search.twitter.com/search.atom?lang=enq=+google+since%3A2009-06-30+until%3A2009-06-30+ what i want to do is to search giving date in the format -MM-DD HH:MI:SS... how can i do that? thanks Raza

[twitter-dev] Oauth - Breaks for User not logged in at Twitter

2009-06-30 Thread Tim
I'm having a problem getting Oauth to work correctly on my website. When my user clicks to active Oauth, they are taken to the approval screen at Twitter. If the user is already logged in and they accept they are passed back to my site and I can see that all sessions where started correctly. But

[twitter-dev] Re: Search twitter for within certain timestamp

2009-06-30 Thread Abraham Williams
This is pretty much what you can do with search: http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search Abraham On Tue, Jun 30, 2009 at 16:41, Razamahrozer...@gmail.com wrote: Hi, I am trying to search the twitter like

[twitter-dev] Re: Subscribe to user and download tweets?

2009-06-30 Thread Abraham Williams
Every profile has an RSS feed. There are many applications that will download RSS feeds. Abraham On Tue, Jun 30, 2009 at 15:52, DWRoelandsduane.roela...@gmail.com wrote: Ah, I see. This is certainly doable.  Your application would need to sign into your account (Basic Auth is probably fine

[twitter-dev] Re: Search twitter for within certain timestamp

2009-06-30 Thread Peter Denton
I think the issue is you can only get as granular as a day, not an hour. On Tue, Jun 30, 2009 at 3:13 PM, Abraham Williams 4bra...@gmail.com wrote: This is pretty much what you can do with search: http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search Abraham On Tue, Jun 30, 2009

[twitter-dev] Re: Search twitter for within certain timestamp

2009-06-30 Thread Doug Williams
Raza, Twitter search only gives since: and until: operators granularity at the day level. Any parsing on more specific (hour, day, second) timeframes is left to the client. Thanks, Doug On Tue, Jun 30, 2009 at 2:41 PM, Raza mahrozer...@gmail.com wrote: Hi, I am trying to search the

[twitter-dev] Tweet threading

2009-06-30 Thread Scott Haneda
I am finding near all apps I use with twitter in some way or another fail at threading a conversation. Anyone have pointers for how to do this, based on the current twitter API, and whatever bugs have been uncovered, perhaps with workarounds? Each tweet has a 'in_reply_to_status_id', if

[twitter-dev] Re: Timeline excessive data

2009-06-30 Thread Scott Haneda
Thank you, makes sense. On Jun 30, 2009, at 7:35 AM, Abraham Williams wrote: The bandwidth is cheaper for Twitter then the cycles to drop duplicate user objects. Abraham On Tue, Jun 30, 2009 at 02:25, Scott Hanedatalkli...@newgeo.com wrote: Looking at the timeline API calls, all seem to

[twitter-dev] Why are there pagination limits

2009-06-30 Thread Scott Haneda
Been pondering this today. There seem to be 7 day limits, or around 3000 tweet limits to the API. At first, my gut told me that was for load reasons, and it made sense. I started thinking about paging results in development projects I have worked on. Looking at this from a database

[twitter-dev] Re: Counting retweets

2009-06-30 Thread Scott Haneda
Good to know, thank you very much. Looks like, RT, Retweet, and Via are the most standard, and anything outside of that would be rather obscure. On Jun 30, 2009, at 10:11 AM, Doug Williams wrote: Retweet is not a top level feature for Twitter. People have suggestions for formats though

[twitter-dev] Re: Counting retweets

2009-06-30 Thread Peter Denton
I was playing around with retweeting and also found there is a pretty substantial amount of non crediting RT's. So if your trying to be scientific about the whole thing, you might want to search for the string. Just FYI. On Tue, Jun 30, 2009 at 4:17 PM, Scott Haneda talkli...@newgeo.com wrote:

[twitter-dev] Re: How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread DWRoelands
I'm curious; why are you screen-scraping an HTML page in a Twitter app? On Jun 30, 4:09 pm, Obrzut sa...@peyoteuk.com wrote: Dim w As New System.IO.StreamWriter(fs)             Page = Page.Replace(, )             Page = Page.Replace(- , )             Page = Page.TrimStart( )            

[twitter-dev] Re: Why are there pagination limits

2009-06-30 Thread John Kalucki
I don't usually respond to non-Streaming API questions, but we just spent a few months working on a large mySQL datastore at Twitter. I've been over this ground extensively recently, so I'm unusually compelled to respond. Mysql performance does measurably decrease as you offset and limit, even

[twitter-dev] Re: Security Best Practices

2009-06-30 Thread DWRoelands
Wait, the solution is that every -user- of an open-source Twitter client would have to register for their own set of -consumer- keys? That's not what you meant, is it? On Jun 30, 4:39 pm, Alex Payne a...@twitter.com wrote: The simplest solution is that every deployment of the tool will have to

[twitter-dev] Re: @username matches and hash tags

2009-06-30 Thread Scott Haneda
Awesome, thanks. I found I had to use a B, so this works form me: \B@([A-Za-z0-9_]+) Word boundary is indeed very handy, works perfect, and the hash tag one works close enough. I know there are limits on length, what are they for both hash tags and @usersnames? On Jun 30, 2009, at

[twitter-dev] Re: @username matches and hash tags

2009-06-30 Thread JDG
i would imagine that for hashtags it's 139 characters. Can't speak to usernames though. On Tue, Jun 30, 2009 at 17:39, Scott Haneda talkli...@newgeo.com wrote: Awesome, thanks. I found I had to use a B, so this works form me: \B@([A-Za-z0-9_]+) Word boundary is indeed very handy, works

[twitter-dev] Re: @username matches and hash tags

2009-06-30 Thread Joel Strellner
I think usernames are a max of 20 characters, up from 15 a few months back. -Joel From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of JDG Sent: Tuesday, June 30, 2009 4:43 PM To: twitter-development-talk@googlegroups.com Subject:

Hash tag standards? (Re: [twitter-dev] Re: @username matches and hash tags)

2009-06-30 Thread Nick Arnett
On Tue, Jun 30, 2009 at 10:57 AM, Chad Etzel jazzyc...@gmail.com wrote: I don't think #foo/bar is a valid hashtag, so I don't account for those. Are there standards for hashtags? I just did some searching and didn't come up with anything. Seems like the de facto standard is everything from

[twitter-dev] Re: Counting retweets

2009-06-30 Thread Nick Arnett
On Tue, Jun 30, 2009 at 4:24 PM, Peter Denton petermden...@gmail.comwrote: I was playing around with retweeting and also found there is a pretty substantial amount of non crediting RT's. So if your trying to be scientific about the whole thing, you might want to search for the string. Just

[twitter-dev] Re: How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread Obrzut
What do you mean by screen scraping? Is it because I am taking the HTML page and turning it into a XML document? This is because of OAuth. It uses HTML pages to validate. Perhaps I am wrong - but once I use a web browser to validate - I cannot use a TCP Client to get the XML because I

Re: Hash tag standards? (Re: [twitter-dev] Re: @username matches and hash tags)

2009-06-30 Thread JDG
I've never seen anything and since you don't necessarily search with the hashtag, i simply assumed it was a way to tag a post for later searching, and that this defacto standard of using the hashmarks was simply something for the clients. I think that my argument is bolstered by the fact that on

[twitter-dev] Re: Security Best Practices

2009-06-30 Thread Alex Payne
That's a solution that better fits open source Twitter web services. For an open source desktop client like Spaz it certainly doesn't work. On Tue, Jun 30, 2009 at 16:37, DWRoelands duane.roela...@gmail.com wrote: Wait, the solution is that every -user- of an open-source Twitter client would

[twitter-dev] Re: How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread Bojan Rajkovic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Obrzut wrote: What do you mean by screen scraping? Is it because I am taking the HTML page and turning it into a XML document? This is because of OAuth. It uses HTML pages to validate. Perhaps I am wrong - but once I use a web browser to

[twitter-dev] Re: Subscribe to user and download tweets?

2009-06-30 Thread tweetnirv...@gmail.com
Tweetake.com will back up your own tweets, followers, etc but only the last 1000, that is in Twitters API rules. On Jun 30, 5:16 pm, Abraham Williams 4bra...@gmail.com wrote: Every profile has an RSS feed. There are many applications that will download RSS feeds. Abraham On Tue, Jun 30,

[twitter-dev] Re: How-To: Load the Twitter XML into a VB.Net XML Document...

2009-06-30 Thread DWRoelands
You can absolutely authenticate in a web page, even if your application is not a web application. Mine works that way. Here's how it should go. Bojan, please correct me if I'm wrong. 1. Your application calls GetAuthorizationLink() to get the URL of the authorization page (you've got this

[twitter-dev] Re: source not working

2009-06-30 Thread DWRoelands
I'm afraid that you'll need an OAuth library to be able to do what you want. If you don't use OAuth, your posts will always show up as from web. On Jun 30, 3:02 pm, Max mnk...@gmail.com wrote: Twitter4j is definitely not simple enough.  All I want to know is how can I send a status with my