Re: [twitter-dev] Search by Client

2010-03-15 Thread Harshad RJ
Err, but this does't show *all* tweets of a client. On Mon, Mar 15, 2010 at 6:47 AM, Raffi Krikorian ra...@twitter.com wrote: from http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search http://search.twitter.com/search.atom?q=landing+source:tweetie On Sun, Mar 14, 2010 at 3:33 PM,

[twitter-dev] signature error (xAuth)

2010-03-15 Thread amitkr
Hi I am using a curl command similar to the one given below (here I am using sample data for app_key, app_secret, username, password) NOTE: new lines are for display purpose only curl -k -x 192.168.1.1:8921 -d x_auth_username=tomlarryx_auth_password=tomislarryx_auth_mode=client_auth -H

[twitter-dev] What legal issues for commercial use are there ?

2010-03-15 Thread astonishiastory
My company built a web-based Twitter application to embed to phones. We are going to contract to phone manufacturers and agencies. There's no advertisement. Our application is going to embed to phones. User's don't pay about using it. 1. Should we pay to get a commercial API key or pay them? 2.

[twitter-dev] Re: Additional Delimiter

2010-03-15 Thread thruflo
Hi John, Ah yes. You've exposed my lack of experience with the lower level socket library. Sorry, I was making a fuss about nothing ;) I moved to using a socket connection directly because I found that the httplib based client tweepy was using tended to hang occasionally when doing a low

[twitter-dev] Basic questions about Xauth

2010-03-15 Thread Moshe C.
1) Let's say I managed to get my token, how do I attach the token to the REST API calls that require authentication i.e. what is the equivalent with Xauth to adding the basic authentication string to the HTTP request? 2) I don't really need to use anyone's user/password except my own. Is it

Re: [twitter-dev] Search by Client

2010-03-15 Thread John Kalucki
Search is filtered for relevance, especially on large result sets. Streaming returns complete result sets, except for rate limits. There's no predicate for searching on source in the Streaming API -- Perhaps you could take the sample feed and extrapolate? This should give you a very accurate

Re: [twitter-dev] Basic questions about Xauth

2010-03-15 Thread Raffi Krikorian
1) Let's say I managed to get my token, how do I attach the token to the REST API calls that require authentication i.e. what is the equivalent with Xauth to adding the basic authentication string to the HTTP request? xauth is a protocol to exchange a username and a password to get an oauth

Re: [twitter-dev] Search by Client

2010-03-15 Thread Raffi Krikorian
its true - search doesn't return all the tweets as it is returning the best tweets. unfortunately, the streaming API will not allow you to get a stream of all the tweets by source either. what are you trying to achieve? are you looking for relative volumes? if so, then just watch a sample of

Re: [twitter-dev] Search by Client

2010-03-15 Thread John Kalucki
Jinx. On Mon, Mar 15, 2010 at 6:43 AM, Raffi Krikorian ra...@twitter.com wrote: its true - search doesn't return all the tweets as it is returning the best tweets. unfortunately, the streaming API will not allow you to get a stream of all the tweets by source either. what are you trying to

[twitter-dev] callback to parent window oAuth

2010-03-15 Thread deb123
I am trying to open the Accept/Deny window in a new window. I want the callback to come back to the parent window. If I use window.open, I get the pop up but the callback comes back to the child window. I want the child window to close when the use hits the Accept or Deny and the callback to come

Re: [twitter-dev] callback to parent window oAuth

2010-03-15 Thread Taylor Singletary
You can't accomplish it exactly the way you want to, but you can do this: 1) Set the OAuth callback to a URL that's still on your domain, something specific that's purpose is only to collect the callback details and quickly return a 200 status. 2) In your parent window, occasionally poll the

[twitter-dev] missing tweets

2010-03-15 Thread TJ Luoma
I've seen Tweetie on the Mac and Brizzly users both complaining that twitter.com is showing them tweets that the others are missing. Is this a known issue right now? Is the cause known? TjL

Re: [twitter-dev] missing tweets

2010-03-15 Thread John Kalucki
http://status.twitter.com/post/447344319/some-users-experiencing-frozen-timelines Are the missing tweets from over the weekend, or are new tweets from today missing? -John On Mon, Mar 15, 2010 at 7:12 AM, TJ Luoma luo...@luomat.net wrote: I've seen Tweetie on the Mac and Brizzly users both

Re: [twitter-dev] missing tweets

2010-03-15 Thread TJ Luoma
It's not so much frozen as some are there and some are not. Brizzly, I think you leave off tweets. I just ventured over to twitter and saw loads more tweets in my timeline http://twitter.com/expat_erin/status/10518763664 (just now) Tweetie for Mac is losing tweets due to some change at Twitter.

Re: [twitter-dev] Search by Client

2010-03-15 Thread Raffi Krikorian
gotta love race conditions. On Mon, Mar 15, 2010 at 6:49 AM, John Kalucki j...@twitter.com wrote: Jinx. On Mon, Mar 15, 2010 at 6:43 AM, Raffi Krikorian ra...@twitter.comwrote: its true - search doesn't return all the tweets as it is returning the best tweets. unfortunately, the

