Re: [twitter-dev] Re: What does tweet id means?
On Wed, Apr 20, 2011 at 6:24 AM, Tim Meadowcroft meer...@gmail.com wrote: I think you can only really rely on IDs having different values. In general, at the moment with Twitter, you could assume they increase over time, but (and I don't work for Twitter) typically ID allocation on large multihost systems don't work by allocating strictly sequential IDs without gaps - it's too hard to sequence and not really necessary. Yes, this is how they do it. https://github.com/twitter/snowflake /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] add list members
On Sat, Oct 2, 2010 at 1:43 PM, Thomas Mango tsma...@gmail.com wrote: Are you sure you're requesting the correct format? I was able to POST to /:user/:list_id/members.xml with an id of a user and it correctly added the user to my list and responded with XML: POST: /14338478/23124429/members.xml?id=14477861 Response: http://gist.github.com/607880 Thanks Thomas. Glad to see that it is working. I've tried both XML and JSON. I'm using Grackle for the client. The request is authenticating properly because in all the Twitter web page that is returned there's a lot of JavaScript which indicates I am the signed in user. At the top of the page, there's a NOSCRIPT snippet: noscript meta http-equiv=refresh content=0; URL=/1/damon/tahoetechtalk-2010/create_all.xml?_twitter_noscript=1 / /noscript I believe that's the right structure for the URL so it's almost as if it's the wrong host. However, Grackle uses the API host by default and I've used it many times before just fine. The Grackle call is just: result = client._(#{list_user})._(#{list_slug}).create_all.xml! :screen_name = #{chunk1} where chunk1 is just a comma-separated list of screen names. There must be something wrong with the request I'm sending to Twitter, but I can't see what it is from this end at the moment. Thanks! /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: add list members
On Sat, Oct 2, 2010 at 2:06 PM, Ken D. k...@cimas.ch wrote: Hey Damon, The URL you cite is that of the documentation page. The correct URL (for create_all) is: http://api.twitter.com/1/:user/:list/create_all.xml with parameter user_id=:ids or screen_name=:screen_names The example is: http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_id=783214,6253282 Try that.. Hey Ken, Yeah, I was just including those URLs to let you know which methods I was talking about in the documentation. The call being generated by the client lib (Grackle, in this case) should look as you describe, afaik. But there must be something amiss with it. Thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: add list members
On Sun, Oct 3, 2010 at 9:25 AM, Ken D. k...@cimas.ch wrote: Damon, Mea culpa! There's an error in the create_all documentation. I should know since I filed the bug... Try: http://api.twitter.com/1/:user/:list/members/create_all.format Afaik, http://api.twitter.com/1/:user/:list/members.xml is correct for adding a single user. Ken Hey Ken, That was it exactly. The create_all works perfectly now. Thanks! /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] list creation failing in API #newtwitter
list creation method is giving me: Something is technically wrong. http://api.twitter.com/1/user/lists.xml anybody else? thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: list creation failing in API #newtwitter
Please disregard. The #newtwitter issue was the 20 limit (perhaps the error should mention that?). The API, I'm not sure but it seems to be working now. thanks, /damon On Sat, Oct 2, 2010 at 8:52 AM, Damon Clinkscales sca...@pobox.com wrote: list creation method is giving me: Something is technically wrong. http://api.twitter.com/1/user/lists.xml anybody else? thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] add list members
I've tried both create_all.xml and members.xml to add multiple or just one member to a list. The list is owned by me and exists. http://dev.twitter.com/doc/post/:user/:list_id/create_all or http://dev.twitter.com/doc/post/:user/:list_id/members When the call goes through, the response is a normal #newtwitter web page instead of an API response. Is this a known issue? thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] #newtwitter and the API
Brian, Thanks for the info. retweet_count The status object now includes a retweet_count field. When enabled this field will indicate the number of times a Tweet has been retweeted using the Twitter retweet function. What does when enabled mean? I have a couple of tweets for which I am trying to find out the absolute count of retweets. All I know is that the Twitter UI says 100+ retweets. But when I pull the status objects, retweet_count is blank. These tweets are from 2 days ago. Can someone point me to the best way to find out? Thanks! /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] OAuth pin flow happening instead of normal oauth_callback redirect
I have a sample app which works fine on my local machine. When I deploy it to a dev server and go through the flow, I get the PIN in the browser and no redirect. I checked the server timestamps and they are within 1 second of each other. Does anyone have any thoughts on what might be wrong? I looked through dev.twitter.com oauth pages but I didn't see anything besides the server timestamps. Thanks much! /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] OAuth pin flow happening instead of normal oauth_callback redirect
On Wed, Sep 1, 2010 at 3:25 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Damon, Verify that your application has a default callback URL set on your app's page on dev.twitter.com -- the existence of that field is what determines whether we'll automatically be sending you into out of band mode or note. Further, while that default callback URL needs to exist on your application record, make sure that you're sending an oauth_callback on the request token step with the URL you want to be directed to following the authentication step -- it's best to be explicit instead of relying on some implicit setting in your application record (and not providing an oauth_callback on the request token step is not correct to the specification). Taylor Thanks Taylor. Yes, I had figured out that I needed to specify one in the call as well (I had already set one in the dev.twitter.com UI). I don't know the precise cause of the issue, but I did figure out it was a gem version issue. 'oauth' Ruby gem 0.3.4 works and 'oauth' Ruby gem 0.4.2 does not. If anyone can shed any light on that, it'd be much appreciated, but at least 0.3.4 is working. Thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] People randomly getting unfollowed?
FWIW, I've heard several people say that the 'who to follow' feature exposed people to them that they thought they were already following. /damon -- http://twitter.com/damon http://blog.damonc.com On Sat, Aug 14, 2010 at 2:12 AM, M. Edward (Ed) Borasky zn...@borasky-research.net wrote: That's not the symptom people are describing to me. It goes something like this: Bob follows Carol. At a later date, Carol says, Bob, when did you unfollow me? Did I piss you off or something? Bob says, But I didn't unfollow you. He then checks and sees that he is in fact no longer following Carol, and has to re-follow her. I have too many friends saying this has happened for it to be a hallucination. The only thing I can recommend to them is to go into the Connections settings panel and revoke all the oAuth approvals and see if it stops happening. I think if we got a list of all the people who've had unfollows like this and cross-checked their oAuth approvals, we might find an app that's not being nice. That's the only mechanism I can think of that would do this. -- M. Edward (Ed) Borasky http://borasky-research.net http://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting S esg...@gmail.com: I don't think it is 'random'. It most likely is removal of robot accounts. Some script / human is identifying such spam accounts / fake accounts and suspending them. Many people are getting frustrated by this, to see their followers number reduce. ~*~ On Sat, Aug 14, 2010 at 11:22 AM, M. Edward (Ed) Borasky zn...@borasky-research.net wrote: I don't think this has happened to me, but a number of my friends and some well-known Twitter people have reported that Twitter is unfollowing people from their accounts on its own, apparently in some random fashion. I don't have any more detail than that, or I'd file an issue. But I've heard it from so many people that I wanted to bring it up here and see if this triggers any thoughts in the developer community or at Twitter. -- M. Edward (Ed) Borasky http://borasky-research.net http://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos
Re: [twitter-dev] Twitter Places
David, Thanks. That first page (the 'geo search') is blank. /damon On Mon, Jun 21, 2010 at 5:19 PM, David Helder da...@twitter.com wrote: Sure, you can use the search method to find the place ID: http://dev.twitter.com/doc/get/geo/search Then set the place_id argument to /statuses/update to tweet from that place: http://dev.twitter.com/doc/post/statuses/update David
Re: [twitter-dev] Re: Bulk Conversion using xAuth
On Wed, May 26, 2010 at 11:44 PM, YCBM youcannotb...@gmail.com wrote: Ah. It looks like Abraham's twitteroauth has a getXAuthToken method for doing exactly what I need. So I guess a better question is if I'm doing this for a few hundred users, would I run into a rate limit of any kind? Would I need to somehow throttle these in any way? Best, Y When I did it, I just added a 1 second sleep in between each token grab and it worked fine. -damon -- http://twitter.com/damon http://blog.damonc.com
Re: [twitter-dev] Is OAuth working for *anyone* out there?
Hey guys, Don't know if this is related, but I was testing a friend's iPad app this morning which uses xAuth. When setting up a new account in his app, the app authorizes in my Connections tab. However, whenever his app tries to use the tokens, we get an immediate HTTP 401. None of the calls with the tokens he has received are working for accessing. His account, which was auth'd (tokens retreived) over a month ago, still works ok with his app, but my new setup with the same client codebase is now failing. It seems like there might be something wrong with the OAuth tokens being issued, but that seems kinda crazy that there could be a problem that widespread. -damon On Thu, May 20, 2010 at 2:29 PM, Dossy Shiobara do...@panoptic.com wrote: On 5/20/10 3:16 PM, Taylor Singletary wrote: While we have been having some performance issues that should give you occasional 401s, it shouldn't be as widespread as the experience you've been having. OK, you know, until *literally* 60 seconds ago, requests for http://twitter.com/oauth_clients/details/1574 were returning 502 fail whales. NOW, it just loaded. OK, who fixed it just now? What was broken? When we throw a 401, we typically provide an error message within the body of the response -- if you can share that it would be helpful. As I said in my email the other day: HTTP 401, Failed to validate oauth signature and token Has anything about your environment changed? Sadly, no. I wish it were that simple. Have you reset your consumer key or secret? No, and I just verified again that it still matches what is showing in the Twitter OAuth apps page. Does this happen for all access tokens or is there a specific access token that you use that is failing? Is it possible that access token's access was revoked? The error message provided on 401s will help shine some light on some of this. It's happening on the very first, and every single, /oauth/request_token API call. One recent change we made is that if you're trying to access resources that don't require authentication, but you are still providing OAuth credentials and those credentials are invalid, we no longer provide the data but instead properly inform you that your credentials aren't valid. Again, I'm not even getting as far as making a Twitter API call any more. The whole OAuth process is failing at the request_token endpoint. Which, if any, OAuth library do you use? Homegrown. Has been working for over a year, and has not been modified the entire time. -- Dossy Shiobara | do...@panoptic.com | http://dossy.org/ Panoptic Computer Network | http://panoptic.com/ He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on. (p. 70) -- http://twitter.com/damon http://blog.damonc.com
Re: [twitter-dev] Is OAuth working for *anyone* out there?
Just tried establishing a new connection to a different account with Twitterrific (which I believe uses xAuth) and it worked fine. So, there is presumably a bug in the iPad client I was testing. Unrelated. -damon On Thu, May 20, 2010 at 3:33 PM, Damon Clinkscales sca...@pobox.com wrote: Hey guys, Don't know if this is related, but I was testing a friend's iPad app this morning which uses xAuth. When setting up a new account in his app, the app authorizes in my Connections tab. However, whenever his app tries to use the tokens, we get an immediate HTTP 401. None of the calls with the tokens he has received are working for accessing. His account, which was auth'd (tokens retreived) over a month ago, still works ok with his app, but my new setup with the same client codebase is now failing. It seems like there might be something wrong with the OAuth tokens being issued, but that seems kinda crazy that there could be a problem that widespread. -damon
Re: [twitter-dev] Is OAuth working for *anyone* out there?
On Thu, May 20, 2010 at 4:16 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Damon, We've heard some reports of iPads setting their dates/clocks incorrectly -- sometimes back to 1969. If the client application uses the date/time on the machine (rather than querying it from some other source), and the date/time isn't within 5 minutes or so of our clocks, it results in a failed request. One work around is for clients to adjust their concept of the current time by looking at the HTTP headers we send on a failed request (which includes our server clock), or to use an external service to fetch the time prior to making a request. Taylor Singletary Developer Advocate, Twitter Thanks Taylor. -damon
Re: [twitter-dev] Re: alert() in anywhere.js
On Wed, May 19, 2010 at 1:41 PM, Dan Webb d...@twitter.com wrote: On Wed, May 19, 2010 at 11:27 AM, Steve C st...@twitpic.com wrote: We just rolled out @anywhere yesterday and some of our users are experiencing similar issues. http://twitpic.com/1p00d6 We rolled out a fix at the weekend that we fixed all the browsers that we test under but there are obviously still some browsers getting the issue. I think we'll use console.info to display these message instead of an alert. We wanted to let developers know that they needed a clientID in the most noticable way but to avoid unintended annoyance of users we'll move to console.log. Hey Dan, Just wondering...does TwitPic have a bug or misconfiguration or is this an @anywhere bug? Thanks, -damon
Re: [twitter-dev] Unexpected search results from search.twitter.com and API
Naveen, I saw a case with one of my searches this morning where a bit.ly url appeared to have been expanded before Twitter Search matched on the tweet. Tim Haines said this morning on Twitter he had seen something similar. So, for the first tweet: $ curl -I http://bit.ly/cMsa7U; HTTP/1.1 301 Moved Server: nginx/0.7.42 Date: Fri, 14 May 2010 20:32:14 GMT Content-Type: text/html; charset=utf-8 Connection: keep-alive Set-Cookie: _bit=4bedb34e-00080-050e7-b4a08fa8;domain=.bit.ly;expires=Wed Nov 10 15:32:14 2010;path=/; HttpOnly Location: http://feedproxy.google.com/~r/TheBoyGeniusReport/~3/95JeYV6zcMk/?utm_source=SocialScopeutm_medium=SocialScopeutm_campaign=SocialScopeutm_term=SocialScopeutm_content=SocialScope MIME-Version: 1.0 Content-Length: 443 The expanded bit.ly link contains 'SocialScope'. -damon -- http://twitter.com/damon http://blog.damonc.com On Fri, May 14, 2010 at 3:14 PM, Naveen Ayyagari nav...@getsocialscope.com wrote: Hello, I have seen this a few times in the last couple of days and did not see it mentioned on the list. If it is a duplicate report I apologize. A simple search is on a keyword, the first result does not contain the keyword at all, here is a screen shot displaying the behavior on search.twitter.com website. http://dl.dropbox.com/u/27113/search_wierdness.jpg I have seen this strange behavior via the api as well and it is a bit confusing. --Naveen Ayyagari SocialScope @knight9
Re: [twitter-dev] Avatar cache
I don't think it's been documented yet, officially, except on-list. http://api.twitter.com/1/users/profile_image/raffi?size=mini http://api.twitter.com/1/users/profile_image/raffi?size=normal http://api.twitter.com/1/users/profile_image/raffi?size=bigger It does a 302 to an image on S3. -damon -- http://twitter.com/damon http://blog.damonc.com On Apr 21, 2010, at 3:22 AM, Jesse Stay jesses...@gmail.com wrote: I saw Raffi Tweet something at one time showing off the ability to display a user's avatar just by knowing their screen name. Is this documented somewhere? Thanks, Jesse -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] Remove all followers with one call?
On Fri, Jan 15, 2010 at 2:21 AM, BrandonUSA brandon...@gmail.com wrote: By at once, I mean with one api call On Fri, Jan 15, 2010 at 12:21 AM, BrandonUSA brandon...@gmail.com wrote: Is there a service to remove all the people you are following at once? Nope. Read this sometime when you're bored - http://apiwiki.twitter.com/Twitter-API-Documentation -damon
Re: [twitter-dev] How to get Following count of user
On Fri, Dec 18, 2009 at 2:09 AM, Gaurav Shaha gauravshah...@gmail.com wrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-users show there is a followers_count element. Yeah, that doc's not coming up right now. It looks like this: $ curl http://api.twitter.com/1/users/show/nightmare49.xml; 21 | grep followers_count followers_count10/followers_count --- -damon
Re: [twitter-dev] Announcements
On Wed, Dec 9, 2009 at 12:23 PM, Isaiah Carew isa...@me.com wrote: From the announcement I read here: http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/ 3) ... starting Basic Auth decprecation in June 2010. My question is...how do you drop Basic Auth support without OAuth delegation. Otherwise, how do third-party sites like TwitPic ever work with clients w/o the password. Thanks, -damon -- http://twitter.com/damon
Re: [twitter-dev] Re: strange search api behavior
On Sun, Dec 6, 2009 at 3:24 PM, Martin Omander moman...@google.com wrote: I noticed the same behavior in my app: when I include since_id in the search API call, I often don't get all the tweets I should. If I run without since_id, I see tweets with IDs that should have shown up in the search where I included since_id. Any response from Twitter? The since_id parameter is a very useful feature of the API. It would reduce system load and bandwidth considerably for everyone if it worked right. Sounds like there is confirmation. Has anyone filed an issue? Once you have an issue link, please post back to this thread so people can star it. Best, -damon -- http://twitter.com/damon
Re: [twitter-dev] Adding line breaks in tweets
On Thu, Nov 19, 2009 at 2:11 PM, ericbulloch ericbull...@gmail.com wrote: Hey All, I was wondering is it possible to add line breaks when posting a tweet. For example I want to post some thing like this: Check out what I just designed... {Link to design} Create your own design at... {Link to create design} But when I post a tweet it looks like this: Check out what I just designed... {Link to design} Create your own design at... {Link to create design} Some clients (Tweetie, for example) display line breaks. twitter.com does not. -damon
[twitter-dev] Re: reading reply status post
On Fri, Nov 6, 2009 at 12:28 PM, MuratMetu muratm...@yahoo.com wrote: Hello, I am new to twitter dev, is there any way to read replies posted to my account from api like @MyUsername ..? Status request reads only the statuses. I want to do it from Twitter API not from 3. party Check out this cool site: http://apiwiki.twitter.com/Twitter-API-Documentation -damon
[twitter-dev] Re: Draft of List API documentation
On Fri, Oct 16, 2009 at 1:04 AM, Marcel Molina mar...@twitter.com wrote: Hey folks. As some of you have likely read we're starting to do some private beta testing of our new lists feature. We're not quite ready to open it up to everyone but we've made some headway on the API and wanted to share some details of what we've got so far. There are a handful of things on our todo lists so don't consider this signed and sealed just yet. Marcel, It would be nice if we could pass in either the user_id or the screen_name, wherever you are currently requiring a Twitter user id. This would be consistent with the rest of the REST API (and quite useful, saving an extra call). Thanks, -damon -- http://twitter.com/damon
[twitter-dev] Re: Automated Tweets
Exact dupes sent via the API are dropped. I believe that it's intended to prevent runaway apps from posting the same thing over and over (say if an app had a bug...nevar!). This feature actually saved my bacon once. It's not new, though. It's been that way for at least 18 months. -damon -- http://twitter.com/damon On Wed, Oct 28, 2009 at 6:27 AM, ryan alford ryanalford...@gmail.com wrote: Twitter recently implemented logic to stop the ability of duplicate tweets. I can't remember if it was ever released what the time period is. On Oct 28, 2009, at 7:24 AM, Greg gregory.av...@gmail.com wrote: Hello, I have an application that sends out a Tweet when a user Authorizes the Application and asks a Question to a particular user. Does Twitter block continous sending out of a Tweet within a time period? I am doing testing of the application and whenever I try to do a Update Status - it returns the ID of the last Tweet that I made from the account. Did my Consumer Key/Consumer Key get blocked, or will Twitter not allow the same tweet to be posted in a certain time period? Greg
[twitter-dev] Re: Check when a friendship was created
On Sun, Oct 25, 2009 at 6:13 PM, TylerC tyle...@gmail.com wrote: I am seeking the need to know when a friendship or when I have followed a given user. AFAIK, when a friendship was created is not available in the API. -damon
[twitter-dev] Re: User ID to Screen Name
On Sat, Oct 24, 2009 at 12:52 PM, Scott Wilcox sc...@tig.gr wrote: I don't know whether I'm missing something completely simple here, but how do I determine a screen name from a users id? $ curl -s http://api.twitter.com/1/users/show.xml?user_id=12; | grep screen_name screen_namejack/screen_name -damon -- http://twitter.com/damon
[twitter-dev] Re: from:user and since_id breaking Search API
Christopher To my recollection, for search with since_id to work properly, the tweet id must be in the search index. In this case: http://search.twitter.com/search?q=+from%3Asilent_tester02 does not yield the Dinner, movie, drinks. tweet in the index. As an aside, I did an exact match search on that phrase above and it returned many results that are not exact matches. But that's a separate issue. You could file an issue about the fact that the results coming back are not always consistent, but the first thing I would do is make sure that I am using a since_id that actually exists in the search index. Granted this can be a bit of a pain to verify this 100% of the time because sometimes tweets do not end up in the search index (which appears to be the case here). But in my experience, most of the time, they do. So as a test, pick a tweet you know is in the index and make some calls with it over a period of time. See if the results are consistent. Best, -damon -- http://twitter.com/damon On Tue, Oct 20, 2009 at 9:06 AM, Christopher Warren christopher.war...@gmail.com wrote: We have an app that runs searches regularly, and recently stopped receiving new tweets. After investigating we found a search combination that seems to break the search API. Instead of getting a response with no tweets, an .atom request errors and a .json request 404s. http://search.twitter.com/search.json?q=from:silent_tester02since_id=4979161317 http://search.twitter.com/search.atom?q=from:silent_tester02since_id=4979161317 Changing the query to not use from:username works as expect, but I've put several usernames in and they all respond the same way. I haven't managed to narrow down the cause of the problem much further than that, but we're handling it in our code by rescuing any failed searches and appending since: with the date of the most recent tweet to the q. Any thoughts on what might be causing this would be appreciated.
[twitter-dev] Re: Account Owner's last tweet
On Mon, Oct 5, 2009 at 11:52 PM, JK jam...@slip.net wrote: What api do I use to identify the last or latest tweet of the account owner? http://twitter.com/users/show could contain a tweet by a follower. http://twitter.com/statuses/user_timeline - states that it returns the 20 most recent statuses posted from the authenticating user but it shows status updates made by all people. For example, my twitter account is John Jim posts a tweet John posts a tweet Mary posts a tweet I want to be able to grab John's tweet ONLY. Do I have to go through the user_timeline and filter out anything beginning with a @? /users/show is what you want see http://apiwiki.twitter.com/Twitter-REST-API-Method:-users%C2%A0show For example: curl http://twitter.com/users/show/jack.xml; The response contains an embedded status element which is the latest tweet for the person. user ... status created_atTue Oct 06 05:14:52 + 2009/created_at id4648622123/id textGood day. Goodnight./text sourcelt;a href=quot;http://www.atebits.com/quot; rel=quot;nofollowquot;gt;Tweetielt;/agt;/source truncatedfalse/truncated in_reply_to_status_id/in_reply_to_status_id in_reply_to_user_id/in_reply_to_user_id favoritedfalse/favorited in_reply_to_screen_name/in_reply_to_screen_name geo/ /status /user And no, /user_timeline does not contain tweets from anyone other than the specified user. see http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-user_timeline for more info -damon -- http://twitter.com/damon
[twitter-dev] Re: Get Followers information effectively
On Wed, Aug 26, 2009 at 5:54 AM, Neilnei...@gmail.com wrote: I have an open enhancement request associated with this. http://code.google.com/p/twitter-api/issues/detail?id=917 They have said they are not going to be able to do this. It's noted in the bottom of the API v2 RoadMap document as an oft-requested feature, although even there, it doesn't appear that they have yet agreed to include it in the v2 API feature set. http://apiwiki.twitter.com/V2-Roadmap -damon -- http://twitter.com/damon
[twitter-dev] Re: Developer Preview: Geolocation API
On Aug 20, 3:46 pm, Ryan Sarver rsar...@twitter.com wrote: We wanted to give you all a heads up on a cool new feature that is coming soon - Geolocation. We have also updated the wiki to reflect what the API will look like when it launches, so check it out and let us know if you have any questions:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0u...http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0ve... Ryan, Very cool stuff. Looking forward to it. I'm assuming that you'll update the wiki (and API when it launches) such that everywhere a status element is returned, it will contain a geo element? Thanks, -damon
[twitter-dev] Re: no SSL on http://twitter.com/login?
If you look at the form carefully, you'll see this: form method=post id=signin action=https://twitter.com/sessions; -damon -- http://twitter.com/damon On Wed, Aug 19, 2009 at 9:07 AM, divesnobmdarl...@gmail.com wrote: For some reason my reply yesterday didn't make it? I do realize that you can just change http to https. The problem here is that twitter is sending people to http://twitter.com/login . Here's a screencast describing what I mean. http://www.screenjelly.com/watch/vSrv36yxa4g -matt On Aug 17, 7:02 pm, Abraham Williams 4bra...@gmail.com wrote: https://twitter.com/login On Mon, Aug 17, 2009 at 18:58, divesnob mdarl...@gmail.com wrote: Curious why you're not POSTing over SSL for /login? form class=signin method=post action=/sessions div style=margin: 0pt; padding: 0pt; /div input id=authenticity_token type=hidden value=7a401566e00cff4abe1cba6ed4c70bf52d37 name=authenticity_token/ fieldset class=common-form standard-form /fieldset /form -- Abraham Williams | Community Evangelist |http://web608.org Hacker |http://abrah.am|http://twitter.com/abraham Project |http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: no SSL on http://twitter.com/login?
On Wed, Aug 19, 2009 at 9:07 AM, divesnobmdarl...@gmail.com wrote: For some reason my reply yesterday didn't make it? I do realize that you can just change http to https. The problem here is that twitter is sending people to http://twitter.com/login . Here's a screencast describing what I mean. http://www.screenjelly.com/watch/vSrv36yxa4g -matt On Aug 17, 7:02 pm, Abraham Williams 4bra...@gmail.com wrote: https://twitter.com/login On Mon, Aug 17, 2009 at 18:58, divesnob mdarl...@gmail.com wrote: Curious why you're not POSTing over SSL for /login? form class=signin method=post action=/sessions div style=margin: 0pt; padding: 0pt; /div input id=authenticity_token type=hidden value=7a401566e00cff4abe1cba6ed4c70bf52d37 name=authenticity_token/ fieldset class=common-form standard-form /fieldset /form On Wed, Aug 19, 2009 at 9:47 AM, Damon Clinkscalessca...@pobox.com wrote: If you look at the form carefully, you'll see this: form method=post id=signin action=https://twitter.com/sessions; ^^^ from http://twitter.com/ ^^^ Although, here: http://twitter.com/login it's just /sessions , without the forced https. Yeah, that does seem like an oversight. -damon
[twitter-dev] Re: BOJAN RAJKOVIC - Your DLL is not working!
On Thu, Aug 13, 2009 at 3:21 PM, catcallsg.obrzut3...@ntlworld.com wrote: ... So, what gives with your DLL? When are you going to release something what works? Honestly, I can't believe you haven't been banned from this group yet. -damon
[twitter-dev] Re: set the from [Application]
On Mon, Aug 3, 2009 at 12:49 AM, Pekwushup...@gmail.com wrote: how do you set the from field when you tweet from the API. Right now mine says from API. I'd like it to say from [My Application] I've set all the fields necessary from the apps settings I think this is what's called a F.A.Q. Q: How do I get from myApp to display on Twitter.com instead of from API? I set the source parameter but it has no effect. A: Register your application as an OAuth-base app and set the name there. Use of the source parameter as a means of identifying applications with Basic Auth has been deprecated for quite some time now. Q: I want to have a custom source parameter and use Basic Auth. Is this possible? A: No. -damon http://twitter.com/damon
[twitter-dev] Re: Get friends' screen names instead of friends' ids?
On Wed, Jul 22, 2009 at 5:14 AM, link2carotran.minhq...@link2caro.com wrote: I would like to know if there is any way to get friends' screen names instead of friends' ids? On Wed, Jul 22, 2009 at 10:44 AM, whoiskbwhoi...@gmail.com wrote: Twitter dev team, is there anyway that you guys can reconsider this issue? See the bottom of this page. http://apiwiki.twitter.com/V2-Roadmap No, I don't work at Twitter. -damon -- http://twitter.com/damon
[twitter-dev] Re: Twitter credentials
On Tue, Jul 21, 2009 at 11:32 PM, rajrajsmaru...@gmail.com wrote: 1.Is there any twitter api method (php) to get credentials both username and password 2.How to use oauth_token returned in call back url, with this token is there any way to get twitter credentials both username and password, No. -damon
[twitter-dev] Re: Followers with time they followed
On Sun, Jul 19, 2009 at 4:49 PM, Howard Siegelhsie...@gmail.com wrote: Your followers on the twitter web site are (or at least were last time I checked) listed in descending order from the newest to the oldest follower. Do they just keep the list in order or do they keep the time of follow internally and then sort the list in reverse chronological order when needed for display? it must be the natural database order. I believe they've said in the past that they don't explicitly track when a relationship began. -damon -- http://twitter.com/damon
[twitter-dev] Re: Trying to post but my account is not posting duplicate posts
On Mon, Jul 13, 2009 at 10:24 AM, Mark Daviesmarkdavies12...@gmail.com wrote: Hi all, I have a system set up that uses its own twitter to send information to my main twitter name. However i have noticed if one message is. You have a new update then the message straight after cannot be You have a new update. Duplicates are dropped by Twitter upon receipt. is there a way to get around this as i need to get these notifications working any help is really apprechiated. Change the post slightly. -damon
[twitter-dev] Re: Rate Limit reporting
The doc says: IP whitelisting takes precedence to account rate limits. GET requests from a whitelisted IP address made on a user's behalf will be deducted from the whitelisted IP's limit, not the users. http://apiwiki.twitter.com/Rate-limiting If he's seeing a 20k limit, then that implies it's a whitelisted IP. According to the above, that IP would take precedence over the account user's passed in credentials. Yes? Both Matt and Doug answered this question though, so I feel like I must be reading this wrong. :) -damon -- http://twitter.com/damon On Mon, Jul 13, 2009 at 7:48 PM, Doug Williamsd...@twitter.com wrote: Martin, That's interesting. Is there a pattern to this? Can you offer steps for recreation? It would be helpful to have full header information when this does happen so we can look to see if a specific machine that is returning incorrect information. Thanks, Doug On Mon, Jul 13, 2009 at 4:26 PM, Martin Omander moman...@google.com wrote: Hi there, I'm getting the same thing, that is the rate limit for my IP address rather than for the account... most of the time. I run this curl command curl -u username:password http://twitter.com/account/rate_limit_status.xml where username and password are the account's real username and password. Most of the time the response contains an hourly-limit of 20,000, for my IP address I assume. But occasionally the exact same curl command returns an hourly-limit of 150. Very odd. I assume curl handles the credentials correctly. Any thoughts? /Martin On Jul 13, 9:54 am, Justin justin.realw...@googlemail.com wrote: Sorry about emailing you my last response. I understand what you're saying about firefox - though I'm having the same issue with requests via Microsoft.XMLHTTP requests - it's gone the end of the day now (I do have a habit of starting these things when there's no time). Will carry on the fight tomorrow - at least I have a direction now - will try some other request methods. Many thanks once again for your quick responses. @JustinReid On Jul 13, 5:26 pm, Matt Sanford m...@twitter.com wrote: Hi Justin, The user:pass is a shortcut used by some browsers and libraries but is not supported in all libraries. What language/library are you using? Most of them have some option for setting the user and password directly. Also, the most common issue when seeing the IP limit is an incorrect password. You should also try calling verify_credentials to make sure the password is correct and everything is being received correctly by Twitter. Thanks; – Matt Sanford / @mzsanford Twitter Dev On Jul 13, 2009, at 9:22 AM, Justin wrote: I feel a bit silly asking this in the time of OAuth - but I'm not quite there yet... So how to return the rate limit for a given user? Looking at the api documentation I presume you need to authenticate (log in) The obvious way to do this is via GET with: http://username:passw...@twitter.com/account/rate_limit_status.xml I've also tried base64'ing the username:password as suggested here: http://en.wikipedia.org/wiki/Basic_access_authentication http://base64(User:Pass)@twitter.com/account/rate_limit_status.xml However, every time I try I'm returned with the rate limit for the IP address and not the user. I know I'm missing something (a few sandwiches from the picnic probably) - could someone enlighten me? Many thanks
[twitter-dev] Re: RSS blank
On Mon, Jul 13, 2009 at 8:18 PM, Abraham Williams4bra...@gmail.com wrote: There is a help page specific to not showing up in search results but I can't find it at the moment. That would be: http://help.twitter.com/forums/10713/entries/16817 -damon -- http://twitter.com/damon
[twitter-dev] Re: Streaming API -- Additional markup added -- Deletion notifications on track streams.
On Mon, Jul 13, 2009 at 9:53 PM, John Kaluckijkalu...@gmail.com wrote: Deletions will be enabled on or after Thursday July 16th, as previously scheduled. From the wiki, http://apiwiki.twitter.com/Streaming-API-Documentation: Streams may also contain status deletion notices. Clients are urged to honor deletion requests and discard deleted statuses immediately. * XML: deletestatusid1234/iduser_id3/user_id/ status/delete * JSON: { delete: { status: { id: 1234, user_id: 3 } } } I don't know if this is related to the Streaming API directly or not, but I am curious when deletions are going to be reflected in the Search Index. At the WWDC meeting, I believe that Matt said that was coming. I just wonder if that time has come after July 16th or if that will be sometime later. Thanks, -damon -- http://twitter.com/damon
[twitter-dev] Re: Going all the way back -- the 3200-tweet limit is annoying / frustrating
I'm sure many people agree. Is there an existing Twitter API issue for it? If not, perhaps start one and let people vote on it as a feature? -damon -- http://twitter.com/damon On Sat, Jul 11, 2009 at 12:39 PM, M. Edward (Ed) Boraskyzzn...@gmail.com wrote: I've been talking with some of my Twitter friends in the Portland area and they / we are somewhat frustrated by the fact that we can only retrieve the most recent 3200 tweets via the API.
[twitter-dev] Re: Twitter API: User's last login date
On Thu, Jul 9, 2009 at 10:07 PM, luisfigorsoeg...@gmail.com wrote: Do you guys know if Twitter API provides a method for user's last login date? Nope, but you could use their latest status date if that is close enough. -damon -- http://twitter.com/damon
[twitter-dev] Re: users.show follower count vs followers/ids count
Alternatively, an explanation of why the followers/ids total count differs from that of users/show would be terribly interesting. It used to be the case (at least when the feature first launched) that some folks, particularly those who have large follower lists, had duplicate ids in the followers/ids response. At least that was my experience. Don't know if this is still true, but you could check the uniqueness of the set being returned, just for grins. -damon -- http://twitter.com/damon
[twitter-dev] Re: Retrieving a list of followers and/or friends for an arbitrary user...
On Sun, Jul 5, 2009 at 10:33 PM, kmslogickmslo...@gmail.com wrote: Along the lines of retrieving a list of an arbitrary user's friends or followers--is there any way to convert the list of numbers into screen names or user names without calling the /users/show.xml?id=x function over and over? Even for a modest friends or followers list it seems like you'd run into the rate limiter immediately just to produce a list of names... see http://bit.ly/11hbry apply for whitelisting. build a local cache. yes, it's less than ideal. -damon
[twitter-dev] Re: Purposed method: friendships/show
If you're going to redefine the way that follow information is returned, I believe that it should include the effect of protected accounts on both sides of the follow equation. Thanks, -damon -- http://twitter.com/damon On Tue, Jun 9, 2009 at 10:52 AM, Marcel Molinamar...@twitter.com wrote: Thanks for the suggestion Chad. What do others think of {relationship: { source: { id: 123, screen_name: bob, notifications: false }, target: { id: 456, screen_name: jack, notifications: null }, source_follows_target: true, source_followed_by_target: false } } versus {relationship: { source: { id: 123, screen_name: bob, following: true, followed_by: false, notifications_enabled: false }, target: { id: 456, screen_name: jack, following: false, followed_by: true, notifications_enabled: null } } }
[twitter-dev] Re: WWDC Twitter developer meetup at Twitter HQ: RSVP!
Hey Alex/Matt/Doug when you think this can be decided? Can Wed. at 5pm work for the meetup? Thanks, -damon On Thu, May 28, 2009 at 1:49 PM, Pablo Lopez pablitolo...@gmail.com wrote: Count me in too!! On May 21, 5:18 pm, Alex Payne a...@twitter.com wrote: Hi all, There's great crossover between Twitter API developers and Mac/iPhone developers. Andrew Stone, developer of Twittelator Pro, suggested that we all get together during WWDC and coordinate around the Apple Push Notification Service and other issues of mutual interest. Twitter's offices are just a few blocks from Moscone, so it should be easy for any interested coders to make it over here. Please RSVP with a reply to this thread and let us know what dates and times work for you. Andrew was thinking early one morning, but not being much of a morning person, I'd prefer something later in the day. We'll let group consensus decide. Thanks, and hope to see you in early June. -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Re: UserIDs to UserName - in bulk
On Wed, May 27, 2009 at 8:32 PM, Brendan O'Connor breno...@gmail.com wrote: I've been wondering about the same thing, especially with the REST API's rate limit. I also wanted to dereference user id's from the Search API, where the tweet data objects don't have the big nested user info object like they do in the REST API (or at least *hose) Brendan Also, the ids aren't the same between REST API and Search API for historical reasons. -damon -- http://twitter.com/damon
[twitter-dev] Re: Is there a way to tell if a tweet has been favorited (regardless of user)?
On Mon, Apr 13, 2009 at 10:50 AM, e.p.c. epcoste...@gmail.com wrote: I am playing with favorites and am trying to determine if a given tweet has been favorited by anyone at all. Yeah, the API could be a more helpful in that regard. Here are some services I've seen related to this subject if you want to check them out. http://favrd.textism.com/ http://favotter.matope.com/en/ http://twitfave.com/ (and I think they recently said they are offering an API) -damon -- http://twitter.com/damon
[twitter-dev] Re: A note on our API change policy
On Fri, Apr 10, 2009 at 1:04 PM, Doug Williams d...@twitter.com wrote: Lastly, lets work together. Tell me what you developers need that we are not currently providing. How can we better manage this communication? Which method of notifications work best for you? Aside from transparency with API changes, what else do you want to know? Keep us posted on what is going to happen not just what already happened with a deploy. Also, sometimes a change in the Twitter UX also means important change to the API. A good example of this recently was the change of the definition of a reply to a mention. This impacted every app that depended on the existing definition of a reply. Having some advance notice to developers that this change was coming would have prevented some problems. Thanks for working on the transparency and communication. Appreciate it. -damon -- http://twitter.com/damon
[twitter-dev] Re: Account opening
On Sat, Apr 4, 2009 at 5:59 PM, ben benjamin.co...@gmail.com wrote: I'm working on an application that will require the use of a considerable number of Twitter accounts- around 5700. Is there an easy and legitimate way of opening this number of accounts rather than having to manually do so? Are Twitter helping developers do things like this? Is it allowed? No. -damon (who doesn't work for Twitter) -- http://twitter.com/damon
[twitter-dev] Re: API Changes for April 1, 2009
On Wed, Apr 1, 2009 at 9:33 PM, Damon P. Cortesi d.lifehac...@gmail.com wrote: I'm not sure if it's related to this push, but I've started to get several user objects back with no statuses_updates. Sorry, I meant statuses_count. nor favourites_count, nor friends_count... here's my record, in full (from /users/show/damon.xml) $ curl http://twitter.com/users/show/damon.xml ?xml version=1.0 encoding=UTF-8? user id756264/id nameDamon Clinkscales/name screen_namedamon/screen_name locationAustin, TX/location descriptionI'm a shepherd. Software engineer at VitalSource and leader of Austin On Rails. I also build apps like http://snaptweet.com and http://doesfollow.com. /description profile_image_urlhttps://s3.amazonaws.com/twitter_production/profile_images/73617066/me_smile_normal.jpg/profile_image_url urlhttp://damonc.com/url protectedfalse/protected followers_count974/followers_count status created_atWed Apr 01 21:16:29 + 2009/created_at id1434142066/id textRT @ev on April Fools - There is no Twitter Pro/text sourcelt;a href=http://iconfactory.com/software/twitterrificgt;twitterrificlt;/agt;/source truncatedfalse/truncated in_reply_to_status_id/in_reply_to_status_id in_reply_to_user_id/in_reply_to_user_id favoritedfalse/favorited in_reply_to_screen_name/in_reply_to_screen_name /status /user April Fools? -damon
[twitter-dev] Re: since_id returning older messages
On Mon, Mar 30, 2009 at 6:11 PM, Jake off...@gmail.com wrote: I am trying to retrieve direct messages using the since_id to fetch only the new ones. The documentations says Returns only direct messages with an ID greater than (that is, more recent than) the specified ID. However, the API is giving me messages with an ID lower than the since_id that I pass. Is this a known issue? yes. see the list from today. many posts. -damon
[twitter-dev] Re: social graph methods with a bit more info
On Sat, Mar 28, 2009 at 11:47 PM, Damon Clinkscales sca...@pobox.com wrote: see On Sat, Mar 28, 2009 at 9:16 PM, softprops d.tang...@gmail.com wrote: It would be nice if the http://twitter.com/[friends|followers]/ids.format uri's could return a bit more useful info like the screen_name. [ snip ] ... ?xml version=1.0 encoding=UTF-8? ids id screen_name=foo1/id id screen_name=bar2/id /ids They aren't going to do this for performance reasons, even though yes, it would be useful. see http://is.gd/ptJ9 -damon An alternative solution may be possible though. I've recently been reminded that @infochimps has a massive scrape of the Twitter social graph and is willing to make that available, in whole or in part. However, they are currently awaiting Twitter's permission on precisely what can be released. You can read more about this here - http://blog.infochimps.org/2008/12/29/massive-scrape-of-twitters-friend-graph/ Assuming that the data is released, even in a limited form, there is potential there for an id--screen_name mapping table which could serve as a cache primer for apps that need that. This could potentially save a bajillion calls against Twitter's API, which in turn would have other good effects. One of the most notable places where this is obviously needed is tying Twitter Search results to Twitter users. For historical reasons, the user id in the search result is not the Twitter user_id, so you have to use the screen name. -damon -- http://twitter.com/damon
[twitter-dev] Re: social graph methods with a bit more info
On Sun, Mar 29, 2009 at 4:38 PM, Jesse Stay jesses...@gmail.com wrote: If Twitter's going to allow this, why don't they just do it themselves and provide more accurate and up-to-date info? Yeah, that'd be nice. But, given everything going on, it's probably not a priority right now. How often does this cache update? I'm curious how accurate and reliable this would be, since people are constantly modifying their social graph. In the case of the id/screen_name thing, the data wouldn't change much. Ideally, there'd be a way of forcing an update from Twitter in the case of known/suspected stale data. As to keeping up with the social graph, I think the current social graph methods are sufficient/wonderful for that. -damon
[twitter-dev] Re: Friendships destroy: friends_count not updated
It's probably a cache issue. However, I don't know how many seconds/minutes it takes to update the count. You could run a test like so: store users/show/friends_count as x friendships/destroy to remove one y = x loop until y is x get users/show/friends_count as y end I'd be curious to know how long it takes. Another option (but I assume these are cached too) is to call the social graph method for friends/ids/youruser.xml and check the # of ids returned. -damon On Sat, Mar 28, 2009 at 7:28 AM, topolino lasse.kl...@gmail.com wrote: I am using the twitter api (http://twitter.com/friendships/destroy/ user.xml) to successfully unfollow a user for an account. The problem is that twitter does not decrease the friends_count when I get the extended user information for the authenticating user. The number is however decreased by one if I log in as the user and look at the following count on twitter.com/home. Can anyone tell me what is causing this? And if it is a known but, is there another way of finding the correct friends_count? -- http://twitter.com/damon
[twitter-dev] Re: social graph methods with a bit more info
see On Sat, Mar 28, 2009 at 9:16 PM, softprops d.tang...@gmail.com wrote: It would be nice if the http://twitter.com/[friends|followers]/ids.format uri's could return a bit more useful info like the screen_name. [ snip ] ... ?xml version=1.0 encoding=UTF-8? ids id screen_name=foo1/id id screen_name=bar2/id /ids They aren't going to do this for performance reasons, even though yes, it would be useful. see http://is.gd/ptJ9 -damon
[twitter-dev] Re: unauthenticated way to fetch profiles by ID?
On Sat, Feb 28, 2009 at 8:50 AM, Alex aybarb...@gmail.com wrote: The only way I can think of offhand to fetch the profile is via the users/show call, i.e. http://twitter.com/users/show.xml?user_id=12345 Is there an easier way to do this? Ideally a way that does not require user authentication? That doesn't require user authentication, but it is rate limited by IP. Alternatively, would you consider adding an option for the social graph calls to return actual usernames instead of the user_id? It's been requested but they can't do it without killing performance. See http://code.google.com/p/twitter-api/issues/detail?id=265 I forgot that we could just fetch their profile via HTTP GET such as: http://twitter.com/users/show/12667242.xml Do queries such as this count towards the max limit per IP per hour? Yes. In general, GET requests do count, but POSTs do not. You can also apply for whitelisting here by describing to Twitter what your app does: http://twitter.com/help/request_whitelisting -damon -- http://twitter.com/damon
[twitter-dev] Re: 24,386 unfollow calls
Zac, I would space the calls a bit, but I've been told by Alex previously that a mass unfollow wouldn't be limited. -damon -- http://twitter.com/damon On Mon, Feb 23, 2009 at 10:41 AM, Zac Bowling zbowl...@gmail.com wrote: So I have kind of weird request. My boss, who is following 24,386 people (and has 22,752 followers) came to me and wanted me to hack something to wipe out all the people he follows so he can start clean again for various reasons.
Re: New API methods to retrieve social graph without pagination
On 2/5/09, Ninjamonk dar...@stuartmedia.co.uk wrote: This is really useful, however would be even more useful if you offered an unrate limited service to return the username for each userid. On Feb 5, 3:07 am, James Deville james.devi...@gmail.com wrote: Any chance of a easy way to map this to usernames? We want the friends list for Witty (and I imagine others), but we don't need full profiles, just this + username. This won't help us otherwise since we'll need to map the entire list to usernames, which will require too many requests. I agree that having the username would be useful. If it's not a bunch of extra strain to include it, that would be splendid. If we have the username, we can build URLs to Twitter profile pages and/or display something meaningful (a name) to a user. thanks, -damon -- http://twitter.com/damon
Re: Twitter app user poaching
On Tue, Jan 27, 2009 at 12:07 PM, Chad Etzel jazzyc...@gmail.com wrote: [snip] Would love to hear about others' experiences in this area. Chad, One thing I've done is to create two distinct accounts for the SnapTweet application@snaptweet and @snaptweetdev. Eventually, I perceived that supporting so many users with their issues on the main account was just noise to almost everyone. So now, whenever I see someone who needs help, I @-reply them from the dev account and invite them to email me if it's too long for Twitter. No noise for my primary followers and I can keep to posting minimal and quality tweets on the main account at choice opportunities. It's worth noting that these are separate from my personal account (@damon). As to the poaching question, it *is* a competition for user mindshare and users cannot decide if they like your app or some feature of your app, if they don't know about it. So while repetitive check out my app tweets could definitely get annoying, I think that being generally helpful to users who are trying to find solutions to let them kick ass, can only help you grow your user base. Best, -damon -- http://twitter.com/damon
Re: How to accept follow request via API
Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protected:false,profile_image_url:http:\/\/static.twitter.com\/images\/default_profile_normal.png,location:,id:xxx,followers_count:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}
Re: Fixes deployed Nov 14th
Looks like this is fixed. I just did an unauthenticated /users/show on a protected user and I got all 4 counts and the created_at: followers_count36/followers_count friends_count67/friends_count created_atSat Mar 10 21:53:19 + 2007/created_at favourites_count2/favourites_count statuses_count345/statuses_count Sweet. Thanks guys! -damon On Mon, Nov 24, 2008 at 3:36 PM, Damon Clinkscales sca...@pobox.com wrote: Btw everybody, I've just added an issue for the issue describe in this thread from last week. Essentially, /users/show on protected profiles should also include friends_count (or following_count). It already includes followers_count. http://code.google.com/p/twitter-api/issues/detail?id=167
Re: Followings Updates not coming from AP
Just tested myself. https://twitter.com/users/show/damon.xml user ... nameDamon Clinkscales/name screen_namedamon/screen_name ... followers_count676/followers_count status ...my most recent status is here... /status /user No friends_count (or following_count), though. -damon On Wed, Dec 10, 2008 at 3:39 PM, Dharmesh [EMAIL PROTECTED] wrote: I have had the same issue since some time last night. Basically, the following and update elements of the output just don't come through I believe this was resolved last night, but most of my users are still having the problem (and I'm getting increasingly worried that it's not just an issue with waiting the cache to refresh). Example: http://twitter.com/users/show/hubspot.xml (in fact, I can't find a single user account now that will return following count and update count when retrieved via the API) All help is appreciated. -Dharmesh On Dec 10, 2:50 pm, jje [EMAIL PROTECTED] wrote: Followers are coming through on our call but the Followings and Updates are not, no error just no #'s. seewww.whatsyourtweetworth.com and enter user name..not all info is coming through and yesterday it was working. thanks for the help- developer is out, but he can add more details once he is available. I'm just trying to figure out if its on our end. On Dec 10, 1:36 pm, Steve Ng Ming Yeow [EMAIL PROTECTED] wrote: Hi Jje, Think you might need to elaborate a bit more. We might have the same issue (and i have seen it being mentioned in some other places), but would need more details to ascertain. Do you get an error, or are the changes in following just not being reflected? M On Wed, Dec 10, 2008 at 11:23 AM, jje [EMAIL PROTECTED] wrote: Just wondering if there is any discussion on the current followings updates not coming through on our ping to the API? Thanks -- Discovery - Going Beyond Engagement:http://is.gd/op2(MyCurrent Pet Project) What I do:http://v3.mingyeow.com/?page_id=5
Re: Pinging back if there is an update by twitter? Is it possible?
On Sat, Nov 29, 2008 at 4:55 PM, ahmet [EMAIL PROTECTED] wrote: Hello everyone. If you use friendfeed, you may know that if you post a new status message on twitter, it appears in your friendfeed account only in 2 or 3 seconds. I think there is a ping API protocol between twitter and friendfeed. How can we do that? For instance, I follow your account and you're updating your status very frequently (i.e. new status per minute) I can make a cronjob which gets your status message with RSS, but I think this is not a good way to that if you follow nearly a hundred of people. friendfeed does this for at least 30.000 twitter users and gets updates instantly. Any ideas? If you know specifically who you are interested in, you can use Gnip. http://gnipcentral.com/ -damon -- http://twitter.com/damon
Re: Fixes deployed Nov 14th
Btw everybody, I've just added an issue for the issue describe in this thread from last week. Essentially, /users/show on protected profiles should also include friends_count (or following_count). It already includes followers_count. http://code.google.com/p/twitter-api/issues/detail?id=167 Thanks, -damon On Mon, Nov 17, 2008 at 11:38 AM, Alex Payne [EMAIL PROTECTED] wrote: Ah, gotcha. On Mon, Nov 17, 2008 at 09:33, Damon Clinkscales [EMAIL PROTECTED] wrote: On Mon, Nov 17, 2008 at 11:28 AM, Damon Clinkscales [EMAIL PROTECTED] wrote: Alex, Ok, I've starred that issue. But this has to do with new protected user profile values which Matt exposed with his fixed. Do we need a separate issue for that, or is #5, it? Thanks, -damon I mean to say that users with public timelines already have a friends_count attribute, but protected ones do not. public: user ... protectedfalse/protected followers_count1399/followers_count ... friends_count1490/friends_count /user protected: user ... protectedtrue/protected followers_count207/followers_count /user
Re: Not Naughty But Careful
On Wed, Nov 12, 2008 at 3:37 AM, Waitman Gobble [EMAIL PROTECTED] wrote: Hi, I'm doing like a hundred get searches an hour, and some post requests. I thought I read somewhere that I should only do 60 requests per hour or I'd be thrashed. I also thought I read somewhere that I could request /haven gratis/ but I can't locate that info. Any ideas? Waitman, You can do 100 get requests per hour, currently. Posts don't count. You can describe your app and request whitelisting here: http://twitter.com/help/request_whitelisting -damon
Re: Suspended Accounts still being returned in follower data
Yeah, I've wanted this just with my regular Twitter account. They don't automatically remove suspended accounts from follower lists, but I too wish they would. -damon On Wed, Nov 12, 2008 at 5:42 PM, Jesse Stay [EMAIL PROTECTED] wrote: I'm still noticing suspended accounts showing up in follower data. Of course, you can detect them by checking the error message returned, but this is wasting near at least 5 minutes for each user in the script I'm running. Is there a way you can exclude those from the list of followers? Is there any reason to keep them in the list of followers? I'd rather not have to keep trying to follow people you guys know are suspended when you know they're suspended. I could put them on my own list, but how do I know their account has stopped being suspended? That would be a huge help if you could remove them from the followers list.
Re: Search UI and API suggestions
On Thu, Nov 6, 2008 at 12:34 PM, Craig Hockenberry [EMAIL PROTECTED] wrote: 1) The ability to search for replies to a given tweet ID. The use case for this is when someone asks a question like What's the best place to get T-shirts printed in small runs?. The only way to search for answers is by using the original poster's screen_name, which contains a lot of noise in the results. Specifying the original tweet's ID would be much more accurate (now that clients like Twitterrific are starting to set it when replies are posted.) +1 2) I'd like to do a search for @chockenberry that are not replies to me. Periodically, I do searches to see what people are saying about me. I'm not in interested in @chockenberry This a reply, I'm interested in Just saw @chockenberry and man is he tall. A vanity mode :-) Yeah, that'd be nice. What's weird is that this works: http://search.twitter.com/search?q=+chockenberry+-from%3Achockenberry but this doesn't http://search.twitter.com/search?q=+chockenberry+-to%3Achockenberry could just be a bug. -damon
Status does update but a bad (or empty) response comes back
Hey Alex, This tweet: http://twitter.com/damon/status/972471865 was posted by SnapTweet and the response I got was: end of file reached. That could be a client-side error, which presumably means that it was a completely empty response? using ruby http. The tweet was posted successfully, however. Is this something you have heard of happening? Thanks, -damon
friendship relationship not being created?
Hello Alex/Twitter, I am not seeing any errors on my side, but several times in the past couple days...new follower relationships aren't being created when they are supposed to be. A particular case is snaptweet and ssethi. SnapTweet supposedly created a 2-way relationship there and Twitter doesn't think so. Did you happen to change the /friendships/create/user.xml method recently? Or could this possibly related to cache problems this week? I did find one user (Reemski) who was able to sign up recently and the follows worked, but she is not the norm. I am now going to go in and attempt to manually do the follows. Hopefully they will take. Thanks, -damon
Re: friendship relationship not being created?
Alex/Twitter, It should be noted that I am checking the relationship with /friendship/exists. Friendship/Exists seems to agree with the Twitter UI whenever I check the recent followings in the Following tab. However, going backwards through my last 200 user signups, SnapTweet is only following 33 of them (or about 17%). I'll send you the list in a separate email. -damon On Sat, Oct 18, 2008 at 8:26 AM, Damon Clinkscales [EMAIL PROTECTED] wrote: Hello Alex/Twitter, I am not seeing any errors on my side, but several times in the past couple days...new follower relationships aren't being created when they are supposed to be. A particular case is snaptweet and ssethi. SnapTweet supposedly created a 2-way relationship there and Twitter doesn't think so. Did you happen to change the /friendships/create/user.xml method recently? Or could this possibly related to cache problems this week? I did find one user (Reemski) who was able to sign up recently and the follows worked, but she is not the norm. I am now going to go in and attempt to manually do the follows. Hopefully they will take. Thanks, -damon -- http://twitter.com/damon