[twitter-dev] Re: Direct Message Limit for a Game we are creating what playspymaster does

2009-07-17 Thread Doug Williams
Abir,By default, accounts are limited to 250 direct messages a day. Whitelisted accounts are able to make 10K direct messages a day. Design for these constraints and ensure notifications are opt-in, and we are happy to support your app. Thanks, Doug On Thu, Jul 16, 2009 at 7:16 PM, Abir

[twitter-dev] Re: direct messaging limits and best practices for individual services?

2009-07-17 Thread jmathai
Both of these are enforced: 250 / hour 1000 / day On Jul 16, 11:52 am, Bjoern bjoer...@googlemail.com wrote: On Jul 16, 5:32 pm, jmathai jmat...@gmail.com wrote: If you're sending DMs then you should be limited to 1000 DMs / user / day or 100 / user / hour.  I run into the limit issue as

[twitter-dev] New TweetPhoto Open APIs released - Photo Sharing API (Basic Advanced)

2009-07-17 Thread Sean Callahan
TweetPhoto Open API: http://groups.google.com/group/tweetphoto/web What is included in the Open Photo Sharing API on TweetPhoto: Getting Started with the TweetPhoto API All Write Operations (HTTP POST/PUT/DELETE) Pagination Privileged Operations Basic Upload API (Upload and UploadAndPost)

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread Andrew Badera
On Thu, Jul 16, 2009 at 10:21 PM, Abir abstar...@gmail.com wrote: Peter: In my experience, the folks @Twitter have been extremely responsive both on this forum+via email, and I thought this group was supposed to be doing that? Abir Twitter has, for the most part, done a great job in

[twitter-dev] Re: direct messaging limits and best practices for individual services?

2009-07-17 Thread Bjoern
On Jul 17, 9:53 am, jmathai jmat...@gmail.com wrote: Both of these are enforced: 250 / hour 1000 / day More confusing info, as the Twitter support website states # 1,000 total updates per day, on any and all devices (web, mobile web, phone, API, etc. ) # 250 total direct messages per day,

[twitter-dev] HTML escaping by Twitter is really a bug

2009-07-17 Thread Bjoern
Hi, probably it is too late to change it now, but someone has to say it: I think it is the wrong approach to do HTML escaping in the API on the Twitter side. For starters, not every consumer is a Website. Secondly, even if I am a website, now I have to rely on Twitter getting the escaping right.

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Bjoern
Just had an idea: maybe Twitter could add an optional parameter to switch off HTML escaping (escapeHTHML=false or something like that). That way developers who are unaware of the issue would get the escaped HTML, and the developers who are aware could get the proper data.

[twitter-dev] Process every single Tweet.

2009-07-17 Thread CreativeEye
Myself and my friend are doing a research based on twitter. We need to analyse each and every tweet real time. Can you guide how to approach this. There could be 2 ways of doing this (without Firehose): 1) Get Twitter Public timeline repeatedly. Thankfully Twitter's caching has not been

[twitter-dev] Internal server error

2009-07-17 Thread Bruno Zepelini
Twitter server is always returning error 500 for my application. Just informing you guys. =D

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread Bjoern
On Jul 17, 1:57 pm, CreativeEye creativv...@gmail.com wrote: 1) Get Twitter Public timeline repeatedly. My understanding is that this does not give you all tweets, just a random selection. 2) Get follower network - user profiles and get their statuses. You would reach the API limit quickly,

[twitter-dev] Re: Internal server error

2009-07-17 Thread Bruno Zepelini
This error happens when i going to authenticate using OAuth in twitter (Later i post the http headers here) On Jul 17, 9:23 am, Bruno Zepelini bzepel...@gmail.com wrote: Twitter server is always returning error 500 for my application. Just informing you guys. =D

[twitter-dev] Hashing standard for URLs to find the Twitter version of shortened URLs

