[twitter-dev] Freelance Twitter API Dev directory?
Hi, can you please add me to the developers list: Nick Toumpelis Twitter: macsphere URL: http://www.canaryapp.com (will go live in a few days) Email: n...@toumpelis.me.uk Freelance developer with experience in Objective-C Cocoa, Java and .NET. Cheers, Nick Nick Toumpelis email: n...@toumpelis.me.uk twitter: macsphere
[twitter-dev] Re: Missing tweets in filter:links search
Hi, I have the same problem concerning links in tweets using the search function. The following links produce different results as you can see: http://search.twitter.com/search.atom?q=filter:links+from:_vg and http://search.twitter.com/search.atom?q=from:_vg+http They should return the same links, but they don't.
[twitter-dev] Re: TinyUrl and Twitter. Should I use it?
Checkout bit.ly, tr.im, is.gd, snurl.com, adjix.com -- They all have easy REST APIs and very helpful developers. You can shoot me an email (swhitley [at] whitleymedia [dot] com) if you'd like some sample C# code. On Mar 11, 4:14 am, shapper mdmo...@gmail.com wrote: Does anyone knows if there is a reliable C# library to generate bit.ly urls? Thanks, Miguel On Mar 11, 4:16 am, Steve Brunton sbrun...@gmail.com wrote: [top quoting is the debil] Another +1 for bit.ly. I was trying to do a tweet this for .com, but I couldn't work any ju-ju to get it to work the way I wanted. When OAuth is public (or out of private beta) I'll work on it again and use bit.ly to shorten the URL's back to the news story. -steve- Hide quoted text - - Show quoted text -
[twitter-dev] Re: Missing tweets in filter:links search
Stefan, Is this a similar report to the initial post's, or are you seeing additional unexpected behavior due to the from: filter? Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Mar 12, 2009 at 8:18 AM, Stefan Hueg h...@devworld.de wrote: Hi, I have the same problem concerning links in tweets using the search function. The following links produce different results as you can see: http://search.twitter.com/search.atom?q=filter:links+from:_vg and http://search.twitter.com/search.atom?q=from:_vg+http They should return the same links, but they don't.
[twitter-dev] Re: Inconsistencies b/t XML and JSON
Hi all, It looks like my long-awaited fix for some fundamental caching bugs is nearly ready to go to production. The code is done and reviewed by Alex so I'm only waiting on one more person and it will be ready to go. This change will fix a bunch of issues where following/ notifications are either missing or incorrect. Alex is also working on some code (http://twitter.com/al3x/status/1313993905) that will clean up even more issues. Hopefully that will fix these issues in the process. Thanks; — Matt Sanford On Mar 11, 2009, at 10:18 PM, dacort wrote: I'll definitely post if I come across more. It's usually just more of a Charlie Brown *augh* than a show-stopper by any means. And then like you said, it eventually sorts itself out. I did consider switching to XML as that always seems to be the cache copy that's up-to-date, but then realized I would have to update a variety of other things to deal with the proper data types. Thanks for the detail! dpc On Mar 11, 11:05 am, Alex Payne a...@twitter.com wrote: Snapshots in time of the XML output and JSON output are helpful. But I certainly believe that there could be such discrepancies. They tend to arise when our database replication lag increases. Some client requests UncachedUserA in XML, and those inaccurate counts get frozen in time until a cache invalidation event occurs. Then the replication lag sorts itself out, and someone requests UncachedUserB and sees the correct values. It's a very frustrating property of our system's architecture at the moment, but one we're working on solutions for. On Wed, Mar 11, 2009 at 10:09, Damon C d.lifehac...@gmail.com wrote: I've seen this from time-to-time before, but could never really pin it down to specific users or timeframes. In any case, I frequently see inconsistencies between the data in XML and JSON representations. The example I came across last night was with the ActiveRainMaker account. The caches have since caught up (un) fortunately, and I don't have another example. In this case, though, the XML had a friends_count of ~1800 while the JSON had a friends_count of ~800. I'm not really sure what else I can provide and I probably didn't post before b/c it just sounds like complaining. ;) Thanks! dpc -- Damon P. Cortesi Security Guy, Twitter Apps www. tweetstats | tweepsearch | tweetsum .com -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Re: Missing tweets in filter:links search
Hi there, Looking at the results it seems like filter:links is limiting the search time frame. There are some search operators (language and filter:links for example) that have to limit the amount of time they search to prevent them from timing out. Think of it like a table scan. I'll check with the person who added that restriction and see if it's something we can remove without causing massive HTP 500s (which is what you get when a query takes too long and we mark it as timed out). Thanks; — Matt Sanford On Mar 12, 2009, at 05:18 AM, Stefan Hueg wrote: Hi, I have the same problem concerning links in tweets using the search function. The following links produce different results as you can see: http://search.twitter.com/search.atom?q=filter:links+from:_vg and http://search.twitter.com/search.atom?q=from:_vg+http They should return the same links, but they don't.
[twitter-dev] Re: Missing tweets in filter:links search
I can confirm the limitation to seven days, so it's expected behaviour, but should be some kind of documented. Anyways it helpfs, thank you Matt. On 12 Mrz., 16:35, Matt Sanford m...@twitter.com wrote: Hi there, Search does not have as complicated a cacheing system as the main twitter API, so cache inconsistency is a rarity for us. Even when we do have it our longest expiration is less than one minute, so the problem is fixed usually before I can reproduce it (sometimes also a problem). I just double checked the code and it looks like my initial guess is the most likely culprit … if you use filter:links you are being limited only to the last 7 days, which is not the case with http. If you have an example where it looks like that's not the case let me know either here r off list and I can look into it. Thanks; — Matt Sanford On Mar 12, 2009, at 08:18 AM, Stefan Hueg wrote: It seems that the filter:links method uses a cached version, using a predefined threshold for how frequently a user is posting his tweets. It's not affected by how links are postet, e.g.http://www.url.tld orhttp://url.tld. The from:user http method seems to fetch the tweets non-cached. Could you verify that? On 12 Mrz., 15:52, Matt Sanford m...@twitter.com wrote: Hi there, Looking at the results it seems like filter:links is limiting the search time frame. There are some search operators (language and filter:links for example) that have to limit the amount of time they search to prevent them from timing out. Think of it like a table scan. I'll check with the person who added that restriction and see if it's something we can remove without causing massive HTP 500s (which is what you get when a query takes too long and we mark it as timed out). Thanks; — Matt Sanford On Mar 12, 2009, at 05:18 AM, Stefan Hueg wrote: Hi, I have the same problem concerning links in tweets using the search function. The following links produce different results as you can see: http://search.twitter.com/search.atom?q=filter:links+from:_vg and http://search.twitter.com/search.atom?q=from:_vg+http They should return the same links, but they don't.
[twitter-dev] Re: Freelance Twitter API Dev directory?
I'd like to be added to the list. Mike Matz URL: http://pixor.net/ Twitter: @pix0r Focus: Large-scale PHP web apps; iPhone software. Thanks.
[twitter-dev] Re: Freelance Twitter API Dev directory?
Is this a page somewhere on the web? sorry if I missed this. On Thu, Mar 12, 2009 at 9:09 AM, Mike Matz mike.m...@gmail.com wrote: I'd like to be added to the list. Mike Matz URL: http://pixor.net/ Twitter: @pix0r Focus: Large-scale PHP web apps; iPhone software. Thanks. -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Destroy ... What is the correct way?
Hello, I am posting tweets on my twitter account. Each tweet has a link to my web site. If a resource on my web site is deleted what should I do? 1. Delete all the tweets (new and old) that point to that resource; 2. Create a page on my web site that says the resource no longer exists when someone tries to access it. What is the correct way? Some of Twitter functionality still confuses me a little bit. Thanks, Miguel
[twitter-dev] Rate limit on querying RSS. Per user or all together?
Is the 100 request rate limit per IP address 100 per each user or 100 queries per address , even if it's 100 different users ?
[twitter-dev] Re: Destroy ... What is the correct way?
Miguel, That's a pretty open ended question since it depends on the resource, and what you want to do with the user visiting the deleted resource. You could throw a 301 Redirect [1] and send them to a new page with relevant material. or You could throw a 404 Not Found and explain that the page has been deleted. Either of these options is acceptable. I would suggest leaving the links in the tweets and use the opportunity to present other relevant material. Deleting the tweets seems like overkill. [1] - http://en.wikipedia.org/wiki/HTTP_301 Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Mar 12, 2009 at 12:55 PM, shapper mdmo...@gmail.com wrote: Hello, I am posting tweets on my twitter account. Each tweet has a link to my web site. If a resource on my web site is deleted what should I do? 1. Delete all the tweets (new and old) that point to that resource; 2. Create a page on my web site that says the resource no longer exists when someone tries to access it. What is the correct way? Some of Twitter functionality still confuses me a little bit. Thanks, Miguel
[twitter-dev] Re: getting replies to user if user is not following the replying user
On Wed, Mar 11, 2009 at 12:42 PM, Matt Sanford m...@twitter.com wrote: I think it does if you use: @user -to:user OH YAY! I've been trying to figure out how to do that. Thanks
[twitter-dev] Sequential API XML requests and cache
Hi, I'm the developer of TwitteReader and I have remade the architecture of the communication between the application's host and Twitter, via API. Example and objective: delete the status 123456 (that I own) and then load the last 20 friend_timeline messages. Before: 1. app calls host with statusID = 123456 2. host calls http://twitter.com/statuses/destroy/123456.xml 3. whether or not it is successful, it returns to the app with the output. 4. app calls host for last 20 messages 5. host calls http://twitter.com/statuses/friends_timeline.xml and might add page and count (max 20) 6. also returns with or without messages to the app with the call output. Now (testing): 1. app calls host with statusID = 123456 and reload request for last 20 messages 2. host calls http://twitter.com/statuses/destroy/123456.xml 3. host calls http://twitter.com/statuses/friends_timeline.xml 4. returns xml modified in the end : original xml + output from destroying Being this for destroying or updating. Thing is, I tested this and also with the version before and have been having inconclusive results of how the API and XML web service of Twitter works, so I can't know where, what I'm about to explain, fails. Using the new version (testing), if I'm at the TwitteReader interface reading and I click to delete a status (that I own), it follows the process I described above and returns a XML with the last 20 friend_timeline status where the one I just asked for deletion, should be gone. Thing is, most of the times, it happens to still be in the requested XML. After some more tests, I repeated the whole test but right after deleting the status message, I went to my twiiter.com/home (logged) with the same account and it wasn't there (the requested deleted status) and on TwittReader, the friends_timeline requested (XML) after deletion request, returns with that status (already deleted on twitter.com) visible. Only some time after, can't be precise but between 30 to 60 seconds (I think), the request of the XML (requested by a reload only), will be updated. I understand that it automatically disappears from the twitter.com/ home page as it accesses the DB directly and TwitteReader accesses it via API. What I want to know is if the API request via XML or other, sends cached versions so I can guarantee that it ain't my app design problem and can fix that problem on the client-side (doesn't displaying the request for deletion status message). As the destroy example, the update process, some times, suffers the same inconsistency when requesting the latest 20 messages after it. Long talk but I hope you understand it and also understand my English coming from a Portuguese. Thank you, mwm.
[twitter-dev] Re: Rate limit on querying RSS. Per user or all together?
Hi, Unauthenticated API calls are rate limited by IP address. Authenticated (meaning, you pass in user credentials) are limited by the user id. Whitelisted IP addresses are rate limited by their IP address, regardless of call type. Does that clear things up? Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Mar 12, 2009 at 12:59 PM, Kenefick keneficks...@gmail.com wrote: Is the 100 request rate limit per IP address 100 per each user or 100 queries per address , even if it's 100 different users ?
[twitter-dev] Pushing Twitter data into the clients
Hi there, I was wondering if it's possible to push data, rather than have the content pulled with JSON or XML fetches. You can poll after set amounts of time, but that only present the illusion of Push, and uses up bandwith. Also, is the API limit applied to POST requests? Lastly, has Twitter thought about implementing XMPP.
[twitter-dev] Re: Pushing Twitter data into the clients
Well, here are some good links behind XMPP: http://xmpp.org/ http://metajack.im/ (key XMPP advocate and founder of http://www.chesspark.com/ ) On Mar 12, 11:05 pm, Andrew Badera and...@badera.us wrote: What is this XMPP of which you speak? Tell us more! PS: Read the docs? FAQs? This list's archive? Used Google? Ever? On Thu, Mar 12, 2009 at 3:55 PM, Adrian spiritpo...@gmail.com wrote: Hi there, I was wondering if it's possible to push data, rather than have the content pulled with JSON or XML fetches. You can poll after set amounts of time, but that only present the illusion of Push, and uses up bandwith. Also, is the API limit applied to POST requests? Lastly, has Twitter thought about implementing XMPP.
[twitter-dev] Re: Freelance Twitter API Dev directory?
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.com http://twitterleague.com http://h1debate.com Thanks Ollie
[twitter-dev] Re: Pushing Twitter data into the clients
Please can we get a Twitter xmpp feed. If Twitter are not going to offer this can they allow GNIP to go live. GNIP say Twitter are not allowing them to offer the firehose via xmpp to developers. Why? Pull based polling is last year. Maybe at the least Twitter could offer a Long polling option like friendfeed to give a psuedo realtime feed Thanks in advance Sam W: www.twitblogs.com Sent from my iPhone On 12 Mar 2009, at 21:21, Alex Payne a...@twitter.com wrote: POST requests are unlimited. We used to support XMPP as an experimental feature, but we don't currently. Delivering push features at our scale is a challenge. We're currently making our traditional REST request/response APIs the best they can be. In the future, maybe we'll tackle push as well. In the medium term, select partners will be able to have tweets pushed to them over HTTP via our firehose mechanism. As Andrew suggested, there's been quite a lot of discussion on these topics in this group and elsewhere on the web. On Thu, Mar 12, 2009 at 13:55, Adrian spiritpo...@gmail.com wrote: Hi there, I was wondering if it's possible to push data, rather than have the content pulled with JSON or XML fetches. You can poll after set amounts of time, but that only present the illusion of Push, and uses up bandwith. Also, is the API limit applied to POST requests? Lastly, has Twitter thought about implementing XMPP. -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Friendship/Create produces this error: This method requires a POST.
I'm trying to write a function that will follow a user via the API using PHP/curl. I believe I have setup correctly using curl to POST to twitter, but I keep getting the following error: This method requires a POST.. Here is my code: $url = 'http://twitter.com/friendships/create/'.urlencode ($id).'.json'; $postargs = 'id='.urlencode($id); $ch = curl_init($url); curl_setopt ($ch, CURLOPT_POST, true); curl_setopt ($ch, CURLOPT_POSTFIELDS, $postargs); curl_setopt($ch, CURLOPT_USERPWD, $this-username.':'.$this- password); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERAGENT, $this-user_agent); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, $this-headers); $response = curl_exec($ch); $this-responseInfo=curl_getinfo($ch); curl_close($ch); All the values appear to be valid. I'm able to update my status using the above script (different url of course) and other actions, the only one I'm having trouble with right now is friendship/create. Am I missing a CURL opt?
[twitter-dev] Re: Friendship/Create produces this error: This method requires a POST.
Thanks for the reply. I tried with with a 1 instead of true and still no dice. On Mar 12, 5:25 pm, Chad Etzel jazzyc...@gmail.com wrote: Try instead: curl_setopt ($ch, CURLOPT_POST, 1); -Chad On Thu, Mar 12, 2009 at 7:21 PM, benr benrasmu...@gmail.com wrote: I'm trying to write a function that will follow a user via the API using PHP/curl. I believe I have setup correctly using curl to POST to twitter, but I keep getting the following error: This method requires a POST.. Here is my code: $url = 'http://twitter.com/friendships/create/'.urlencode ($id).'.json'; $postargs = 'id='.urlencode($id); $ch = curl_init($url); curl_setopt ($ch, CURLOPT_POST, true); curl_setopt ($ch, CURLOPT_POSTFIELDS, $postargs); curl_setopt($ch, CURLOPT_USERPWD, $this-username.':'.$this- password); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERAGENT, $this-user_agent); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, $this-headers); $response = curl_exec($ch); $this-responseInfo=curl_getinfo($ch); curl_close($ch); All the values appear to be valid. I'm able to update my status using the above script (different url of course) and other actions, the only one I'm having trouble with right now is friendship/create. Am I missing a CURL opt?
[twitter-dev] Re: Friendship/Create produces this error: This method requires a POST.
Hmm, here is the full code I use to create a friendship: $host = http://twitter.com/friendships/create/; . $userid . .json; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $from_username:$pass); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); curl_setopt($ch, CURLOPT_POST, 1); // Go for it!!! $result = curl_exec($ch); Most notable difference is that there are no POSTFIELDS to be sent in a friendship create request Try that out and see what happens? -Chad On Thu, Mar 12, 2009 at 7:30 PM, benr benrasmu...@gmail.com wrote: Thanks for the reply. I tried with with a 1 instead of true and still no dice. On Mar 12, 5:25 pm, Chad Etzel jazzyc...@gmail.com wrote: Try instead: curl_setopt ($ch, CURLOPT_POST, 1); -Chad - Show quoted text - On Thu, Mar 12, 2009 at 7:21 PM, benr benrasmu...@gmail.com wrote: I'm trying to write a function that will follow a user via the API using PHP/curl. I believe I have setup correctly using curl to POST to twitter, but I keep getting the following error: This method requires a POST.. Here is my code: $url = 'http://twitter.com/friendships/create/'.urlencode ($id).'.json'; $postargs = 'id='.urlencode($id); $ch = curl_init($url); curl_setopt ($ch, CURLOPT_POST, true); curl_setopt ($ch, CURLOPT_POSTFIELDS, $postargs); curl_setopt($ch, CURLOPT_USERPWD, $this-username.':'.$this- password); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERAGENT, $this-user_agent); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, $this-headers); $response = curl_exec($ch); $this-responseInfo=curl_getinfo($ch); curl_close($ch); All the values appear to be valid. I'm able to update my status using the above script (different url of course) and other actions, the only one I'm having trouble with right now is friendship/create. Am I missing a CURL opt?
[twitter-dev] Re: Pushing Twitter data into the clients
We're going to be offering exactly that (a long-polling firehose) to select partners to build on. Please see our FAQ for more information. Providing a realtime solution for the rest of the API is a lot more challenging than just hooking up XMPP. If the technology was there, we'd do it. But we've investigated and benchmarked, and it isn't. We also want to provide something with a lower barrier to entry when we're ready to go down that road. We understand that power users are very excited about realtime, but the majority of users and developers are still getting up to speed with Twitter's basic offerings. Accordingly, that's where our energies are at right now. On Thu, Mar 12, 2009 at 16:08, Sam Sethi samkse...@googlemail.com wrote: Please can we get a Twitter xmpp feed. If Twitter are not going to offer this can they allow GNIP to go live. GNIP say Twitter are not allowing them to offer the firehose via xmpp to developers. Why? Pull based polling is last year. Maybe at the least Twitter could offer a Long polling option like friendfeed to give a psuedo realtime feed Thanks in advance Sam W: www.twitblogs.com Sent from my iPhone On 12 Mar 2009, at 21:21, Alex Payne a...@twitter.com wrote: POST requests are unlimited. We used to support XMPP as an experimental feature, but we don't currently. Delivering push features at our scale is a challenge. We're currently making our traditional REST request/response APIs the best they can be. In the future, maybe we'll tackle push as well. In the medium term, select partners will be able to have tweets pushed to them over HTTP via our firehose mechanism. As Andrew suggested, there's been quite a lot of discussion on these topics in this group and elsewhere on the web. On Thu, Mar 12, 2009 at 13:55, Adrian spiritpo...@gmail.com wrote: Hi there, I was wondering if it's possible to push data, rather than have the content pulled with JSON or XML fetches. You can poll after set amounts of time, but that only present the illusion of Push, and uses up bandwith. Also, is the API limit applied to POST requests? Lastly, has Twitter thought about implementing XMPP. -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Re: Pushing Twitter data into the clients
I actually hopped on to request a stopgap feature in a similar vein and saw this thread so I thought I'd add kind of a free-associative reply. You know, thinking out-loud. I think the biggest problem with push is that polling is too ingrained into Twitter's architecture to be able to bolt-on push tech without it being more expensive than the current pull methods. Picture the current architecture, back-end MySql, http server, and memory cache. When a user posts a tweet it gets written to cache and persisted to the DB, where is the hook for someone that wants to be pushed that tweet? An interested party needs to be constantly checking the cache/DB for changes in order to see any. In order to bolt push onto such an architecture would require some shim layer to do a sort of tight polling loop to see new updates and then push those updates to the waiting client. Until Twitter's architecture treats the data like what it actually is -- a stream of messages -- at all levels, it won't be able to provide efficiently provide push functionality without the current giant firehose with a filter method Once twitter has designed and implemented their tweet-router(tm) it will be quite easy for clients to register as endpoints and it will be much much cheaper infrastructure-wise than polling currently is. Really, this problem has been solved in software and in hardware by many companies since before Ethernet. Tell me why distributing a tweet is much different than a multicast TCP/IP message? The database is an endpoint connected to the tweet-router and just persists messages and still serves a pull REST api for the initial client cache-charge or web page display. An incoming message's from-user-id could be used as a multicast address and be routed quite efficiently to any connected client endpoint listening to that address. If the firehose is a hub with a giant broadcast domain, then tweet-router is a router behind a switch. Maybe thats silly but its what I've been thinking about. Josh Alex Payne wrote: We're going to be offering exactly that (a long-polling firehose) to select partners to build on. Please see our FAQ for more information. Providing a realtime solution for the rest of the API is a lot more challenging than just hooking up XMPP. If the technology was there, we'd do it. But we've investigated and benchmarked, and it isn't. We also want to provide something with a lower barrier to entry when we're ready to go down that road. We understand that power users are very excited about realtime, but the majority of users and developers are still getting up to speed with Twitter's basic offerings. Accordingly, that's where our energies are at right now. On Thu, Mar 12, 2009 at 16:08, Sam Sethi samkse...@googlemail.com wrote: Please can we get a Twitter xmpp feed. If Twitter are not going to offer this can they allow GNIP to go live. GNIP say Twitter are not allowing them to offer the firehose via xmpp to developers. Why? Pull based polling is last year. Maybe at the least Twitter could offer a Long polling option like friendfeed to give a psuedo realtime feed Thanks in advance Sam W: www.twitblogs.com Sent from my iPhone On 12 Mar 2009, at 21:21, Alex Payne a...@twitter.com wrote: POST requests are unlimited. We used to support XMPP as an experimental feature, but we don't currently. Delivering push features at our scale is a challenge. We're currently making our traditional REST request/response APIs the best they can be. In the future, maybe we'll tackle push as well. In the medium term, select partners will be able to have tweets pushed to them over HTTP via our firehose mechanism. As Andrew suggested, there's been quite a lot of discussion on these topics in this group and elsewhere on the web. On Thu, Mar 12, 2009 at 13:55, Adrian spiritpo...@gmail.com wrote: Hi there, I was wondering if it's possible to push data, rather than have the content pulled with JSON or XML fetches. You can poll after set amounts of time, but that only present the illusion of Push, and uses up bandwith. Also, is the API limit applied to POST requests? Lastly, has Twitter thought about implementing XMPP. -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Batch Request
This message doesn't seem to come in correctly from my mail app so I'll post this here via the web: And now something perhaps a little more sane and do-able. It would be very useful to have a batch request API that would allow requesting multiple datasets simultaneously. Something like this: http://twitter.com/batch_request.xml?friend_timeline_since_id=2345replies_since_id=5366direct_messages_since_id=45858 And this would return the data in the same format as the current REST api for the individual feeds but in a top-level container: batch_reply friends_timeline status.../status status.../status status.../status status.../status /friends_timeline replies status.../status status.../status /replies direct_messages direct_message.../direct_message direct_message.../direct_message direct_message.../direct_message /direct_messages /batch_reply This would probably mostly benefit client applications as it would allow us to consolidate 3 requests into one, allowing us to poll more often for these pieces of data that people are interested in as being the most real-time. I think this would be a great candidate for fast-track implementation as it could sit on top of whatever internal code serves the existing feeds just adding the wrapper before returning the data. Also, it would be at new URI so it would not be changing existing interfaces for current applications. Josh
[twitter-dev] Batch Request
And now something perhaps a little more sane and do-able. It would be very useful to have a batch request API that would allow requesting multiple datasets simultaneously. Something like this: http://twitter.com/batch_request.xml?friend_timeline_since_id=2345replies_since_id=5366direct_messages_since_id=45858 And this would return the data in the same format as the current REST api for the individual feeds but in a top-level container: batch_reply friends_timeline status.../status status.../status status.../status status.../status /friends_timeline direct_messages direct_message.../direct_message direct_message.../direct_message direct_message.../direct_message /direct_messages /batch_reply
[twitter-dev] Twitter post within Blogger's blog?
Hi, Is there any twitter api, tools or widget plugin that I can use to post within my blogger blog? I've been trying to search around for these. Hope you guys have any ideas on these. Thank you Best Regards, Rafi http://igooglefriends.blogspot.com
[twitter-dev] Re: Beginner's rate limit question...
Thanks Cameron! That's just what I needed to know. Regards, Jay On Mar 11, 12:01 am, Cameron Kaiser spec...@floodgap.com wrote: I have been trying to figure out exactly how therate limits work, and after having spent a few hours browsing through the development talk, I am still a little fuzzy. If a website logs in to 200 user accounts in an hour, and then inside these user accounts adds a few new friends, will theratelimit of 100 be exceeded for the webserver's ip address? If the accesses are authenticated, then they are charged to the authenticating user, and not the IP address. Each user gets 100 accesses regardless of the IP they come from. If the accesses are unauthenticated, then the accesses are charged to the IP address, and that IP address gets 100 unauthenticated accesses. -- personal:http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- The superfluous is very necessary. -- Voltaire -
[twitter-dev] Re: How to change Source name to Client tool Source?
After it has been approved, do we need to add source parameter to all twitter status updates? Or does twitter do it automatically? On Mar 12, 1:45 am, Cameron Kaiser spec...@floodgap.com wrote: You probably missed it the same way i missed it. The term Twitter uses is not what my mind assumed it would be. I googled Custom Twitter Client Name and Change Twitter Client Name and Twitter Client Name and nothing came up... I forget what finally brought me to this page. And the part in the Twitter docs is How do I get _from [MyApp]_ which is like documentation but not human friendly :) Oh, I don't know, just fill out this handy form[1] seems pretty straightforward to me. :-P [1]http://twitter.com/help/request_source -- personal:http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- FOOLS! I WILL DESTROY YOU ALL! ASK ME HOW! -- Girl Genius 8/29/07
[twitter-dev] Re: How to change Source name to Client tool Source?
Ricky, For updates to reflect that your application was the source, you must indicate this with each request. Include a parameter named source with a value equal to the key supplied to Twitter during registration so we know the update comes from your application. Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Mar 12, 2009 at 10:24 PM, Ricky rbok...@gmail.com wrote: After it has been approved, do we need to add source parameter to all twitter status updates? Or does twitter do it automatically? On Mar 12, 1:45 am, Cameron Kaiser spec...@floodgap.com wrote: You probably missed it the same way i missed it. The term Twitter uses is not what my mind assumed it would be. I googled Custom Twitter Client Name and Change Twitter Client Name and Twitter Client Name and nothing came up... I forget what finally brought me to this page. And the part in the Twitter docs is How do I get _from [MyApp]_ which is like documentation but not human friendly :) Oh, I don't know, just fill out this handy form[1] seems pretty straightforward to me. :-P [1]http://twitter.com/help/request_source -- personal: http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- FOOLS! I WILL DESTROY YOU ALL! ASK ME HOW! -- Girl Genius 8/29/07
[twitter-dev] Re: Twitter post within Blogger's blog?
Ah, so do you own/run http://igooglefriends.blogspot.com ? Any particular reason you are piping in the twitter dev mailing list as posts there? I love trying to read the 1 post per page amidst a metric ton of ads... -chad On Thu, Mar 12, 2009 at 10:17 PM, Mohd Rafi egro...@gmail.com wrote: Hi, Is there any twitter api, tools or widget plugin that I can use to post within my blogger blog? I've been trying to search around for these. Hope you guys have any ideas on these. Thank you Best Regards, Rafi http://igooglefriends.blogspot.com
[twitter-dev] Re: Twitter post within Blogger's blog?
O_o http://www.flickr.com/photos/4braham/3350927194/ On Thu, Mar 12, 2009 at 23:17, Chad Etzel jazzyc...@gmail.com wrote: Ah, so do you own/run http://igooglefriends.blogspot.com ? Any particular reason you are piping in the twitter dev mailing list as posts there? I love trying to read the 1 post per page amidst a metric ton of ads... -chad On Thu, Mar 12, 2009 at 10:17 PM, Mohd Rafi egro...@gmail.com wrote: Hi, Is there any twitter api, tools or widget plugin that I can use to post within my blogger blog? I've been trying to search around for these. Hope you guys have any ideas on these. Thank you Best Regards, Rafi http://igooglefriends.blogspot.com -- Abraham Williams | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: Twitter post within Blogger's blog?
ZOMG RECURSIVE INTERWEBS! On Thu, Mar 12, 2009 at 11:29 PM, Abraham Williams 4bra...@gmail.com wrote: O_o http://www.flickr.com/photos/4braham/3350927194/ - Show quoted text - On Thu, Mar 12, 2009 at 23:17, Chad Etzel jazzyc...@gmail.com wrote: Ah, so do you own/run http://igooglefriends.blogspot.com ? Any particular reason you are piping in the twitter dev mailing list as posts there? I love trying to read the 1 post per page amidst a metric ton of ads... -chad On Thu, Mar 12, 2009 at 10:17 PM, Mohd Rafi egro...@gmail.com wrote: Hi, Is there any twitter api, tools or widget plugin that I can use to post within my blogger blog? I've been trying to search around for these. Hope you guys have any ideas on these. Thank you Best Regards, Rafi http://igooglefriends.blogspot.com -- Abraham Williams | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: Batch Request
I'd like to second this request. It'd be more than reasonable for the example above to count as 3 marks against the rate limit, the only difference would be that there's a single round-trip to the twitter servers rather than 3 (would save a bit of overhead on your end too). This makes a ton of sense for mobile apps. Network latency is huge, but once a connection gets going it's best to transfer as much data in one chunk as possible. Not critical, just would be really nice to have :) Loren On Mar 12, 6:33 pm, Joshua Perry j...@6bit.com wrote: Well, I accidentally sent that message so let me finish here... batch_reply friends_timeline status.../status status.../status status.../status status.../status /friends_timeline replies status.../status status.../status /replies direct_messages direct_message.../direct_message direct_message.../direct_message direct_message.../direct_message /direct_messages /batch_reply This would probably mostly benefit client applications as it would allow us to consolidate 3 requests into one, allowing us to poll more often for these pieces of data that people are interested in as being the most real-time. I think this would be a great candidate for fast-track implementation as it could sit on top of whatever internal code serves the existing feeds just adding the wrapper before returning the data. Also, it would be at new URI so it would not be changing existing interfaces for current applications. Josh Joshua Perry wrote: And now something perhaps a little more sane and do-able. It would be very useful to have a batch request API that would allow requesting multiple datasets simultaneously. Something like this: http://twitter.com/batch_request.xml?friend_timeline_since_id=2345re... And this would return the data in the same format as the current REST api for the individual feeds but in a top-level container: batch_reply friends_timeline status.../status status.../status status.../status status.../status /friends_timeline direct_messages direct_message.../direct_message direct_message.../direct_message direct_message.../direct_message /direct_messages /batch_reply