Re: [twitter-dev] missing tweets

2010-03-15 Thread Scott Wilcox
New tweets for me John. Its just started doing it again. Lots of new tweets in timeline via twitter.com, nothing via Tweetie/API. I have noticed a few times of Tweetie reporting errors with since_id, not too sure if thats a client problem or your side. Scott. On 15 Mar 2010, at 14:30, John

[twitter-dev] Profile Image URL

2010-03-15 Thread Cristian Petroaca
Hi , As far as I saw , for each user profile , there are 3 types of profile images : url../image_name_bigger.jpg - biggest url../image_name_normal.jpg url/image_name_mini.jpg - smallest Can you tell me if this naming and size convention is written somewhere in the API documetation? I want to

[twitter-dev] Regarding cookie security

2010-03-15 Thread Yuchen Zhou
Hi, I'm a security researcher at the University of Virginia I have been looking into the use and adoption of http-only cookies. My advisor is professor David Evans. We were surprised to discover that your site seems to not use http- only cookies, even for cookies that contain authentication

Re: [twitter-dev] missing tweets

2010-03-15 Thread Raffi Krikorian
hi - could you please be precise? is it via tweetie and / or via the API? there is a known issue with tweetie desktop that we have reported to loren, but i don't (currently) know of an error via the API. thanks. On Mon, Mar 15, 2010 at 7:38 AM, Scott Wilcox sc...@tig.gr wrote: New tweets for

Re: [twitter-dev] Search by Client

2010-03-15 Thread Harshad RJ
What I meant was that searching with source:clientName requires atleast one keyword to be specified. Which means that you can't get all those tweets which don't have that keyword. Moreover, searching for common english words like a, an, or the (often) doesn't return any results. The idea of

Re: [twitter-dev] Search by Client

2010-03-15 Thread John Kalucki
I'd suggest calculating the binomial proportion confidence interval assuming a very large n. I think you'll be pleasantly surprised at the interval given n = 2.5mm/day on the Spritzer feed... Well, you learn something new every day. Apparently the central limit theorem apparently holds for p as

Re: [twitter-dev] Regarding cookie security

2010-03-15 Thread John Kalucki
I forwarded this message on to the Twitter security team and encouraged them to respond here. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Mar 15, 2010 at 9:03 AM, Yuchen Zhou pinkforpe...@gmail.com wrote: Hi, I'm a security researcher at the University

Re: [twitter-dev] callback to parent window oAuth

2010-03-15 Thread Michael Steuer
There's better ways of doing this actually, that doesn't require polling of any kind... In your pop up, when Twitter redirects to your callback URL: - process the Oauth tokens etc so that your user's session is authenticated - set the parents window location to whereever it needs to go (logged

Re: [twitter-dev] Profile Image URL

2010-03-15 Thread Mark McBride
It is not written in the api doc, and I wouldn't consider it stable. ---Mark http://twitter.com/mccv On Mon, Mar 15, 2010 at 8:00 AM, Cristian Petroaca cristian.petro...@gmail.com wrote: Hi , As far as I saw , for each user profile , there are 3 types of profile images :

[twitter-dev] Historical user information

2010-03-15 Thread Raymond Camden
Is it possible to get information about a user based on a certain time? For example, the number of friends for an account can easily be returned - but it is for the time of the call itself. Is there a way to get those values from arbitrary date times?

Re: [twitter-dev] missing tweets

2010-03-15 Thread Scott Wilcox
Its using Tweetie predominately although I had the same issue over the weekend via the API. I'm not seeing anything missing on the API side of things with my app now, so its just Tweetie at the moment. Scott. On 15 Mar 2010, at 16:10, Raffi Krikorian wrote: hi - could you please be precise?

[twitter-dev] Re: Profile Image URL

2010-03-15 Thread tsmango
The problem most people run into is that the image_name part changes if someone uploads a new profile image so if you're pulling that out of some older data, the profile image can break easily. Joe Stump created a great service called http://tweetimag.es to help with this problem. On Mar 15,

Re: [twitter-dev] missing tweets

2010-03-15 Thread Raffi Krikorian
http://twitter.com/tweetie/status/10529447136 On Mon, Mar 15, 2010 at 9:14 AM, Scott Wilcox sc...@tig.gr wrote: Its using Tweetie predominately although I had the same issue over the weekend via the API. I'm not seeing anything missing on the API side of things with my app now, so its just

Re: [twitter-dev] Historical user information

2010-03-15 Thread M. Edward (Ed) Borasky
Well, you can retrieve the user's most recent tweets via statuses/user_timeline. Each returned tweet will have a created_at date/time stamp and an embedded user object. Inside this embedded user object will be the number of friends and followers the user had when the tweet was created.

[twitter-dev] Re: callback to parent window oAuth