2009-07-17 Thread Bjoern
Hi, this is maybe a bit random, but I feel like throwing the idea out there for fun. It was suggested in a recent discussion thread that to get the Twitter variant of an URL, one could just post the URL to Twitter and see what Twitter makes of it. Since it is infeasible to generate a lot of

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread Bjoern
I understand the idea and I think it is interesting, but I am worried that it involves too much politics. Once such a group was established, I would have to make sure that my voice gets heard in that group. That would mean investing time in politics, which I am not keen on. Of course now the

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread Thanashyam Raj
Thanks a lot for your reply, Bjoern. ***from twitter api wiki*** statuses/public_timeline Returns the 20 most recent statuses from non-protected users who have set a custom user icon. The public timeline is cached for 60 seconds so requesting it more often than that is a waste of resources.

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread Abraham Williams
Yes. Firehose is the only way to get all statuses. Abraham On Fri, Jul 17, 2009 at 08:02, Thanashyam Raj creativv...@gmail.com wrote: Thanks a lot for your reply, Bjoern. ***from twitter api wiki*** statuses/public_timeline Returns the 20 most recent statuses from non-protected users who

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread John Kalucki
There is no way to receive every status. Private statuses, for example, are not distributed. The only sanctioned way to receive any substantial proportion of public statuses in real time is via the Streaming API. You can also receive a non-representative non-random, real-time sample, which may

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Jeff Dairiki
On Fri, Jul 17, 2009 at 04:15:52AM -0700, Bjoern wrote: probably it is too late to change it now, but someone has to say it: I think it is the wrong approach to do HTML escaping in the API on the Twitter side. What data are you referring to that is being HTML-escaped? From what I can tell,

[twitter-dev] Re: Hashing standard for URLs to find the Twitter version of shortened URLs

2009-07-17 Thread Matt Sanford
Hi Björn, Your proposal works if everybody plays by the rules but I think email spam has taught us that's an unrealistic expectation. Think of shortening malwareurl.com via Bit.ly and then including the hash for the URL to a popular YouTube video. Applications searching for the

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread Clint Shryock
I think this is well intended but not necessary. As far as creating a group that has the ear of Twitter, I think this is list is doing quite well in that regard. The Twitter dev's have been very responsive and so far we have a nice community of third party devs as well. I agree with Bjoren, I

[twitter-dev] Re: Hashing standard for URLs to find the Twitter version of shortened URLs

2009-07-17 Thread Bjoern
On Jul 17, 4:44 pm, Matt Sanford m...@twitter.com wrote:      Your proposal works if everybody plays by the rules but I think   email spam has taught us that's an unrealistic expectation. Think of   shortening malwareurl.com via Bit.ly and then including the hash for   the URL to a popular

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Bjoern
By now I have also create a a ticket for this: http://code.google.com/p/twitter-api/issues/detail?id=845 My apologies for writing both at the issue tracker and in the forum. I did not plan to create an issue at first, because I thought it unlikely that it would be fixed. When I thought about

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Matt Sanford
Hi Bjoern, Short Answer: It's working as designed for security reasons. We don't like it any more than you do. Long Answer: This has come up on the list quite a bit in the past. Like a great many things spammers, scammers and unkind people are the reason we can't have nice

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread jmathai
Lastly, I don't feel that I, or my App, have rights to access Twitter's API. It's their system, my access is a privilege. They must in order for any app of significant size to exist. To reiterate others in this thread, Twitter does a great job. I think the alliance is a bit unrealistic

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread Cameron Kaiser
Lastly, I don't feel that I, or my App, have rights to access Twitter's API. It's their system, my access is a privilege. Well said. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com *

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Jeff Dairiki
On Fri, Jul 17, 2009 at 07:53:27AM -0700, Bjoern wrote: look for example at this: http://twitter.com/statuses/show/2689100482.json My status update was test html escaping by twitter bbold/b but Twitter sends me test html escaping by twitter lt;bgt;boldlt;\/ bgt; So it has transformed

[twitter-dev] Filter Profanity

2009-07-17 Thread lukeMV
I have a few questions: I am using API to publish my search query onto a web page. Because the web site is a public site, I don't want profanity. I found that I can eliminate certain words with the -... but I also found that my API stops working if I have too many queries... is there a simple

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Joe Bowman
From a security standpoint, I'd hope the information is stored pre- escaped, and that's why the API returns it that way. I'd like to offer a +1 to liking the idea that the data I get from the API is escaped for me. On Jul 17, 11:27 am, Jeff Dairiki dair...@dairiki.org wrote: On Fri, Jul 17,

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread Matt Sanford
Hello there, There is no stemming available for search (which is the {ducking} - {duck} conversion). We've talked internally about the profanity issue before so it's something we're aware of. We'll announce something here once we have a plan. Thanks; – Matt Sanford / @mzsanford

[twitter-dev] Re: Hashing standard for URLs to find the Twitter version of shortened URLs

