[twitter-dev] Re: API X-RateLimit-Remaining goes to 0 on our first request after midnight
This happened again at midnight of the 16th. The last request I made on the 15th was at 11:59:15 PM with a reset of 12:27:54 AM and a remaining of 144. The next request I made was at 12:19:15 AM with the same reset and a remaining of 0. The next successful request I made was at 12:29:15 AM. Is there a better place I should be posting this? Like some sort of bug tracking application rather than just a development talk? -Zach -- 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] Use of OAuth in Xcode to use twitter API
Try MGTwitterEngine, which is an all-rounded solution, that also supports oAuth if I recall correctly. Or write your own library. :) Evadne On Jan 17, 2011, at 14:06, sangeeta katvate wrote: Hello, For using OAuth consumer key, consumer secret etc. do we have to use OAuth Library. If so, then from where can i get this library. From Sangeeta -- 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 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] Incorrect signature
When making a base string, you put POST variables, HTTP query parameters, and oAuth parameters all in the bucket, sort them alphabetically, and encode all of them. So, the count needs to be in the base string (if I am recalling correctly). Personally finding http://quonos.nl/oauthTester very helpful. Evadne On Jan 17, 2011, at 03:10, Thomas wrote: Hello, I am trying to get the recent mentions with the twitter api but it returns the error Incorrect signature. Here's my PHP code: ?php $time = time() + 10800; $target = urlencode(http://api.twitter.com/1/statuses/mentions.xml? count=20); $oauth_consumer_key = urlencode(); $oauth_nonce = urlencode(sha1($time)); $oauth_signature_method = urlencode(HMAC-SHA1); $oauth_token = urlencode(); $oauth_time = $time; $oauth_version = urlencode(1.0); $result = GET$targetoauth_consumer_key%3D$oauth_consumer_key %26oauth_nonce%3D$oauth_nonce%26oauth_signature_method%3D $oauth_signature_method%26oauth_timestamp%3D$oauth_time%26oauth_token %3D$oauth_token%26oauth_version%3D$oauth_version; $consumer_token_secret = urlencode(); $oauth_token_secret = urlencode(); $combine = $consumer_token_secret$oauth_token_secret; $signature = urlencode(base64_encode(hash_hmac(sha1, $result, $combine, true))); $auth = OAuth oauth_nonce=\$oauth_nonce\, oauth_signature_method= \$oauth_signature_method\, oauth_timestamp=\$oauth_time\, oauth_consumer_key=\$oauth_consumer_key\, oauth_token=\$oauth_token \, oauth_signature=\$signature\, oauth_version=\$oauth_version\; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, http://api.twitter.com/1/statuses/ mentions.xml?count=20); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($curl, CURLOPT_HTTPHEADER, array(Authorization: $auth)); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $signature); $result = curl_exec($curl); echo $result; ? Am I not generating the signature correctly? -- 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 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] Whitelisted on Twitter
Hey guys We're integrating Twitter into our project, and after looking into whitelisting, it looks like the max calls an hour is 20,000. While that MIGHT be enough for us, we're worried that we will come to close to that number during initial launch of our product. Is there a contact number out there where I can call Twitter and talk to them directly? It seems almost impossible to find something for them. I'd love to boost the 20,000 to maybe 30,000 if possible. Anyone have any thoughts? -- 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] is streaming API read-only?
Hi, I have an impression that streaming API (for example, user stream API) is read-only. I can obtain statuses but I won't be able to update, such as add follows to a user account. Is it correct? Thanks, Gary -- 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: Is there documents about the values returned by the API?
Hi, On 1月17日, 午前2:28, Piers Karsenbarg em...@piersonthe.net wrote: Someone might correct me here, but I think that's the old documentation. Tryhttp://Dec.twitter.com/docinstead. dev.twitter.com ? I can't find documents that correspond to http://apiwiki.twitter.com/w/page/22554664/Return-Values in http://dev.twitter.com . Do you know where? Thanks. -- 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] is streaming API read-only?
Yes, that is correct. The HTTP protocol does not really allow two-way communication. You should use the normal API instead. Tom On 1/17/11 9:19 PM, Gary Ma wrote: Hi, I have an impression that streaming API (for example, user stream API) is read-only. I can obtain statuses but I won't be able to update, such as add follows to a user account. Is it correct? Thanks, Gary -- 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 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] is streaming API read-only?
For making changes to user accounts and posting tweets you need to use the REST API. http://dev.twitter.com/doc On Mon, Jan 17, 2011 at 3:19 PM, Gary Ma gang...@gmail.com wrote: Hi, I have an impression that streaming API (for example, user stream API) is read-only. I can obtain statuses but I won't be able to update, such as add follows to a user account. Is it correct? Thanks, Gary -- 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 -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- 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: Is there documents about the values returned by the API?
I don't think that exists any more. If you want to know what json response you're going to get, I suggest playing around with https://github.com/abraham/twitteroauth and taking a look at the responses there. Piers On Tue, Jan 18, 2011 at 2:14 AM, AmaiSaeta amaisa...@gmail.com wrote: Hi, On 1月17日, 午前2:28, Piers Karsenbarg em...@piersonthe.net wrote: Someone might correct me here, but I think that's the old documentation. Tryhttp://Dec.twitter.com/docinstead. dev.twitter.com ? I can't find documents that correspond to http://apiwiki.twitter.com/w/page/22554664/Return-Values in http://dev.twitter.com . Do you know where? Thanks. -- 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 -- Piers Karsenbarg E: em...@piersonthe.net T: +44 (0)7950734022 W: http://piersonthe.net http://piersonthe.netB: http://blog.piersonthe.net TW: @pierskarsenbarg -- 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: API X-RateLimit-Remaining goes to 0 on our first request after midnight
Hi Zach, This sounds strange. I'll look into this. You can file this as a bug if you like at http://code.google.com/p/twitter-api/ First a few more diagnostic questions: Are you on a shared network at all? Is your IP address dedicated to your operations alone? Is this IP address used for any other family/co-worker/etc. computing? What specific API methods are you calling? Are you passing authentication credentials at all? Are there any other programs running on the server? What language/libraries are you using? Thanks, Taylor On Mon, Jan 17, 2011 at 7:08 AM, Zach Gardner z.gard...@hotmail.com wrote: This happened again at midnight of the 16th. The last request I made on the 15th was at 11:59:15 PM with a reset of 12:27:54 AM and a remaining of 144. The next request I made was at 12:19:15 AM with the same reset and a remaining of 0. The next successful request I made was at 12:29:15 AM. Is there a better place I should be posting this? Like some sort of bug tracking application rather than just a development talk? -Zach -- 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 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: Is there documents about the values returned by the API?
I'd like us to do better on documenting all the various fields of the API. A lot of fields make sense if you've used Twitter for a long time, but that's not very useful if you're new to Twitter or new to the platform. In these interests I've set up a tiny wiki on Github for crowdsourcing some of the field definitions. I've started with some of the more basic fields attached to status updates: http://bit.ly/twitter-api-fields I'll fill in fields throughout the next several days as time allows, but would love it if anyone who felt passionate about defining these fields would help out -- many of you know them better than I do. After a bit of time, collection, editing, I'll get these put onto dev.twitter.com and credit all the contributors, and we'll see how this process goes. The wiki only requires a Github account to edit. Right now the thought is to group wiki pages into each kind of resource: * statuses/tweets * users * places * entities * etc For some further reference, you can check out Raffi's great anatomy of tweet though it is somewhat outdated now: http://mehack.com/map-of-a-twitter-status-object Thanks! Taylor On Tue, Jan 18, 2011 at 7:09 AM, Piers Karsenbarg em...@piersonthe.netwrote: I don't think that exists any more. If you want to know what json response you're going to get, I suggest playing around with https://github.com/abraham/twitteroauth and taking a look at the responses there. Piers On Tue, Jan 18, 2011 at 2:14 AM, AmaiSaeta amaisa...@gmail.com wrote: Hi, On 1月17日, 午前2:28, Piers Karsenbarg em...@piersonthe.net wrote: Someone might correct me here, but I think that's the old documentation. Tryhttp://Dec.twitter.com/docinstead. dev.twitter.com ? I can't find documents that correspond to http://apiwiki.twitter.com/w/page/22554664/Return-Values in http://dev.twitter.com . Do you know where? Thanks. -- 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 -- Piers Karsenbarg E: em...@piersonthe.net T: +44 (0)7950734022 W: http://piersonthe.net http://piersonthe.netB: http://blog.piersonthe.net TW: @pierskarsenbarg -- 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 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] Whitelisted on Twitter
On Mon, 17 Jan 2011 10:57:07 -0800 (PST), Mike Jodon mjo...@agoragames.com wrote: Hey guys We're integrating Twitter into our project, and after looking into whitelisting, it looks like the max calls an hour is 20,000. While that MIGHT be enough for us, we're worried that we will come to close to that number during initial launch of our product. Is there a contact number out there where I can call Twitter and talk to them directly? It seems almost impossible to find something for them. I'd love to boost the 20,000 to maybe 30,000 if possible. Anyone have any thoughts? I can't help you with the business negotiations with Twitter, but is it possible your application could use the Streaming API for high-frequency access to Twitter? Between User Streams (desktops) and Site Streams (multi-user subscription servers) it's possible to do almost anything you can do with the other APIs. -- http://twitter.com/znmeb http://borasky-research.net A mathematician is a device for turning coffee into theorems. -- Paul Erdős -- 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] tweet location information
HI, On this page, http://www.nytimes.com/interactive/2009/02/02/sports/20090202_superbowl_twitter.html?scp=1sq=twitter%20baseball%20mapst=cse Do you know what kind of information are they using to locate the tweets? To be specific, there are many tags about location information. Thanks -- 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] tweet location information
Hi, I don't understand very well your last question about many tags, but using the Search API or Streaming API it's possible to identify the location of a tweets, the location of a user and/or search for multiple tags at same time, since the default binary operator between the tags is OR. Cheers. On Tue, Jan 18, 2011 at 3:19 PM, Zhe Chen chenzhe@gmail.com wrote: HI, On this page, http://www.nytimes.com/interactive/2009/02/02/sports/20090202_superbowl_twitter.html?scp=1sq=twitter%20baseball%20mapst=cse Do you know what kind of information are they using to locate the tweets? To be specific, there are many tags about location information. Thanks -- 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 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: Why does the search.twitter.com app (mzs) keep asking for permission?
Hi Peter, This is due to a small bug with certain kinds of accounts and @Anywhere's hovercards. If you want to avoid this bug, I recommend using the search UI on #newtwitter instead at http://twitter.com/#!/search-home Taylor On Jan 17, 11:22 am, Peter Boctor pe...@boctor.net wrote: On search.twitter.com (on the desktop), I regularly hover over the names of users to see more about them. But even though I've previously authorized the search.twitter.com app, I keep getting asked again to approve the connection. Here is a screenshot of my current connections:http://twitpic.com/3qye6o If the Search - mzs app is already approved, why am I asked again to approve it?http://twitpic.com/3qyeam Thanks, Peter -- 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: Why does the search.twitter.com app (mzs) keep asking for permission?
Thanks Taylor. Glad to know that it is a known issue. I'll use the search UI on the #newtwitter. Peter On Jan 18, 10:43 am, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Peter, This is due to a small bug with certain kinds of accounts and @Anywhere's hovercards. If you want to avoid this bug, I recommend using the search UI on #newtwitter instead athttp://twitter.com/#!/search-home Taylor On Jan 17, 11:22 am, Peter Boctor pe...@boctor.net wrote: On search.twitter.com (on the desktop), I regularly hover over the names of users to see more about them. But even though I've previously authorized the search.twitter.com app, I keep getting asked again to approve the connection. Here is a screenshot of my current connections:http://twitpic.com/3qye6o If the Search - mzs app is already approved, why am I asked again to approve it?http://twitpic.com/3qyeam Thanks, Peter -- 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] Streaming Unfollow events through Site Streams
Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- 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] Streaming Unfollow events through Site Streams
On Tue, 18 Jan 2011 12:14:41 -0800, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms [1] ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { }, event: unfollow, source: { }, } } Best, @themattharrisDeveloper Advocate, Twitter http://twitter.com/themattharris [2] -- Twitter developer documentation and resources: http://dev.twitter.com/doc [3] API updates via Twitter: http://twitter.com/twitterapi [4] Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list [5] Change your membership to this group: http://groups.google.com/group/twitter-development-talk [6] Links: -- [1] http://dev.twitter.com/pages/api_terms [2] http://twitter.com/themattharris [3] http://dev.twitter.com/doc [4] http://twitter.com/twitterapi [5] http://code.google.com/p/twitter-api/issues/list [6] http://groups.google.com/group/twitter-development-talk Can this also be added to User Streams? -- http://twitter.com/znmeb http://borasky-research.net A mathematician is a device for turning coffee into theorems. -- Paul Erdős -- 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] stream_socket_client with STREAM_CLIENT_ASYNC_CONNECT yields 401
The Phirehose library for PHP and the Twitter Streaming API is well tested and widely used. I'd start by looking at their code. -John On Sun, Jan 16, 2011 at 12:18 PM, webjay jacob.saxb...@gmail.com wrote: I should probably ask in a Php group, but I'll try here first, in case it's Twitter related. When I connect with stream_socket_client('tcp://stream.twitter.com:443') I get a 401 unauthorized error immediately. If I use fopen('https://stream.twitter.com/1/statuses/sample.json') I get a connection. The reason I would like to use stream_socket_client is to be able to use STREAM_CLIENT_ASYNC_CONNECT. Is this not possible? -- 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 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] W3C Validator Errors and Tweet Button
Hi Murray, This was discussed not so long ago in another thread which you can find here: http://groups.google.com/group/twitter-development-talk/msg/3422529031509f31 Hope that answers your question, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sat, Jan 15, 2011 at 11:18 AM, Murray Smith ad...@eastwestenviro.comwrote: We're adding the Tweet Button to our test web page ( http://www.plentyofforestryjobs.com/00_fj_index.html ) and are receiving the following errors from the W3C Validator ( http://validator.w3.org ): *Line 178, Column 82*: there is no attribute data-url *Line 178, Column 141*: there is no attribute data-text *Line 178, Column 206*: there is no attribute data-count *Line 178, Column 228*: there is no attribute data-via Our Twitter code is: a href=http://twitter.com/share class=twitter-share-button data-url= http://www.plentyofforestryjobs.com/index.html; data-text=Check out the new job at Plenty of Forestry Jobs™ ! data-count=horizontal data-via=PFJForestryJobsTweet/ascript type=text/javascript src= http://platform.twitter.com/widgets.js;/script How do we resolve these errors? Thanks in advance! -- 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 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] Getting twitter user through email address
Hi Ran, The users email address is not made available through the Twitter APIs. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sat, Jan 15, 2011 at 1:44 AM, Ran Margaliot ran5...@gmail.com wrote: Hello, is it possible, using the twitter api, to get a twitter user through his email - searching for user by email? i know that the user/ show method was able to do it, but now the email parameter has been deprecated. any thoughts? -- 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 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] Regarding basic authentication problem
Hi, Basic Authentication is not supported on the REST API and instead you must authenticate using OAuth. You can find more information about migrating from Basic to OAuth on our developer resources site: http://dev.twitter.com/pages/basic_to_oauth Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sat, Jan 15, 2011 at 12:50 AM, sangeeta katsange...@gmail.com wrote: hello, I have generated an application in xcode for iphones which uses twitter API, is giving basic authentication not supported error. can you pliz help me? -- 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 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] No user matches for specified
Hello, I am trying to use lookupUsers(int[]) but occasionally I receive the following exception: 404:The URI requested is invalid or the resource requested, such as a user, does not exists. {errors:[{code:17,message:No user matches for specified terms}]} TwitterException{exceptionCode=[47354327-0118689f], statusCode=404, retryAfter=0, rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=167, hourlyLimit=350, resetTimeInSeconds=1295247, secondsUntilReset=1658, resetTime=Mon Jan 17 07:01:03 UTC 2011}, version=2.1.7} at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java: 311) at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java: 72) at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java: 86) at twitter4j.Twitter.lookupUsers(Twitter.java:614) The two questions I have are: 1.) Does this mean that the whole batch failed? 2.) How can I get information which user actually fails the call? Thank you very much for the help. ToddySM -- 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: Incorrect signature
I just tried using time() without adding 3 hours and I get this error: Timestamp out of bounds So I believe adding 3 hours is the right thing to do. On Jan 17, 9:36 pm, Yusuke Yamamoto yus...@mac.com wrote: Hi, time() returns epoch time which is an absolute value, and you don't need to consider timezones.http://php.net/manual/en/function.time.php -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on :http://twitter.com/yusukeyamamoto subscribe me at :http://samuraism.jp/ On Jan 18, 2011, at 13:56 , Thomas wrote: My servers default time is PST but twitters time is EST I believe so that's why I added 3 hours. On Jan 17, 4:35 pm, @epc epcoste...@gmail.com wrote: On Jan 16, 2:10 pm, Thomas thomasrei...@gmail.com wrote: ?php $time = time() + 10800; Why are you setting the timestamp for 3 hours in the future? oAuth/twitter are very picky about the time being close to accurate, being 3 hours off is definitely one potential problem with your code. -- -ed costello -- 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 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] No user matches for specified
Hi Toddy, The users/lookup method, which lookupUsers calls, will only return that error if none of the user_ids/screen_names you provide are recognised. The behavior of the API method is such that only the recognised user_ids/screen_names are returned and any which are not found are left out of the response. As this method is a lookup by user_id or screen_name you can compare the returned user_ids/screen_names with the ones you queried for. Those that are missing from the response were not found in our user database. You can find more information on the method in our developer documentation: http://dev.twitter.com/doc/get/users/lookup Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 18, 2011 at 4:00 PM, ToddySM todd...@gmail.com wrote: Hello, I am trying to use lookupUsers(int[]) but occasionally I receive the following exception: 404:The URI requested is invalid or the resource requested, such as a user, does not exists. {errors:[{code:17,message:No user matches for specified terms}]} TwitterException{exceptionCode=[47354327-0118689f], statusCode=404, retryAfter=0, rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=167, hourlyLimit=350, resetTimeInSeconds=1295247, secondsUntilReset=1658, resetTime=Mon Jan 17 07:01:03 UTC 2011}, version=2.1.7} at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java: 311) at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java: 72) at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java: 86) at twitter4j.Twitter.lookupUsers(Twitter.java:614) The two questions I have are: 1.) Does this mean that the whole batch failed? 2.) How can I get information which user actually fails the call? Thank you very much for the help. ToddySM -- 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 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] Using @Anywhere for developing Blackberry Client.
Let me know your thoughts on using @Anywhere facility to develop Blackberry Twitter client using recently launched Webworks API. Is it feasible or should I take another way to develop the client using webworks. -- 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: Incorrect signature
Hi Thomas, The timestamp must be the current time in epoch seconds. By design the epoch time is in GMT, which is the same as Twitter's servers so you shouldn't need to adjust it. If you do it implies your server clock isn't set correctly. Looking at your code you have a lot going on which increases the risk of encoding errors. To help you track down the issue have a look at the way one of the community produced PHP libraries does it and compare their results to yours. You can find the community libraries on our developer resources site: http://dev.twitter.com/pages/oauth_libraries#php Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 18, 2011 at 4:33 PM, Thomas thomasrei...@gmail.com wrote: I just tried using time() without adding 3 hours and I get this error: Timestamp out of bounds So I believe adding 3 hours is the right thing to do. On Jan 17, 9:36 pm, Yusuke Yamamoto yus...@mac.com wrote: Hi, time() returns epoch time which is an absolute value, and you don't need to consider timezones.http://php.net/manual/en/function.time.php -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on :http://twitter.com/yusukeyamamoto subscribe me at :http://samuraism.jp/ On Jan 18, 2011, at 13:56 , Thomas wrote: My servers default time is PST but twitters time is EST I believe so that's why I added 3 hours. On Jan 17, 4:35 pm, @epc epcoste...@gmail.com wrote: On Jan 16, 2:10 pm, Thomas thomasrei...@gmail.com wrote: ?php $time = time() + 10800; Why are you setting the timestamp for 3 hours in the future? oAuth/twitter are very picky about the time being close to accurate, being 3 hours off is definitely one potential problem with your code. -- -ed costello -- 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 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 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: Single Result from /users/lookup
Hey Jordan, When I run your request in my code I get the details of all 5 users. To help us track down the problem can you share the raw HTTP request and response? Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Jan 17, 2011 at 7:32 AM, Jordan Glasner glas...@gmail.com wrote: A quick update. I monkey patched my HTTP client not to encode commas, but I still can't get it to work. No matter which user ids I put into the params, the response only includes the details for the first user. -- 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 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: ~25% loss rate Streaming API vs. Search API
Hi Brian, The rate limit for the Streaming API restricts the amount of data you can receive, which is defined by the level of access granted to you. When using the Streaming API filter method we will apply your track/follow/geo parameters (predicates) in equal weight to the Tweets captured during that sampling interval. We will then stream all the Tweets that your allowed sample rate permits. If more Tweets match your predicates that your sample rate allows we will stream a limit message to you indicating the number of Tweets you didn't receive. How we sample, and how the limits are applied to the filter method is described in our Streaming API concepts document: http://dev.twitter.com/pages/streaming_api_concepts#sampling Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 11, 2011 at 9:38 PM, Brian Maso br...@blumenfeld-maso.comwrote: Hi Matt, Thanks for the explanation. I will file the bug report. I'd like to hear more about the sample size. I've read through the Streaming API docs a lot, and I haven't come across anything specific about the rate limits. Where can I read more? Brian Maso On Jan 10, 5:24 pm, Matt Harris thematthar...@twitter.com wrote: Hey Brian, When you use the Streaming API filter method we will stream to you all the Tweets which match your track terms - up to your allowed sample size. What this means is over the course of a sampling window we apply your track terms to the full firehose, and then return as many results as your sample rate allows. If you exceed your allowed sample size we will return a 'rate_limited' response containing the total number of matched Tweets missed. When matching track terms we apply the 'track' keywords to the raw Tweet text. This is different to the Search API which applies the track terms to the raw Tweet text plus the expanded URL. (The Streaming API doesn't expand URLs because it would delay the delivery of the Tweet). The issue you are describing is not caused by sampling limits or reduced subsets, but is instead due to a retweet parsing issue our engineers are looking into. What appears to be happening is the Streaming API is trying to match against the truncated RT version of the Tweet instead of the original Tweet text. If you file this in our issue tracker we can let you know when the issue is resolved. The issue tracker can be found here: http://code.google.com/p/twitter-api/issues/list Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Jan 10, 2011 at 4:48 PM, Brian Maso br...@blumenfeld-maso.com wrote: Sounds consistent with what I've been seeing. Where did you get your impression of how the streaming API is optimized? I am having a hard time finding any authoritative documentation describing what the powers that be at Twitter *intend* to be included in the stream (as opposed to what they actually *implemented*, which may differ from intentions for a variety of reasons). If what you say is true, it kind of limits to use-cases of the streaming API to a far narrower set than what one would think by reading the Streaming API documentation. There's one section of the documentation that attempts to describe how to implement a system that utilizes the streaming API and avoids missing any tweets. Obviously if the stream of tweets is already a reduced subset, then it doesn't matter very much if you miss a few. Brian Maso On Jan 9, 4:06 pm, Bess bess...@gmail.com wrote: Streaming API is build by Twitter while Search API is build by Startup Summize acquired by Twitter. Search API is rate-limited. If you just use Twitter search feature, you may see everything. Using Search API to display API returned results is limited by your developer API. Streaming API may not show everything b/c it is optimized on the content based on its logarithm. On Jan 9, 2:29 pm, Brian Maso br...@blumenfeld-maso.com wrote: What I did is opened up three separate normal browser tabs in Firefox, each using the Twitter search web interface to search for three different hashtags (#ces, ces11, and nfl -- examples of three tags that should have decent ongoing traffic). At the same time I have an application capturing tweets from the same three hashtags using the streaming API (filter.json? q=#ces,#ces11,#nfl, with appropriate URL encoding). Irregardless of the amount of time, the streaming application captured about 25% fewer tweets. Detailed analysis of the tweet IDs captured by the browsers vs. those captured by the standalone application retrieving tweets via the streaming API verified that there were tweets delivered through the browsers that did not appear through the streaming API. There were no tweets delivered through the streaming
Re: [twitter-dev] Feature Request: Share Box from Tweet button optimized for mobile device
Hi Kevin, This is a feature on the teams roadmap. We don't have a timeline for when or if this will be implemented but we know it's something developers would like to see. If anything does happen it will be communicated either through @twitterapi or this mailing list. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Jan 7, 2011 at 3:40 PM, KevinB kevin.bold...@gmail.com wrote: Thanks for the official Tweet Button - it's nice to have something familiar and consistent for our users. Our current implementation is to have a Tweet button on a mobile website. Functionally it works great, but the Share Box (and login, if necessary) don't work very well on a mobile device (iPhone, in particular - I haven't tested in Android). The fixed width: http://dev.twitter.com/pages/tweet_button_faq#dimensions helps a little bit, but the form fields and labels are still quite small since the device zooms out the page to fit everything in it. This requires the user to zoom in to be able to see exactly what's going on. And if I don't use the actual button and just open twitter.com/share with a querystring, it's even worse b/c of the iPhone's assumption that web pages are 960px wide. My request is that the HTML/CSS of the Share Box login and post be updated with CSS media queries (or a separate page) to accommodate the smaller screen. thanks! -KevinB -- 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 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] Retweets_of_me: how many retweets?
Hi jarón, Each Tweet contains a retweet_count which tells you the number of times a Tweet has been retweeted (up to 100). Then, to find out the person who last retweeted a Tweet you can call /1/statuses/retweets/:id . You can learn more about the API request on our developer resources site: http://dev.twitter.com/doc/get/statuses/retweets/:id Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sat, Jan 8, 2011 at 12:22 PM, jaronbarends jaronbare...@gmail.comwrote: My app offers users the feature to see their tweets, retweeted (using retweets_of_me - http://dev.twitter.com/doc/get/statuses/retweets_of_me). However, I would also like to show how many times a particular tweet has been retweeted, but the response does not offer that data. I could call http://dev.twitter.com/doc/get/statuses/:id/retweeted_by (as suggested in this thread: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/38aa19e2fc117c36/fdba18c2870fa76d ), but that would mean making 50 extra calls per page. It would be great if retweets_of_me's response would include the number of retweets and, for example, the user data of the last retweeter. Is there a simple way to find out how many times a retweets_of_me - tweet has been retweeted? Thanks, jarón -- 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 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] getting to the twitter homepage with Oauth access token
Hi, We do not allow developers or applications to login using OAuth access tokens. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Jan 10, 2011 at 3:26 PM, ano0810 luv@gmail.com wrote: is there a possibility to get to the user's home page on twitter using the access token. something like the access token sent in as a parameter to some twitter URL? -- 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 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] Retweet Response Code
Hi Mesut, The Javascript API is considered part of the @anywhere internals and is not supported by us. You are free to experiment with the API but be aware functions may stop working or change without notice. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Jan 10, 2011 at 6:21 AM, mesut celik mesut.ce...@gmail.com wrote: In our application, we have implemented retweet function from @Anywhere JS API. However, i see that some of retweets are returning errors because of blocs and some other problems what is the best way to handle these errors? How can we implement a callback mechanism to read the status of the API call? mesut -- 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 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] iPhone twitter client
I tried to make a twitter client i have an api with 2 files TwitterRequest.h and TwitterRequest.m here is the code for the .m file // // TwitterRequest.m // Chirpie // // Created by Brandon Trebitowski on 6/15/09. // Copyright 2009 __MyCompanyName__. All rights reserved. // #import TwitterRequest.h @implementation TwitterRequest @synthesize username; @synthesize password; @synthesize receivedData; @synthesize delegate; @synthesize callback; @synthesize errorCallback; -(void)friends_timeline:(id)requestDelegate requestSelector: (SEL)requestSelector{ isPost = NO; // Set the delegate and selector self.delegate = requestDelegate; self.callback = requestSelector; // The URL of the Twitter Request we intend to send NSURL *url = [NSURL URLWithString:@http://api.twitter.com/1/statuses/ update.xml]; [self request:url]; } -(void)statuses_update:(NSString *)status delegate:(id)requestDelegate requestSelector:(SEL)requestSelector; { isPost = YES; // Set the delegate and selector self.delegate = requestDelegate; self.callback = requestSelector; // The URL of the Twitter Request we intend to send NSURL *url = [NSURL URLWithString:@http://api.twitter.com/1/statuses/ update.xml]; requestBody = [NSString stringWithFormat:@status=%@,status]; [self request:url]; } -(void)request:(NSURL *) url { theRequest = [[NSMutableURLRequest alloc] initWithURL:url]; if(isPost) { NSLog(@ispost); [theRequest setHTTPMethod:@POST]; [theRequest setValue:@application/x-www-form-urlencoded forHTTPHeaderField:@Content-Type]; [theRequest setHTTPBody:[requestBody dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]]; [theRequest setValue:[NSString stringWithFormat:@%d,[requestBody length] ] forHTTPHeaderField:@Content-Length]; } theConnection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self]; if (theConnection) { // Create the NSMutableData that will hold // the received data // receivedData is declared as a method instance elsewhere receivedData=[[NSMutableData data] retain]; } else { // inform the user that the download could not be made } } - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { //NSLog(@challenged %@,[challenge proposedCredential] ); if ([challenge previousFailureCount] == 0) { NSURLCredential *newCredential; newCredential=[NSURLCredential credentialWithUser:[self username] password:[self password] persistence:NSURLCredentialPersistenceNone]; [[challenge sender] useCredential:newCredential forAuthenticationChallenge:challenge]; } else { [[challenge sender] cancelAuthenticationChallenge:challenge]; // inform the user that the user name and password // in the preferences are incorrect NSLog(@Invalid Username or Password); } } - (void)connection:(NSURLConnection *)connection didReceiveResponse: (NSURLResponse *)response { // this method is called when the server has determined that it // has enough information to create the NSURLResponse // it can be called multiple times, for example in the case of a // redirect, so each time we reset the data. // receivedData is declared as a method instance elsewhere //[receivedData setLength:0]; } - (void)connection:(NSURLConnection *)connection didReceiveData: (NSData *)data { //NSLog([[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]); // append the new data to the receivedData // receivedData is declared as a method instance elsewhere [receivedData appendData:data]; } - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { // release the connection, and the data object [connection release]; // receivedData is declared as a method instance elsewhere [receivedData release]; [theRequest release]; // inform the user NSLog(@Connection failed! Error - %@ %@, [error localizedDescription], [[error userInfo] objectForKey:NSErrorFailingURLStringKey]); if(errorCallback) { [delegate performSelector:errorCallback withObject:error]; } } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { // do something with the data if(delegate callback) { if([delegate respondsToSelector:self.callback]) { [delegate performSelector:self.callback withObject:receivedData]; } else { NSLog(@No response from delegate);
Re: [twitter-dev] Streaming Unfollow events through Site Streams
Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.comwrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- 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 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] Streaming Unfollow events through Site Streams
Twitter4J already supports the feature. http://twitter4j.org/jira/browse/TFJ-529 Will the it come back later? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 14:33 , Tim Haines wrote: Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- 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 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 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] Streaming Unfollow events through Site Streams
Yes, I expect so. On Wed, Jan 19, 2011 at 2:51 PM, Yusuke Yamamoto yus...@mac.com wrote: Twitter4J already supports the feature. http://twitter4j.org/jira/browse/TFJ-529 Will the it come back later? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 14:33 , Tim Haines wrote: Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.comwrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- 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 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 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 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] Streaming Unfollow events through Site Streams
Thanks for your prompt response! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 16:04 , Tim Haines wrote: Yes, I expect so. On Wed, Jan 19, 2011 at 2:51 PM, Yusuke Yamamoto yus...@mac.com wrote: Twitter4J already supports the feature. http://twitter4j.org/jira/browse/TFJ-529 Will the it come back later? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 14:33 , Tim Haines wrote: Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- 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 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 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 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 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] My rate limit changed
It seems as if overnight, my rate limit was changed from 20K per hour, to 150 per hour. What happened? My application is dead in the water :-( -- 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