2010-03-15 Thread deb123
Thanks for the reply. My callback URL is a servlet. I can get all the session info there. How do I then call a javascript to close the child window and forward the parent window? I am not sure how do I go to client side from the servlet. On Mar 15, 1:35 pm, Michael Steuer mste...@gmail.com

[twitter-dev] Re: Historical user information

2010-03-15 Thread Raymond Camden
Hmm. So if the API for getting a user's tweets allows you to get _all_ of them (via paging, not in one request), that would be a way to trend their data over time, right? I'd rather not use twitalyzer - I want to use the Twitter API natively if I can. On Mar 15, 2:01 pm, M. Edward (Ed) Borasky

Re: [twitter-dev] Re: Historical user information

2010-03-15 Thread M. Edward (Ed) Borasky
Yep ... but you don't get all of their tweets. You get the most recent 3200 of their *original* tweets. If they used the built-in retweet, those retweets won't show up in the pages. Try it on @znmeb (me), who built-in-retweets a lot. ;-) -- M. Edward (Ed) Borasky

Re: [twitter-dev] Re: callback to parent window oAuth

2010-03-15 Thread Michael Steuer
First off, you should first refresh the parent window and THEN close the child window (once you close the child window execution of your javascript will stop). I would presume you can simply output javascript to the client, and it will get executed. So in your mark up that your servlet renders,

Re: [twitter-dev] What legal issues for commercial use are there ?

2010-03-15 Thread Abraham Williams
Have a look at: http://twitter.com/apirules http://twitter.com/apiruleshttp://twitter.com/tos http://twitter.com/tosTwitter generally does not charge for the use of their API. Abraham On Mon, Mar 15, 2010 at 01:44, astonishiastory astonishiast...@gmail.comwrote: My company built a web-based

Re: [twitter-dev] Re: Historical user information

2010-03-15 Thread Mark McBride
This is incorrect. The user object returned with a status is intended to be represent the current user object, not a historical one. However. There are currently several bugs open around this, so the user object currently represents a snapshot of the user some time in the fairly recent past.

Re: [twitter-dev] Re: Historical user information

2010-03-15 Thread M. Edward (Ed) Borasky
Oh? I thought the embedded user was saved in your tweet database. Thanks for the correction. That explains why one of the sites I visited doesn't work - they were reporting a follower history for me that was oscillating. So their site can't work at all once you fix these bugs. Dang! I

Re: [twitter-dev] tidy method for spotting new followers?

2010-03-15 Thread Abraham Williams
The most recent followers of a specific account will appear first in: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers You can check that method periodical and page through until you start running into users you already know are following the specific user. Abraham

RE: [twitter-dev] Re: Historical user information

2010-03-15 Thread Brian Smith
Also - if the embedded user object is supposed to be constant across all the returned tweets, could it be factored out of the tweet array and only transmitted once? You could send back the *whole* user object once and then pages of arrays of tweets. You'd need to give the API call a new name,

[twitter-dev] Re: Search API from:username performance issues?

2010-03-15 Thread twitterdoug
Hi Chad, I didn't get there in time, the results looked fine to me. Should you be able to reproduce this, could you please send more information? dumps of results would be most useful, with complete HTTP requests/ responses... best, doug On Mar 12, 6:22 pm, Chad Etzel jazzyc...@gmail.com

[twitter-dev] Narrow Search to Group of Users

2010-03-15 Thread YCBM
Hi All, I'm looking to do a search for keywords on Twitter, however, I don't want to search the entire Twitterverse, but only a select number of users. For example, if I have a group of 10 users that I would like to see if they mentioned a keyword what are some of the options available? One

[twitter-dev] Re: We're rolling back the Content-Type header correction on OAuth responses to text/html today - Deprecation Notice

2010-03-15 Thread Taylor Singletary
Hello Everyone, This change is now officially rolled back. Let us know if you have remaining issues surrounding this. We'll let everyone know when we're closer to changing back to the more correct application/x-www-form-urlencoded Content-Type. Taylor Singletary Developer Advocate, Twitter

Re: [twitter-dev] Streaming API Basic Auth

2010-03-15 Thread John Kalucki
We do indeed have crossdomain.xml disabled on stream.twitter.com. If that's required, you'll have to wait a bit before deploying a Javascript solution. If that isn't the problem, I'd suggest using tcpdump or some other wire inspection tool and see what is transpiring directly. The Streaming API

[twitter-dev] Re: Twitter Search: The page you were looking for doesn't exist.

2010-03-15 Thread Chung Han Lau
funny no one seems to be taking any interest in this thread. am i missing something? On Mar 15, 11:14 am, Chung Han Lau arbuquerq...@gmail.com wrote: hi, am using twitter search returning json for webpage output. just got this messag returned with this

[twitter-dev] API Rate Limit For Followers List - Cache Problem?

2010-03-15 Thread GoogleRock
I understand the twitter API has a rate limit of 150 requests per hour. I want to download a total list of followers. When I download followers I cache the information (100 followers at a time). However if I run out of requests and have to wait until the next hour to begin again how do I know