2009-07-17 Thread Nick Arnett
On Fri, Jul 17, 2009 at 5:50 AM, Bjoern bjoer...@googlemail.com wrote: In fact if such a scheme was in place, it would also give people a way to officially link to a site. They could add the hash of the destination URL in their tweet and become searchable. I realize that would probably be

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread Cameron Kaiser
I have a few questions: I am using API to publish my search query onto a web page. Because the web site is a public site, I don't want profanity. I found that I can eliminate certain words with the -... but I also found that my API stops working if I have too many queries... is there a

[twitter-dev] Query Length

2009-07-17 Thread lukeMV
I am pulling a search query results into a web page that I have... I can have quite a few queries, but it appears that I can max out (resulting in zero results). 1) What is the magic number of queries (including - and OR) 2) Should the NEAR: and WITHIN: work for pulling tweets on my web site?

[twitter-dev] Re: update profile image and profile image url

2009-07-17 Thread Clint Shryock
I never got any response on this, but a small update: it's now down to about an hour for this to update correctly. Often I'll hit /users/show/username.json and it will return the correct value, however if I go and update the avatar a 2nd time (to the 3rd image, counting the first, original), the

[twitter-dev] Re: Query Length

2009-07-17 Thread Matt Sanford
Hello, The length of a query is limited to 140 characters, and the near:/within: need to be translated to a geocode URL parameter. Checkout the documentation at http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search for more information. Thanks; – Matt Sanford / @mzsanford

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread jmathai
Lastly, I don't feel that I, or my App, have rights to access Twitter's API.  It's their system, my access is a privilege. Well said. I believe the original intent was to state that while it's a privilege there have to be some agreed upon policies going both ways. The TOS works for

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread Vision Jinx
Gee, what do you guys have against Ducks? LOL, Just kidding, and all jokes aside, I do have to agree also with a profanity filter as I run a rated G public site also and I hate it when profanity starts showing up on my site (in my feed apis). As mentioned above I have been playing with a

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread Cameron Kaiser
So, long story short and to the point, would it be possible to have in your Twitter account settings a check box similar to how Google has one for pornographic sites but have one for uses profanity and we can then use a filter in our queries like profanity=0 or something to that extent and

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread SV
This could help - http://www.flotzam.com/archivist/ On Jul 17, 6:57 am, CreativeEye creativv...@gmail.com wrote: Myself and my friend are doing a research based on twitter. We need to analyse each and every tweet real time. Can you guide how to approach this. There could be 2 ways of doing

[twitter-dev] Spam Blacklist?

2009-07-17 Thread SV
Hi all, Looking for a master list of spammers. I know Twitter tries to delete such accounts (great going forward) but such a list would be really useful for filtering out spammers from archival data. Any ideas? Thanks much, SV

[twitter-dev] Atom API From a User not retrieving results

2009-07-17 Thread brandonvara
I'd like to include my latest tweet in my website but when I try to pull through the atom API i do not get any results. I'm using: http://search.twitter.com/search.atom?q=from:brandonvara I don't have a private account but I'm wondering if I'm not using the correct URL or if there is a setting

[twitter-dev] Re: Atom API From a User not retrieving results

2009-07-17 Thread Matt Sanford
Hi there, If your account is not showing up in Twitter search check out the help article at http://help.twitter.com/forums/10713/entries/16817 Thanks; — Matt Sanford On Jul 17, 2009, at 11:31 AM, brandonvara wrote: I'd like to include my latest tweet in my website but when I try

[twitter-dev] Re: Process every single Tweet.

2009-07-17 Thread Thanashyam Raj
@sv - Not quite what i am looking for. But thanks a lot for the link. I think firehose is the only way to go, but thats something not very much in control. @jkalucki - Thanks for your info. I will move to streaming API. I did not know the current approach would be frowned upon. And hopefully

[twitter-dev] Re: Atom API From a User not retrieving results

2009-07-17 Thread Michael Ivey
You can get your most recent tweet via atom without using search like this: http://twitter.com/statuses/user_timeline/YOURUSERNAME.atom?count=1 -- ivey On Fri, Jul 17, 2009 at 1:31 PM, brandonvara brandonv...@gmail.com wrote: I'd like to include my latest tweet in my website but when I

[twitter-dev] Matt Sanford, signing off.

