[twitter-dev] Re: Finding the intersection of Friends + Followers
Hi, Rats, no worries. The proposition: "Direct Messages can only be sent to people who are following me (and are not blocked or flagged as protected)." ...summarises the truth table and It believe to be correct. Cheers M
[twitter-dev] Re: Freelance Twitter API Dev directory?
Hi, Please add me to the list http://apiwiki.twitter.com/Developers Vadim Voituk * Twitter: voituk * URL: http://voituk.kiev.ua/ Co-author of Jabber2Twitter.com Java, Groovy, Scala, PHP, MySQL, XMPP, etc.
[twitter-dev] Re: most efficient method for followers & friends count
In my "mutuality" tool I use social graph methods and I think it works. On Apr 29, 9:54 am, API_Tester wrote: > Just need number of followers and number of friends. > > Method 1: users/show and use the followers_count and friends_count > values. Problem: The numbers are updating only on a status update. > Example: At last status update if followers_count was 2420 and then > there have been 30 more followers. Unless there is a status update, > the followers_count does not change to 2450. > > Method 2: statuses/friends and statuses/followers looping through each > page. This is an unnecessary strain on the API system and secondly, > when twitter is loaded, this method takes forever or breaks. > > Method 3: Yet to try, can use social graph methods and count the > number of IDs returned. > > Could someone suggest which of these methods is recommended or if > there is a more efficient method. > > Thanks
[twitter-dev] Re: Freelance Twitter API Dev directory?
Hello, Please also add me to the list. Real name: Alexey Papulovskiy Twitter: @nullwaver Website with examples: http://huitter.com On 29 апр, 03:56, Mike Lewis wrote: > Hi, > > Please add me to the list > > Real Name: Mike Lewis > Twitter Username: @mikelikespie > Email: m...@narwhalconsulting.com > > Web page:http://narwhalconsulting.com > Example: tweeptracker.com > > Consulting firm out of SF bay area. Expertise in Python, Pylons, > Postgres, REST API's, OAuth, AJAX, Flex, Javascript, C, etc. > > Cheers, > Mike > > On Mar 12, 2:24 pm, Ollie wrote: > > > Can I be added to the list please? > > > Real Name: Ollie Parsley > > Twitter Username: @ollieparsley > > Email: ol...@ollieparsley.com > > > Freelance PHP developer based in Dorset, UK. Have quite a bit of > > experience with the Twitter APIs for bespoke web apps using PHP/MySQL. > > Done a fair bit of .NET with Oracle too. > > >http://footytweets.comhttp://twitterleague.comhttp://h1debate.com > > > Thanks > > > Ollie
[twitter-dev] Re: http://twitter.com/friendships/exists.json returning just "true" or "false"?
On 29 Apr., 01:40, Doug Williams wrote: > Alex and I discussed this defect. While this is the desired behavior we > can't exactly change this as it would break existing clients. I will > document this in the wiki but the fix is going to have to wait for the next > full release of the API. KK, thank you :-)
[twitter-dev] Re: Freelance Twitter API Dev directory?
Hello!! Please add me to the list http://apiwiki.twitter.com/Developers Ed Pimentl * Twitter: edpimentl * URL: http://GPro,ws Cloud Computing LifeStreaming/Microblog APPS GNIP, PHP, PYTHON, XMPP, JAVA, MYSQL, FIREFOX, XUL, iPHONE Thanks in advance and Best regards, -E Gpro.ws http://Twitter.com/edpimentl http://AskTwitR.com (Real Time Twitter Search & Reputation Management) http://TwiTR.Me (Cross Social Network Messaging Bus) http://WatchNtweet.Me (Watch and Chat/Tweet) SocialTV http://TwebEX.com (Twitter Based Online Web Conference Platform) http://TwitrShare.com (Send Picture and Message to Tweet Contacts) http://TweetUp.ws (Twitter based MeetUp service) http://PiCurio.us (Spell with FlickR, Let others SEE what you are saying) http://DatR.Ws (Cloud Computing Media Sharing, Access and Publish)
[twitter-dev] Re: Is /statuses/replies deprecated?
OK, thanks for the clarification. Will migrate asap. Arnaud. On Apr 29, 2:10 am, Doug Williams wrote: > No excuses. Thanks for calling it Chad. > > statuses/replies is an alias to statuses/mentions. statuses/replies will not > be going away but we would prefer you to use statuses/mentions if at all > possible. > > Thanks, > Doug > -- > > Doug Williams > Twitter Platform Supporthttp://twitter.com/dougw > > On Tue, Apr 28, 2009 at 5:07 PM, Chad Etzel wrote: > > > Um.. can we get a do over on that post, please? I think we got the > > gist, but just to make sure that nothing was lost in translation > > (since I'm spotting a few typos/omissions)... > > > Thanks, > > -Chad > > > On Tue, Apr 28, 2009 at 8:04 PM, Doug Williams wrote: > > > With the change from @replies -> mentions we the statuses/replies method > > to > > > statuses/mentions. Rest assured statuses/mentions will still be > > available, > > > but to reduce confusion and promote the new standard we removed > > > statuses/replies in favor of statuses/mentions in the documentation. In > > > other words statuses/replies is now a hidden alias to statuses/mentions. > > > > Thanks, > > > Doug > > > -- > > > > Doug Williams > > > Twitter Platform Support > > >http://twitter.com/dougw > > > > On Tue, Apr 28, 2009 at 4:54 PM, Arnaud > > > wrote: > > > >> Hi, > > > >> I just noticed the /statuses/replies method was not mentionned anymore > > >> on the Twitter API wiki. It's quite disturbing, as I didn't see > > >> anything in the changelogs. Is this method deprecated? Is it going to > > >> be? Or is it some kind of symlink to /statuses/mentions ? > > > >> All the best, > > >> Arnaud.
[twitter-dev] Re: a new application
Stuart.. thanks a lot.. got it. specially that twitpic example.. :) On Apr 28, 7:15 pm, Stuart wrote: > I think you're not understanding that there's a definite line between > Twitter itself and the applications we build that use the API. No > application you build is ever like to "become part of Twitter". > > If your application needs to store any data you need to provide that > as part of your application - this is what TwitPic does so why should > you be any different? > > While I don't work for Twitter [yet ;-)] I can pretty much guarantee > that they won't ever endorse your application in the way you seem to > think they will. > > As for what you should do now I suggest you read the API docs very > carefully, understand exactly where the line is between Twitter and > your application, then start designing/coding it. You don't need to > talk to Twitter before using the API to build an application. Once > it's built I'm sure Doug and they guys will be happy to take a look > and make suggestions but that's likely to be as far as their > involvement ever gets. > > Hope that clears things up for you. > > -Stuart > > --http://stut.net/projects/twitter > > 2009/4/28 guru : > > > > > Thanks Andrew for the link.. I am going to check it for my > > requirement.. > > > @Matt.. > > > Thats true. Here is an example which explains everything about my need > > and the application.. > > > Not My Type Application : > > Suppose there is an application called TwittShareUpdates which > > provides daily share updates for some company. Individual user will > > download/Add it for there use using Twitter credentials. One user's > > application information will not be shared by other user, obvious in > > this case. There is no need to store data also in this case. > > > My Type Application (Just an example) > > Suppose there is an application called TwittAlbum in which you store > > photos and that will be viewed and commented by other users. You can > > also view other users photo and can put comment on it. > > > Now you see, TwittAlbum is different from TwittShareUpdates as > > TwittAlbum will take space and this application should be considered > > an independent application. In fact it should be part of Twitter. > > Whereas TwittShareUpdates should be considered as independent > > application provided by third party. > > > TwittAlbum will need some space and every Twitter user will know about > > this feature "Album feature provided by Twitter" (suppose this feature > > is not present right now). TwittShareUpdate will be added/downloaded > > individually by only those users who need it personally whereas > > TwittAlbum will be considered as integral part of Twitter. Whether you > > use it or not, it will remain there as a feature provided by Twitter > > for its users. > > > So.. my application is like TwittAlbum. I want to develop it for > > mobile as well as for desktop also using Java. I had gone through that > > API link earlier also and still checking it. Thanks again for it. > > > So.. any more suggestions? what to do now? regarding space and what > > are the processes to take initiative for send details to twitter > > management team regarding this so that they can evaluate it? > > > sorry for long message but thought lets explain it in better way so > > that nobody will keep guessing.. > > > Thanks again in advance.. > > > Guru. > > > On Apr 28, 1:10 am, Matt Sanford wrote: > >> Hi there, > > >> From your description it sounds like you do need some storage of > >> your own to keep information like this. > > >> Thanks; > >> – Matt Sanford / @mzsanford > >> Twitter Dev > > >> On Apr 27, 2009, at 12:49 PM, guru wrote: > > >> > @Matt.. what if my mobile application need to store some data provided > >> > by user for other users.. where this will be stored?? and also.. this > >> > application will not be used by only one user.. this is a feature > >> > which will be shared amongst users.. this is for twitter itself and > >> > will be used by all users.. both format will be available.. mobile as > >> > well as desktop.. its a software (till now only concept) which will be > >> > developed by me, maintained by me.. but will be used by twitter people > >> > as an integrated software of twitter.. > > >> > can u suggest me something?? its really a good idea.. do i need to > >> > create my own webspace?? > > >> > On Apr 27, 8:16 pm, guru wrote: > >> >> please read "twitter" at the place of "tutor" .. extremely sorry for > >> >> this.. > > >> >> On Apr 27, 7:13 pm, guru wrote: > > >> >>> Hi All, > > >> >>> I want to develop a new mobile application for twitter. But I have > >> >>> few > >> >>> questions. Please help me as I am new for twitter and this forum. > > >> >>> 1. If tutor users will use my mobile application, then some space is > >> >>> required to store data of my application. does twitter provide space > >> >>> to us to store data related for the user which will be generated > >> >>> by my > >>
[twitter-dev] Re: trying to learn API's.. and got error..
thanks matt.. I think this is related to firewall/blocked website kind of problem.. will check it out. On Apr 28, 7:52 pm, Matt Sanford wrote: > Hi there, > > I don't know anything about the winterwell.jtwitter.* classes but > the "null" in your error message would indicate a > NullPointerException. I can access the same URL as in the error > message so it seems to be something library specific. You might want > to try and contact whoever wrote winterwell.jtwitter.* for help. > > Thanks; > – Matt Sanford / @mzsanford > Twitter Dev > > On Apr 28, 2009, at 6:44 AM, guru wrote: > > > > > I have just started learning use of API's. so I wrote a program and > > got an exception. > > > I am using netbeans 6.1, java 1.6 > > > Program: (am I suppose to write any thing else apart from this??? > > > import winterwell.jtwitter.*; > > > public class MyClass { > > >public static void main(String[] args) { > > >Twitter twitter = new Twitter("MyUserName","MyPassword"); > >System.out.println((twitter.getStatus("Omkaaraa")).toString > > ()); > >twitter.updateStatus("Trying to put this message at twitter > > using my application"); > > >} > > > } > > > Error which I got: > > > Exception in thread "main" winterwell.jtwitter.TwitterException: Error > > rehttp://twitter.com/statuses/user_timeline.json? > > id=Omkaaraa&count=1&: > > null > >at winterwell.jtwitter.Twitter.fetchWebPage(Twitter.java:748) > >at winterwell.jtwitter.Twitter.getStatus(Twitter.java:987) > >at javaapplication1.Main.main(Main.java:21) > > Java Result: 1 > > > can you help me which stupid mistake I have made?? > > > Guru
[twitter-dev] Clarifications on IP Address Whitelisting
I apologize if this question has already been answered in the archives. I've followed this list for a couple days and hadn't seen this specific question come up. My application has been white listed. In doing so, I specified a set of 5 IP addresses from which traffic from my application may come. TFM states [1]: we offer whitelisting which will raise an account or IP address' rate limit to 2 requests per hour. My understanding is that this means each of my 5 IP Addresses can make 20,000 unique API requests per hour (for a total of 120,000 API requests / hr as long as I write some sort of IP Address load balancing code.) But I have not seen that actually spelled out in so many words. Is my assumption correct? (my app is nowhere near that limit, but I am working on some capacity planning numbers.) If my assumption is correct, is there a further limit on the number of unique addresses my Application can have whitelisted? Also, is whitelisting limited to IPv4? I have not yet tried it with any IPv6 addresses. [1] http://apiwiki.twitter.com/Rate-limiting?SearchFor=white+list&sp=1 -- Patrick Burrows http://www.CleverHumans.com
[twitter-dev] Re: Clarifications on IP Address Whitelisting
(s/b 100,000 total, not 120,000, my maths was broke.) -- Patrick Burrows http://www.CleverHumans.com On Wed, Apr 29, 2009 at 10:31 AM, P Burrows wrote: > I apologize if this question has already been answered in the archives. > I've followed this list for a couple days and hadn't seen this specific > question come up. > > My application has been white listed. In doing so, I specified a set of 5 > IP addresses from which traffic from my application may come. TFM states > [1]: > > we offer whitelisting which will raise an account or IP address' rate > limit to 2 requests per hour. > > My understanding is that this means each of my 5 IP Addresses can make > 20,000 unique API requests per hour (for a total of 120,000 API requests / > hr as long as I write some sort of IP Address load balancing code.) But I > have not seen that actually spelled out in so many words. Is my assumption > correct? (my app is nowhere near that limit, but I am working on some > capacity planning numbers.) > If my assumption is correct, is there a further limit on the number of > unique addresses my Application can have whitelisted? > > Also, is whitelisting limited to IPv4? I have not yet tried it with any > IPv6 addresses. > > > > [1] http://apiwiki.twitter.com/Rate-limiting?SearchFor=white+list&sp=1 > > -- > Patrick Burrows > http://www.CleverHumans.com >
[twitter-dev] Creating a "search" histogram
Hi, I have seen some applications that show you the NUMBER of mentions of a specific term over a given time period. I read through the API but don't see any useful method or call for making this happen. Does anyone have a good suggestion for how to obtain the data needed to know how many mentions of a specific term occured PER day over a given time period, such as two years? Omniture's SiteCatalyst seems to be doing it somehow. Thanks! Josh
[twitter-dev] Re: IP Address range
I think I'm encountering the same hurdle with my application. Unfortunately my hosting provider insists on having an IP to use in order to filter outbound traffic from the server. I don't suppose that there's any chance that you would be able to provide this so that I can get access to the API from an application that needs to integrate twitter? Thanks. On Apr 15, 8:06 pm, Alex Payne wrote: > You're probably better off writing the firewall rule by domain, if > possible. OurIPranges are going to change and grow, and they'll be > hard to keep track of. > > > > On Tue, Apr 14, 2009 at 15:12, billbarn42 wrote: > > > I've got a python script that is monitoring the playlist for our local > > public radio station, and tweeting when new tracks come up. It is > > using @wdav as the twitter ID (although that is not relevant to this > > question...) > > > I am using the twitter.py library to wrap the twitter api. > > > Runs fine on my local laptop, but when I deployed it to my hosted > > server I had to tell them anIPaddress it was posting to so they > > could implement a firewall rule to let the traffic through. I gave > > them 128.121.146.100, since that's what comes back from a ping to > > twitter.com. > > > The problem is that it seems the script is frequently trying to use > > otheripaddresses to reach twitter. Is there a range ofIPaddresses > > that might be valid Twitter endpoints, that I need to pass on to the > > hosted server admin team? > > > Any help greatly appreciated! > > > Bill > > -- > Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Re: Creating a "search" histogram
On Wed, Apr 29, 2009 at 8:57 AM, JoshL wrote: > > > Does anyone have a good suggestion for how to obtain the data needed > to know how many mentions of a specific term occured PER day over a > given time period, such as two years? Omniture's SiteCatalyst seems > to be doing it somehow. Can't be done right now, since there is nowhere near that much history in Twitter's search index. Even when there is, there will undoubtedly be an upper limit on results, which will prevent you from getting all the history for popular terms. However, if the data were available, the methodology would be fairly simple. You'd search on the terms and then iterate through the search results, counting unique mentions by day. I'll suggest that for most purposes, the number of unique people mentioning a term is more interesting than the number of mentions (I've done a lot of that kind of analysis). I guess there's another possibility - use Google, which has more history. e.g. http://www.google.com/search?hl=en&rlz=1C1CHMI_enUS291US307&q=site:twitter.com+%2Bego&btnG=Search For that term, there are about 56,000 results... but you can't get more than 10,000 results from Google. And you'd have to either parse the resulting pages to extract the status messages or just capture the screen names and use the Twitter APIs to get the statuses... fairly horrendous amount of work to get the data. For the sake of completeness, I'll note that you can get beyond 10,000 results from Google by excluding terms, but there are also daily limits to Google API queries. And... knowing that Twitter Trends is doing essentially the same thing over the short term, I would suspect that if there's a need for this, Twitter will eventually tackle it. Those who are doing it now must have captured the data earlier if they have a year's worth. Nick
[twitter-dev] Re: Clarifications on IP Address Whitelisting
Patrick, Yes. Each whitelisted IP address is allowed 2 requests per hour. I will clarify this point in the documentation. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Wed, Apr 29, 2009 at 7:43 AM, P Burrows wrote: > (s/b 100,000 total, not 120,000, my maths was broke.) > -- > Patrick Burrows > http://www.CleverHumans.com > > > On Wed, Apr 29, 2009 at 10:31 AM, P Burrows wrote: > >> I apologize if this question has already been answered in the archives. >> I've followed this list for a couple days and hadn't seen this specific >> question come up. >> >> My application has been white listed. In doing so, I specified a set of 5 >> IP addresses from which traffic from my application may come. TFM states >> [1]: >> >> we offer whitelisting which will raise an account or IP address' rate >> limit to 2 requests per hour. >> >> My understanding is that this means each of my 5 IP Addresses can make >> 20,000 unique API requests per hour (for a total of 120,000 API requests / >> hr as long as I write some sort of IP Address load balancing code.) But I >> have not seen that actually spelled out in so many words. Is my assumption >> correct? (my app is nowhere near that limit, but I am working on some >> capacity planning numbers.) >> If my assumption is correct, is there a further limit on the number of >> unique addresses my Application can have whitelisted? >> >> Also, is whitelisting limited to IPv4? I have not yet tried it with any >> IPv6 addresses. >> >> >> >> [1] http://apiwiki.twitter.com/Rate-limiting?SearchFor=white+list&sp=1 >> >> -- >> Patrick Burrows >> http://www.CleverHumans.com >> > >
[twitter-dev] Twitter Developer Directory
There has been a lot of interest in the Freelancer thread recently, to the point where our humble little page [1] will soon grow too large, even for the most confident [Ctrl+F] veteran. Is anyone working on a directory where developers can identify themselves? What about a wefollow.com-like directory for platform hackers? There is demand for API developers so there is a potential business here in helping API freelancers land contracts. 1. http://apiwiki.twitter.com/Developers Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw
[twitter-dev] Following or not or maybe...
If a user has protected updates, a call to /friendships/exists returns a 403. That, combined with an empty or inaccurate "following" value in the user data returned by the API means that there's no way for a client to get the current following status of a protected user. (It can't be inferred by the 403 error either: the requester may be following, but it might not have been approved by the person being queried.) >From what I can tell, the basic probem is that friendships really have three states now: following, not following and pending. It would be nice to have the /friendships/exists API method (or something similar) could provide this state so it can be represented correctly in a client application. -ch
[twitter-dev] Re: Twitter Developer Directory
We are actually re-doing twibs.com to have topical sub domains. Have good google traffic for a lot-of-things twitter. Id be happy to set up developers.twibs.com and add everyone. Our system allows you to describe, tag, etc and Google crawls it daily. Id be happy to do it, but would like to know if others are going to be doing the same thing, but if no one else is, Id love to take it over. On Wed, Apr 29, 2009 at 10:47 AM, Doug Williams wrote: > There has been a lot of interest in the Freelancer thread recently, to the > point where our humble little page [1] will soon grow too large, even for > the most confident [Ctrl+F] veteran. > > Is anyone working on a directory where developers can identify themselves? > What about a wefollow.com-like directory for platform hackers? There is > demand for API developers so there is a potential business here in helping > API freelancers land contracts. > > 1. http://apiwiki.twitter.com/Developers > > Thanks, > Doug > -- > > Doug Williams > Twitter Platform Support > http://twitter.com/dougw > > > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] page and since_id Parameters
I am requesting a friends time line through the api and the page and since_id parameters have not affect, I always get back the latest 20 statuses. I am using oAuth with a URL like http://twitter.com/statuses/friends_timeline.json?page=2&since_id=1649254235. Any ideas? Thanks
[twitter-dev] Re: Following or not or maybe...
Issue 532 [1] covers a friendships/mutual method that ameliorates what friendships/exists attempts to do. On paper this appears to be a good home for this information. Let me check with @al3x. 1. http://code.google.com/p/twitter-api/issues/detail?id=532 Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Wed, Apr 29, 2009 at 10:52 AM, Craig Hockenberry < craig.hockenbe...@gmail.com> wrote: > > If a user has protected updates, a call to /friendships/exists returns > a 403. That, combined with an empty or inaccurate "following" value in > the user data returned by the API means that there's no way for a > client to get the current following status of a protected user. > > (It can't be inferred by the 403 error either: the requester may be > following, but it might not have been approved by the person being > queried.) > > From what I can tell, the basic probem is that friendships really have > three states now: following, not following and pending. It would be > nice to have the /friendships/exists API method (or something similar) > could provide this state so it can be represented correctly in a > client application. > > -ch >
[twitter-dev] Re: users/show returning empty doc
Hi Dossy, I found the root cause of this accounts problem and deployed a fix yesterday afternoon. Thanks; – Matt Sanford / @mzsanford Twitter Dev On Apr 27, 2009, at 2:48 PM, Dossy Shiobara wrote: Requests for this user: http://twitter.com/users/show/18258394.xml ... simply returns the XML preamble. What gives? Server responds with HTTP 200 OK, and just: HALP! O HALP, PLEAS! -- 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)
[twitter-dev] Re: page and since_id Parameters
Hi Tom, The since_id limits the results to only those greater than you id, but it does not change the page size. Each page will contain 20 until you reach id 1649254235, when there will be no more results. Thanks; – Matt Sanford / @mzsanford Twitter Dev On Apr 29, 2009, at 11:03 AM, tomc wrote: I am requesting a friends time line through the api and the page and since_id parameters have not affect, I always get back the latest 20 statuses. I am using oAuth with a URL like http://twitter.com/statuses/friends_timeline.json?page=2&since_id=1649254235 . Any ideas? Thanks
[twitter-dev] Re: page and since_id Parameters
Thanks Matt, I just figured out that the wrapper I was using to call twitter was not passing those parameters properly. --- On Wed, 4/29/09, Matt Sanford wrote: From: Matt Sanford Subject: [twitter-dev] Re: page and since_id Parameters To: twitter-development-talk@googlegroups.com Date: Wednesday, April 29, 2009, 3:29 PM Hi Tom, The since_id limits the results to only those greater than you id, but it does not change the page size. Each page will contain 20 until you reach id 1649254235, when there will be no more results. Thanks; – Matt Sanford / @mzsanford Twitter Dev On Apr 29, 2009, at 11:03 AM, tomc wrote: > > I am requesting a friends time line through the api and the page and > since_id parameters have not affect, I always get back the latest 20 > statuses. I am using oAuth with a URL like > http://twitter.com/statuses/friends_timeline.json?page=2&since_id=1649254235. > Any ideas? > > Thanks
[twitter-dev] REST API Not quite following
Although our app gets expected (successful) responses from both https://twitter.com/friendships/create.xml?user_id= and https://twitter.com/friendships/create/.xml , Neither actually follows (creates a friendship) successfully. Has anyone any guidance here? Regards
[twitter-dev] Re: REST API Not quite following
On Wed, Apr 29, 2009 at 12:41 PM, CentralB-Dev wrote: > > Although our app gets expected (successful) responses from both > > https://twitter.com/friendships/create.xml?user_id= > and > https://twitter.com/friendships/create/.xml , > > Neither actually follows (creates a friendship) successfully. Are you sure that this isn't just a cache issue... how are you checking to see if the friendship exists? Did you check again after a while? Nick
[twitter-dev] Re: Specify Page Size on page enabled API Methods
Thanks for the suggestion. Count doesn't seem to have any affect for _/followers.xml. Cheers On Apr 28, 4:31 pm, Matt Sanford wrote: > Hi Dave, > > Take a look at the count parameter, like …/followers.json? > count=5. If raw data size is a problem you probably want to go with > the lighter weight JSON if you're not already. > > Thanks; > – Matt Sanford / @mzsanford > Twitter Dev > > On Apr 28, 2009, at 3:10 PM, devangel wrote: > > > > > Is there a way to specify the number of entries (page size) returned > > on a page of results? I'm calling statuses/followers and the response > > size to over 100K bytes which bumps up against one of the limits in my > > environment. > > > I see that I can specify the page I want, but it would be really > > useful to specify a page size - possibly above some minimum value and > > below some maximum value. > > > Thanks > > > Dave > >
[twitter-dev] Re: Twitter Developer Directory
Before anyone gets too hopped up on that idea, I haven't had an RFP yet that I'd have paid a fee or commission for, and I've had at least one where I've been shopped. That said ... if someone could solve the problem of worthwhile RFPs and genuine clients ... there's a business model there. But isn't that what oDesk and guru and all that are about? Thanks- - Andy Badera - and...@badera.us - Google me: http://www.google.com/search?q=andrew+badera On Wed, Apr 29, 2009 at 1:47 PM, Doug Williams wrote: > > There is demand for API developers so there is a potential business here in > helping API freelancers land contracts. > >
[twitter-dev] Re: users/show returning empty doc
Great news! Thanks, Matt. I'll let you know if there's any remaining. On 4/29/09 3:18 PM, Matt Sanford wrote: I found the root cause of this accounts problem and deployed a fix yesterday afternoon. On Apr 27, 2009, at 2:48 PM, Dossy Shiobara wrote: Requests for this user: http://twitter.com/users/show/18258394.xml ... simply returns the XML preamble. What gives? Server responds with HTTP 200 OK, and just: HALP! O HALP, PLEAS! -- 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)
[twitter-dev] Re: Seeing truncated XML responses again
What is the most efficient way to get screen_names for all of your followers (since, the social graph method returns a list of user_ids)? Thanks! -- Matt Smith http://twitter.com/smithworx
[twitter-dev] Re: Seeing truncated XML responses again
Matt, Page through the user objects that are returned with statuses/followers [1]. 1. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Wed, Apr 29, 2009 at 4:11 PM, Matt Smith wrote: > What is the most efficient way to get screen_names for all of your > followers (since, the social graph method returns a list of user_ids)? > > Thanks! > > -- > Matt Smith > http://twitter.com/smithworx > >
[twitter-dev] Re: Seeing truncated XML responses again
Operations is going to look in to this. It is apparently a known issue but very difficult to track down given the complexities of our architecture so expect the fix to take a while. For now, please make sure your application has logic to support this error case gracefully. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Wed, Apr 29, 2009 at 4:21 PM, Doug Williams wrote: > Matt, > Page through the user objects that are returned with statuses/followers > [1]. > > 1. > http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers > > Thanks, > Doug > > > Doug Williams | Platform Support | Twitter, Inc. > > 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw > > > > > On Wed, Apr 29, 2009 at 4:11 PM, Matt Smith wrote: > >> What is the most efficient way to get screen_names for all of your >> followers (since, the social graph method returns a list of user_ids)? >> >> Thanks! >> >> -- >> Matt Smith >> http://twitter.com/smithworx >> >> >
[twitter-dev] Re: Following or not or maybe...
Alex agreed this makes sense. I've added this requirement to the Issue 532. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Wed, Apr 29, 2009 at 12:18 PM, Doug Williams wrote: > Issue 532 [1] covers a friendships/mutual method that ameliorates what > friendships/exists attempts to do. On paper this appears to be a good home > for this information. Let me check with @al3x. > > 1. http://code.google.com/p/twitter-api/issues/detail?id=532 > > Thanks, > Doug > > > Doug Williams | Platform Support | Twitter, Inc. > > 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw > > > > > On Wed, Apr 29, 2009 at 10:52 AM, Craig Hockenberry < > craig.hockenbe...@gmail.com> wrote: > >> >> If a user has protected updates, a call to /friendships/exists returns >> a 403. That, combined with an empty or inaccurate "following" value in >> the user data returned by the API means that there's no way for a >> client to get the current following status of a protected user. >> >> (It can't be inferred by the 403 error either: the requester may be >> following, but it might not have been approved by the person being >> queried.) >> >> From what I can tell, the basic probem is that friendships really have >> three states now: following, not following and pending. It would be >> nice to have the /friendships/exists API method (or something similar) >> could provide this state so it can be represented correctly in a >> client application. >> >> -ch >> > >
[twitter-dev] Re: Seeing truncated XML responses again
On 4/29/09 8:22 PM, Doug Williams wrote: Operations is going to look in to this. It is apparently a known issue but very difficult to track down given the complexities of our architecture so expect the fix to take a while. For now, please make sure your application has logic to support this error case gracefully. Thanks, Matt. Anything I can do to help? Feel free to have them contact me directly if necessary. I'm fully versed in packet capture and analysis and I've been a sysadmin in various past lives. -- 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)
[twitter-dev] account/rate_limit_status API probrem
Hi. Is it only I that such a phenomenon occurs though remaining-hits of returning information seems not to be correct, and to differ from information that returns by the X-RateLimit-Remaining header about API of rate-limit-status? With this, I am embarrassed because it consumes API though there is a method of seeing the X-RateLimit-Remaining header when the method of limiting API is issued, too.
[twitter-dev] Re: Following or not or maybe...
On Apr 29, 10:52 am, Craig Hockenberry wrote: > If a user has protected updates, a call to /friendships/exists returns > a 403. That, combined with an empty or inaccurate "following" value in > the user data returned by the API means that there's no way for a > client to get the current following status of a protected user. I don't really understand why this call returns a 403 when statuses are protected. If you ignore "pending" for the moment (or throw it in with the "false" bucket), the follows/followed information is available through friends/ids and followers/ids, so I don't think the same information should be covered by the "protected" flag in this different call.
[twitter-dev] 500 errors using search API
I am getting frequent 500 errors when using the search api. This began at about 7pm Eastern today. The code I am using worked fine prior to that. Any advice or assistance would be appreciated.
[twitter-dev] Re: 417- Expectation failed error
Hi, I checked if expect header was still getting added and IT WAS! The below link helped me: http://topomorph.info/post/Finds-a-solution-to-the-Expect-continue-100-isue.aspx I changed the WebRequest to HttpWebRequest and the latter has a ServicePoint.Expect100Continue which needed to be set to 'false' and removed the System.Net.ServicePointManager.Expect100Continue = false. This solved my issue. Thanks for your help... :) On Apr 27, 9:33 pm, Abraham Williams <4bra...@gmail.com> wrote: > Try running your request through a Charles proxy to make sure the expect > header is not getting added. > > > > On Mon, Apr 27, 2009 at 01:18, sttester wrote: > > > Hi, > > > I am starting this as a new thread because I did not get any reply > > since 4 days in the below thread: > > >http://groups.google.com/group/twitter-development-talk/browse_thread... > > > The '417- Expectation failed error' occurs again for me while updating > > status. I am using the Yedda Twitter library. I have already added > > 'System.Net.ServicePointManager.Expect100Continue = false;' to my > > Posting function: > > > protected string ExecutePostCommand(string url, string userName, > > string password, string data) > > { > > > WebRequest request = WebRequest.Create(url); > > if (!string.IsNullOrEmpty(userName) && ! > > string.IsNullOrEmpty(password)) > > { > > request.Credentials = new NetworkCredential(userName, > > password); > > request.ContentType = "application/x-www-form- > > urlencoded"; > > request.Method = "POST"; > > System.Net.ServicePointManager.Expect100Continue = > > false; > > > etc etc. > > > I tried changing the position of > > 'System.Net.ServicePointManager.Expect100Continue = false;' to above > > the WebRequest object creation, but that also does n't help. > > > This occurs in random. Please help me out of this situation as this > > has been happening since a week now. > > > Thanks in advance > > -- > Abraham Williams |http://the.hackerconundrum.com > Hacker |http://abrah.am|http://twitter.com/abraham > Web608 | Community Evangelist |http://web608.org > This email is: [ ] blogable [x] ask first [ ] private. > Sent from Madison, WI, United States