2009-07-17 Thread Matt Sanford
Hi everybody*, Starting next week I'm not going to be responding to mails on the dev list or working on Google Code issues as part of my daily work. I have been working on the Search and API/Platform teams here at Twitter since the acquisition of Summize a year ago and the time has

[twitter-dev] Re: Atom API From a User not retrieving results

2009-07-17 Thread brandonvara
Hey Ivey, This works great! Thanks so much! On Jul 17, 12:54 pm, Michael Ivey michael.i...@gmail.com wrote: You can get your most recent tweet via atom without using search like this: http://twitter.com/statuses/user_timeline/YOURUSERNAME.atom?count=1 -- ivey On Fri, Jul 17, 2009 at

[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Blaine Garrett
Best of luck Matt! Thanks for all the great help on the list! ~Blaine Garrett On Jul 17, 4:18 pm, Matt Sanford m...@twitter.com wrote: Hi everybody*,      Starting next week I'm not going to be responding to mails on the   dev list or working on Google Code issues as part of my daily work.

[twitter-dev] Re: Direct Message Limit for a Game we are creating what playspymaster does

2009-07-17 Thread Abir
Doug: Thanks for the info, much appreciated. Abir On Jul 16, 11:50 pm, Doug Williams d...@twitter.com wrote: Abir,By default, accounts are limited to 250 direct messages a day. Whitelisted accounts are able to make 10K direct messages a day. Design for these constraints and ensure

[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Arnaud Meunier
Good to know this change is backward compatible :)Thanks for your help, and all the best for your new position ! 2009/7/17 Blaine Garrett bla...@blainegarrett.com Best of luck Matt! Thanks for all the great help on the list! ~Blaine Garrett On Jul 17, 4:18 pm, Matt Sanford m...@twitter.com

[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Vision Jinx
Wishing you all the best also Matt! :) On Jul 17, 3:18 pm, Matt Sanford m...@twitter.com wrote: Hi everybody*,      Starting next week I'm not going to be responding to mails on the   dev list or working on Google Code issues as part of my daily work. I   have been working on the Search and

[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Nick Arnett
On Fri, Jul 17, 2009 at 2:18 PM, Matt Sanford m...@twitter.com wrote: Good night, and good luck; – Matt Sanford / @mzsanford Twitter Dev Bonne nuit et bonne chance! (Just thought I'd throw in a language detection challenge. A small one.) Nick

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread David Fisher
Why don't you just do the filtering on your end? Twitter's API's job is to give you data- what you do with filtering it on your end should be up to you... On Jul 17, 12:43 pm, Steve Brunton sbrun...@gmail.com wrote: On Fri, Jul 17, 2009 at 12:14 PM, Cameron Kaiserspec...@floodgap.com wrote:

[twitter-dev] Re: HTML escaping by Twitter is really a bug

2009-07-17 Thread Bjoern
On Jul 17, 5:07 pm, Matt Sanford m...@twitter.com wrote:      Short Answer: It's working as designed for security reasons. We   don't like it any more than you do. Thank you for your answer. There are pros and cons for both approaches, and you had to make a decision. Björn

[twitter-dev] Too many requests in this time period. Try again later.

2009-07-17 Thread J.D.
Today I started getting this error, even only after a handful of API calls. Is this a new change? I've tested with two accounts, one that is whitelisted and another that is not. I'm getting this from both accounts after only 30 or 40 calls. 403 Too many requests in this time period. Try again

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread Kevin Mesiab
How quickly are the 30-40 calls issued? On Fri, Jul 17, 2009 at 1:03 PM, J.D. jeremy.d.mul...@gmail.com wrote: Today I started getting this error, even only after a handful of API calls. Is this a new change? I've tested with two accounts, one that is whitelisted and another that is not. I'm

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread J.D.
Hi Kevin, It's downloading info for a social graph (all the users followers), so fairly quickly. Do I need to add a sleep between calls to statuses/ followers? J.D.

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread J.D.
WRT the sleep, I've never had to in the past. It just started failing.

[twitter-dev] List of Oauth Exceptions - test page?

2009-07-17 Thread Blaine Garrett
H list, Is there a list of potential error responses and/or a set of test pages that return these responses? The django oauth and twitterapi libs seem to let 40x httplib errors bubble all the way to the top and I would like to add some Exception handling to at least give appropriate feedback to

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread Kevin Mesiab
Regarding a sleep between calls, until someone from Twitter pipes in it would be worth a use case test, yes. On Fri, Jul 17, 2009 at 1:38 PM, J.D. jeremy.d.mul...@gmail.com wrote: WRT the sleep, I've never had to in the past. It just started failing. -- Kevin Mesiab CEO, Mesiab Labs

[twitter-dev] HttpURLConnection.getOutputStream() makes connection!

2009-07-17 Thread parkHaas
Hi there. I make a Twitter app. for android. I sent an update using HttpURLConnection. but it isn't working. my code is... String uri = http://twitter.com/statuses/update.xml;; HttpURLConnection connection =

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread winrich
are you calling the verify credentials call? they started limiting that call to 15 requests per hour due to an attack vulnerability. I started getting that error today too. On Jul 17, 4:03 pm, J.D. jeremy.d.mul...@gmail.com wrote: Today I started getting this error, even only after a handful of

[twitter-dev] Unable to 'un-follow' suspended accounts.

2009-07-17 Thread onlysto...@msn.com
I have an account that shows up on the 'following' short list (pictures on the right of my profile) that is also suspended. All well and good that the account is suspended but the pic still shows up on my profile with no way for me to remove it as it no longer appears in my full list. Im not a

[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Karthik Murugan
Good Luck Matt!! On Jul 18, 2:18 am, Matt Sanford m...@twitter.com wrote: Hi everybody*,      Starting next week I'm not going to be responding to mails on the   dev list or working on Google Code issues as part of my daily work. I   have been working on the Search and API/Platform teams

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread Jesse Stay
Me too. I think more developers need to know about this - I see many complaints of password issues on Twitter search recently. Jesse On Fri, Jul 17, 2009 at 10:17 PM, winrich winric...@gmail.com wrote: are you calling the verify credentials call? they started limiting that call to 15 requests

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread ferodynamics
No, you have to do this client side. Also, cussbusting is pretty fricking hard. -- personal:http://www.cameronkaiser.com/--   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- The only thing to fear is fearlessness -- R. E.

[twitter-dev] How to pattern-match these crazy shortened URLs?

2009-07-17 Thread ferodynamics
I go cross-eyed when it comes to reading this stuff. I hacked some code I found, catches bit.ly but not (for example) ff.im (Can I post code here?) function urls2link($text){ if (strpos($text, '...')==0) { // don't ask! $pattern =

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread J.D.
are you calling the verify credentials call? they started limiting that call to 15 requests per hour due to an attack vulnerability. Ah yes, as a matter of fact I am. I was calling it each time my application started, I'll refactor that. Thanks! J.D.

[twitter-dev] Re: How to pattern-match these crazy shortened URLs?

2009-07-17 Thread Kevin Mesiab
Code commented w/ don't ask is immediately suspect :P On Fri, Jul 17, 2009 at 6:43 PM, ferodynamics duch...@solve360.com wrote: I go cross-eyed when it comes to reading this stuff. I hacked some code I found, catches bit.ly but not (for example) ff.im (Can I post code here?) function

[twitter-dev] Re: Filter Profanity

2009-07-17 Thread avail4one
hmmm you wanna dump random content your robot found on the internet on kids and hope your stuff doesn't scare the crap out of grandma? it would probably be just as interesting and profitable to block human visitors and instead use random roboreader bots. then it would be totally-fully-automated.

[twitter-dev] Re: How to pattern-match these crazy shortened URLs?

2009-07-17 Thread Kevin Mesiab
In js, this seems to work: var x = /(?:http://)*(w{0,3}\.?\w+\.\w{2,3}[/\w]*)/gim var p = 'a href=$1$1/a'; str.replace( x, p ); On Fri, Jul 17, 2009 at 7:06 PM, Kevin Mesiab ke...@mesiablabs.com wrote: Code commented w/ don't ask is immediately suspect :P On Fri, Jul 17, 2009 at 6:43

[twitter-dev] Re: Too many requests in this time period. Try again later.

2009-07-17 Thread J.D.
I can see why this api should be limited, but it seems (from the outside, I'm sure maybe there are other reasons) like if the credentials are correct, it shouldn't count against the limit. Only limit if the attempts are bad (someone is fishing). J.D.

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread ferodynamics
On Jul 16, 4:34 pm, Peter Denton petermden...@gmail.com wrote: There is a lot of ambiguity up in the air, about api devs (third party) and the future of the api and twitter. Apps are a huge growth vehicle and a very significant piece of the future, getting the Twitter medium a global