[twitter-dev] How does twitter decide which image urls to render
How does twitter decide which image urls to render? If a post a tweet with a link to a picture it will only display the link. But if twitpic post an image link twitter will render the image (smaller albeit). I know twitter now has Tweet Entities but those appear to be for reading and not writing. Sorry for the cross posting (I'm not sure whether to use the new dev.twitter.com/discussions or this group). -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] Looking for suggestions for a good PHP linkify function
Does anyone have a really solid PHP entity linkifier set of code they recommend? Or is there one hidden in the API that I never noticed? Any advice from the Twitter people? Surely this is something that everyone needs. -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] Is there a standard PHP linkify routine?
Every PHP app that displays tweets needs to apply the entities as links. Is there a standard function for this available, or are hundreds of thousands of developers each rolling their own? If you have a favorite code snippet, please point it out here. Maybe we can all review them and figure out which is best. I'me specially interested in solving UTF8 character problems, which cause invalid link positioning. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] I'm looking for a better PHP linkify() function
I've been using a tweet linkify() function that I wrote myself a couple of years ago, and then rewrote to take advantage of entities when they arrived. It works well about 98% of the time, but it still chokes on some UTF8 characters, which causes URLs to be applied with an incorrect offset of a few characters. Does anyone have a really solid PHP entity linkifier set of code they recommend? Or is there one hidden in the API that I never noticed? BTW, did anyone notice that during Obama's townhall there was a tweet that was displayed on the big screen that had an apostrophe incorrectly garbled by UTF8? I loved it when @jack blamed it on the tweet's author, saying something like He entered it wrong. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Getting invalid timestamps from search API
I have been seeing this exact 24:00 timestamp issue too for the last few days too. Also using tweepy. thanks Adam On Jul 10, 10:37 am, Doza mcard...@gmail.com wrote: Hi everybody, My application queries the search API periodically throughout the day. I'm still working on a solution using the streaming API, but this has been working fairly well for my needs. About 4 days ago I started getting errors from the Python library that I use to perform the queries (tweepy.) It appears that some results contain what appear to be invalid timestamps. Here is a sample of the times that I see for some tweets: ValueError: time data u'Thu, 07 Jul 2011 24:58:43 +' does not match format '%a, %d %b %Y %H:%M:%S +' ValueError: time data u'Thu, 07 Jul 2011 24:59:45 +' does not match format '%a, %d %b %Y %H:%M:%S +' ValueError: time data u'Fri, 08 Jul 2011 24:58:03 +' does not match format '%a, %d %b %Y %H:%M:%S +' ValueError: time data u'Fri, 08 Jul 2011 24:33:41 +' does not match format '%a, %d %b %Y %H:%M:%S +' These timestamps all have 24 as the hour, which doesn't seem correct. Is anybody else seeing the same thing? Thanks, Mike -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New twitter API in Clojure
It's a wrapper around the current API so the same rate limiting applies Sent from my Commodore64 On 2 Jul 2011, at 08:51, Mo'b Mo'b mobingapapi...@gmail.com wrote: With Rate-limiting , right? On Thu, Jun 30, 2011 at 4:53 PM, AdamWynne adamwy...@gmail.com wrote: Hi guys I have open sourced my connectivity api to twitter, so for all you Clojure twitter-heads, go and check out: https://github.com/adamwynne/twitter-api Some features: - its based on the async.http.client library for high performance, low overhead comms - it has a full test suite - it is up to date, and covers all the relevant API calls in the streaming, user and RESTful API's I welcome feedback and of course, all contributions are gratefully received. Enjoy Adam -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- ©InFiNiTy. Mobinga Inc. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Unwanted T.CO shortening
I believe that at least part of Twitter's motivation is based on protecting users from spam and viruses. In that case, why not implement some purging alogrithms? Here's an easy one. If an account follows nobody and only sends emails with a screen name and URL, it is probably a spammer and the URLs are probably bad news for anyone who clicks them. http://twitter.com/#!/wrennieoqeqc4 http://twitter.com/#!/sagoesclucxl5 On Jun 10, 5:23 pm, Ben Ward benw...@twitter.com wrote: On Jun 10, 2011, at 1:21 PM, Kosso wrote: The massive trouble I have with all this is that I like to know what the hell I'm clicking on before clicking a link. It's kind of my right as a citizen of the web. I personally can't stand it when, for example a link fires up iTunes or goes to some site I don't want to waste (possibly mobile and limited) bandwidth on. I like to choose WHO I give MY visit/traffic to. To be clear, the API returns all the information for all clients to display the original short URL, and navigate via t.co. We also look up the full destination URL and return that too, allowing even clearer navigation of where you as a user will end up when following a link. You can see this implemented on twitter.com today: https://twitter.com/joshtpm/status/79283124747501568 * The URL destination points to t.co * The displayed text of the URL is a cropped and shortened version of the real URL * The title (tooltip) of the URL displays the full address of the destination. I've further illustrated it with a screenshot here:https://skitch.com/benward/frff8/ The documentation for the URL entities that provide all of this information in the API response is here:http://dev.twitter.com/pages/tweet_entities Ben -- Platform Developer, Twitter -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] What is the correct way to get user permission to publish a tweet
I have a client who wants to print tweets on t-shirts and other products. The API TOS says to get the users' permission, but doesn't say how. Is it enough to send them a tweet asking to use one of their past tweets, and then get a tweeted permission from them? Or does this permission have to be in writing? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Twitter API to Get the HashTags List
There are hundreds of thousands of unique hashtags in use, possibly millions. Collect tweets for your keywords, get the tags from the entities, put them into a database, and run a frequency distribution to find the most popular. On Tue, May 31, 2011 at 11:51 PM, Mohan Arun mar...@gmail.com wrote: Hai All, Is there any API to get the Hashtags list which are used in twitter? To my best of knowledge, there isnt a way to do this. i googled for it but i am not able to find any API for it. You can lookup the meaning of a given hashtag here: http://tagdef.com/ You could contact the developer to see if there would be a way to get a list of popular top 1000 hashtags. - Mohan http://www.mohanarun.com -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Adam Green Twitter API Consultant and Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Limit on sending DMs to opt-in users
I have a client who needs the following scenario: - Many users, potentially thousands or tens of thousands, will sign up to receive a daily DM from the client's site. With a limit of 250 DMs per day, the client wants to use each user's account to send a DM to that user. - These users will give the app permission to send DMs to their account through OAuth. - The app will use each user's OAuth credentials to send 1 DM to that user each day. So, John signs up and allows DMs with OAuth. John's OAuth tokens are used to have John's account send a DM to John. Question 1: Is it technically possible to send a DM to @john using the OAuth tokens for @john. Question 2: Is this model limited to 250 DMs per day? If the answer to question 1 is yes, it seems that this is really just 1 DM per account per day. Is this true, or is the app's account used to total up the DMs for the limit. Answer to expected comments: yes, I know the client could use email. They want to use DMs. They want this to be a Twitter system and feel that DMs let them stay within Twitter. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Issue - My twitter account won't load
Many (most?) Twitter pages have been failing to load for me and others working with me since the major outage last week. Either a blank page loads or just the top navbar. I've found that once the page initially loads, refreshing the page generally causes the full page to appear. This problem is intermittent, but frequent. On Tue, May 17, 2011 at 8:04 AM, Damon Parker cartmet...@gmail.com wrote: I doubt it's network related. http://twitter.com/#!/carlagasparian loads a blank page for me too from my location. -- damonp Sent with Sparrow http://www.sparrowmailapp.com On Monday, May 16, 2011 at 10:40 PM, Mohan Arun wrote: On May 15, 7:50 pm, Carla Gasparian Sartori carlagaspariansart...@gmail.com wrote: I have already tried to load my account @carlagasparian in several computers and in differentes IPs and it won't load since fryday the 13th. The page appears as if it were blank. My computer manged to load my settings, but not my timeline. Could it be because of some proxy from the place you are trying to access twitter? Check with your network administrator. -=Mohan=- -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Adam Green Twitter API Consultant and Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] app register error message in wrong language
This is a minor thing, but it appears my app description was too long... and the error message I got back looks like its in chinese (I'm not expert) 説明が長すぎます (最大200文字まで) Thanks! Adam -- 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: app register error message in wrong language
While I'm talking about minor app reg issues, there is a display issue (in chrome on os x). The details page for apps shows the consumer key on the same line as the edit and reset buttons. It looks like it's supposed to be a display type of block, pushing it down to the next line. This is minor, but worth pointing out. http://twitpic.com/4pqb9m Thanks again! Adam On Apr 26, 8:25 am, Adam Covati cov...@gmail.com wrote: This is a minor thing, but it appears my app description was too long... and the error message I got back looks like its in chinese (I'm not expert) 説明が長すぎます (最大200文字まで) Thanks! Adam -- 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] app register error message in wrong language
This may be related to the major breakage in account creation code that occurred last week. Twitter.com still seems to be responding in the wrong language (and changing between languages :)) when you create an account. 2011/4/26 Adam Covati cov...@gmail.com This is a minor thing, but it appears my app description was too long... and the error message I got back looks like its in chinese (I'm not expert) 説明が長すぎます (最大200文字まで) Thanks! Adam -- 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 Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- 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] What I want to see at a developer event
Actually, let me start with what I don't want to see: 1. Announcements of really cool features coming in the future, because we won't believe that they will ever appear (how are annotations coming along?). 2. Promises of greatly increased rate limits, because every announcement of that in the past failed to materialize. 3. Anything that is intended to wow us with the amazing future of what is back in the lab. See #1. 4. Biz Stone telling amusing anecdotes of all the famous people who have used Twitter. The story about the guy getting arrested in Egypt is moving, but we already watch the Daily Show. What is really needed is honest discussions about how to create better channels of communication between developers and the Twitter staff. Right now there is nothing beyond this forum. And yes, Taylor and Matt do a great job here. But outside this forum it has become accepted practice to ignore requests and say there isn't enough time to respond. I realize that there are millions of users who post silly questions on the support forum, but there has to be a higher level of access that a real developer can call on. If you held open discussions where other ways of communicating problems and suggested improvements could be hashed out, that would do a lot to improve the relationship with developers. The other thing that is needed is a discussion of how developer can become partners in mutually beneficial business relationships. No, we don't all have millions in VC, but collectively we influence millions of users, and we do that at no cost to Twitter. That is worth promoting. Finally, how about an open source process for creating docs and tutorials. I won't mention how bad the current docs are. What is more amazing is how incorrect they are. How about a real wiki that developers can contribute to. If you learn more from us than we learn from you, you will have run the right kind of event. -- 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] i just want to automate status tweets using one twitter account...
Another tutorial you can try for posting tweets with PHP and a single account is: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/ On Fri, Apr 22, 2011 at 10:47 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi There, We have a article that helps point you in the right direction for this scenario -- you still need to implement some of OAuth, but we simplify a number of the token negotiation steps for you: http://dev.twitter.com/pages/oauth_single_token After creating an application, you can retrieve the access token (credentials that identify you as your user to Twitter from your application) from dev.twitter.com, which combined with your API key and secret is everything you need to make authenticated requests with Twitter -- like posting statuses. @episod http://twitter.com/episod - Taylor Singletary On Thu, Apr 21, 2011 at 5:45 PM, wilbcorp unpaidint...@wilbcorp.comwrote: i have a twitter account... i have a registered app with twitter... all i want to do is automatically post status updates to my twitter account using PHP... unfortunately, i've gone through numerous tutorials that don't seem to function... to be clear, i don't want to create an app that allows other users to post to their accounts, i only want to post to my twitter account. can anyone help me get started? 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 -- Adam Green Twitter API Consultant and Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- 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] Unable to retweet using statuses/retweet
I found the answer here: http://stackoverflow.com/questions/4674240/how-do-i-format-a-retweet-request-through-the-abraham-twitteroauth-php-class Funny that the try it example in the dev.twitter.com/doc page made the same mistake I did and delivers the same error. http://dev.twitter.com/doc/post/statuses/retweet/:id On Wed, Apr 20, 2011 at 8:55 PM, Adam Green 140...@gmail.com wrote: I'm trying to build some retweeting code and am unable to get / statuses/retweet to work. I keep getting an error of: {request:\/1\/statuses\/retweet.json,error:Not found} I thought I may have been doing something incorrect, even though I used exactly the same code format that I use for other OAuth REST calls that worked correctly, such as statuses/destroy. I then tried the API console example in the API docs, and got the same error, and this was with the canned arguments, so it couldn't be my code. So I'm wondering if there is some documentation error and this API call has changed. The fact that the doc page incorrectly says authentication isn't needed doesn't give me a lot of confidence as well. Can someone tell me what API call they use to do a retweet? -- 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 Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- 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] Unable to retweet using statuses/retweet
I'm trying to build some retweeting code and am unable to get / statuses/retweet to work. I keep getting an error of: {request:\/1\/statuses\/retweet.json,error:Not found} I thought I may have been doing something incorrect, even though I used exactly the same code format that I use for other OAuth REST calls that worked correctly, such as statuses/destroy. I then tried the API console example in the API docs, and got the same error, and this was with the canned arguments, so it couldn't be my code. So I'm wondering if there is some documentation error and this API call has changed. The fact that the doc page incorrectly says authentication isn't needed doesn't give me a lot of confidence as well. Can someone tell me what API call they use to do a retweet? -- 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] What is the hourly limit on retweets?
I need to set up an automatic retweeting capability for a client who wants to hold debates on Twitter. The basic idea is that 10-20 people would be tweeting using a predefined tag. My code would follow all of these users with the streaming API, and any tweets they send with this tag would be retweeted by an account that acts as the aggregator for all the debaters. They only want tweets from these users to be retweeted. This means that anyone who wants to follow the debate could just follow the aggregation account. This is better than using search to follow a tag, because only tweets by the specified users would be retweeted. Anyone could read this debate, but only specific users could add to the debate. My question is how many tweets can be retweeted by a single account in an hour? The docs are predictably obscure: The Update Limit of 1,000 updates per day is further broken down into semi-hourly intervals. If you hit your account update limit, please try again in a few hours after the limit-period has elapsed. Does this mean that within 1 hour only 1000/24 = 42 retweets could be sent? Or does it mean something else? -- 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] need twitter spam for a research project
It depends on what type of spam you are looking for. Do you mean tweet spam, follow spam, or DM spam? For tweet spam, use search.twitter.com and look for words that have commercial value. To get spam followers, create a test account and tweet with those same words. They'll find you. For DM spam, follow back the spam followers. The classic signature of a spam follower is a screen name made up of a girl's first name followed by 3-4 digits. On Sun, Apr 3, 2011 at 9:19 PM, Jeff Tucker fred.f.cho...@gmail.com wrote: I'm conducting a research project involving proactively identifying twitter spam accounts before they actually start spamming. I've observed that some spammers attempt to create tweets that look like they're a legitimate account prior to actually sending spam and my project is to be able to identify those accounts as soon as they pop up. Unfortunately (I can't believe that I'm writing this) I am having a hard time getting spammers to actually spam me. Is there any way that I can somehow get access to the tweets of several dozen spam accounts (prior to when they're shut down) so that I can see what they're posting? Is this possible somehow? Also, if anyone gets spammed regularly, are you interested in helping me out with my research? No guarantee that I'll actually publish this, but anyone interested will be credited in my paper in the acknowledgements. Thanks -Jeff Tucker Lecturer, DigiPen Institute of Technology www.digipen.edu -- 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 Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- 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: Streaming API Rate Limiting
All of my experiences with geotagging show that about 0.3% to 0.5% of tweets have these codes. I'd be curious to know if that matches what others have found. On Fri, Apr 1, 2011 at 2:40 PM, Augusto Santos augu...@gemeos.org wrote: Sorry Colin, but where did you get this information? Doesn't match with the reality. Not at all. On Fri, Apr 1, 2011 at 12:35 PM, Colin Surprenant colin.surpren...@gmail.com wrote: As a side note, currently only 3-4% of the total tweets (firehose) are geo-tagged and are eligible to be selected in a stream location bounding box. If the current firehose rate is about 140M tweets/day, that makes ~5M eligible tweets/day. I do not know what the proportion of tweets from the US is but I would think 50% seem reasonable and would result in ~2.5M tweets/day. Even if we lower that proportion, your 50 000 tweets/day seems way off. There are 3 possibilities, 1) you are being rate limited more than you think, 2) your bounding box is wrong or 3) your bounding box is too large and Twitter has reduced it somehow. I remember I read somewhere in the api doc that each bounding box could not be more than 1 degree square enough to cover most metropolitan areas - but I cannot find that back. Colin On Mar 31, 4:08 pm, Data Gatherer gatherer...@gmail.com wrote: We have a bounding box set for the United States. Even though it's a large box, we only receive about 50,000 tweets a day. However, I see that we get rate limited at least once a week already. The box is large, but the number of matching results is fairly low. Knowing how the rate limiting works more specifically would be important when trying to gather data for other projects (more bounding boxes, other keywords). On Mar 31, 3:50 pm, Jeremy Dunck jdu...@gmail.com wrote: On Thu, Mar 31, 2011 at 2:48 PM, Augusto Santos augu...@gemeos.org wrote: No it won't. Streaming has rate limit with around 1% of firehose, if your search term os too much generic. If your search term or bouding box get too many tweets, you will start receive 'limit' status message as doc said. http://dev.twitter.com/pages/streaming_api_concepts#parsing-responses Sure, I understand that, I just meant to say that 1% of all tweets is a lot (140M average per day now). If your terms are not very general, you have a lot of head room. -- 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 -- Adam Green Twitter API Consultant and Analyst http://140dev.com, @140dev http://2012twit.com, @2012twit 781-879-2960 -- 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: Introducing Web Intents
It is so easy for people on the outside to tie together a company's actions into a convenient timeline that doesn't actually reflect the order of events, but the timing of this announcement just screams for a convenient narrative: 1. Ryan tells everyone to stop building Twitter clients. 2. Twitter world explodes and entire tech blogosphere decides that Twitter is at war with developers. 3. Jack announces that he is back and is taking over product direction. 4. Ev announces that he is leaving his role in product direction. 5. This new system is released whose sole purpose is to encourage developers to build clients, and most amazingly of all its documented. I'm sure these are all random events, but it sure looks like a related chain of events to me. Either way, I'm thrilled that you've apparently made it so easy to build client features into apps. That is a huge advance that will reap benefits for Twitter, developers and users. Now maybe you'll decide that the current OAuth system was a mistake, and streamlining that in the same way will open up API development for the masses of coders who have felt locked out by the complexity. BTW, Brian, thanks so much for not warning us about the high bar you expect us to jump over, and how we will be shut off instantly if we miss. That is my favorite part of your announcement. Well done! It is the first major Twitter announcement I've read in many months that didn't send a chill down my spine. - Adam Green Twitter API Developer @140dev http://140dev.com http://2012twit.com On Mar 30, 5:30 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: While platform.twitter.com/widgets.js doesn't yet support HTTPS, you can take the inline pop-up Javascript code featured near the bottom of the documentation (the Optimization section) and store it on your own server to support HTTPS -- with the added benefit of removing an external dependency. Javascript is not necessary to use Web Intents, it only makes the pop-up code easier. Web Intents are also accessible from HTML alone. Web Intents are mobile browser ready -- and the Tweet Button has also been upgraded to also work in mobile contexts. @episod http://twitter.com/episod - Taylor Singletary On Wed, Mar 30, 2011 at 2:12 PM, Scott Wilcox sc...@dor.ky wrote: Another point I consider to be important, when will platform.twitter.comget HTTPS? Scott. On 30 Mar 2011, at 22:07, Tom van der Woerdt wrote: I wonder... Why is the script tag included in the example when the 3 lines below it don't actually use javascript? Does the widgets.js code automatically transform the buttons? That would be a bad thing... Besides that, I like it. I haven't checked yet, but is there a mobile version ready as well? Tom On 3/30/11 11:04 PM, Brian Ellin wrote: Developers, users, and journalists are finding more creative ways to use Tweets on the web to leverage the power of the network to spread news. In the past it’s been difficult to make these Tweets interactive, requiring you to write an OAuth app simply to attach Reply, Retweet, and Favorite actions to Tweets. Today we’re releasing a simple new addition to the API called Web Intents that makes it possible to make Tweets that you display on the web interactive. Web Intents provide popup optimized flows for all the ways you interact with Tweets and users on Twitter: Tweet, Reply, Retweet, Favorite, and Follow. The new tool makes it possible for users to interact with Twitter content in the context of your site, without leaving the page or having to authorize a new app just for the interaction. Web intents are mobile friendly and easy to implement. For example, here’s how you add Reply, Retweet, and Favorite links to a specific Tweet: script type=text/javascript src=http://platform.twitter.com/widgets.js /script pa href=http://twitter.com/intent/tweet?in_reply_to=51113028241989632 Reply/a/p pa href=http://twitter.com/intent/retweet?tweet_id=51113028241989632 Retweet/a/p pa href=http://twitter.com/intent/favorite?tweet_id=51113028241989632 Favorite/a/p Detailed documentation is available at http://dev.twitter.com/pages/intents To see Web Intents in action check out Wordpress.com’s great tool for quoting Tweets in blog posts: Twitter Blackbird Piehttp://en.support.wordpress.com/twitter-blackbird-pie/. Here's a post that uses their tool to quote @jack's Tweets about our 5 year anniversary http://techcrunch.com/2011/03/13/twitters-beginning/. We’ve also added these standard Tweet actions to our timeline widgetshttps://twitter.com/about/resources/widgetsthat are used all over the web. We’ve also updated the display guidelineshttp://dev.twitter.com/pages/display_guidelines with some suggestions on how to make your Tweets actionable, and made the standard Reply, Retweet and Favorite icons available for downloadhttps://dev.twitter.com/pages/image-resources
Re: [twitter-dev] app to block all users ending with numerals
What if Twitter just suspended anyone who followed more than 1,000 users without ever having tweeted? But then their membership would sink dramatically. How about not allowing following past 100 users without tweeting at least once. What is the point of these accounts anyway, unless they are being built up and then sold? They can't be used for spam, since they don't tweet, and generally don't have URLs in their profiles. On Fri, Mar 25, 2011 at 10:47 AM, Dean Collins d...@cognation.net wrote: Lol, someone want to write me an app that blocks all users where their username ends with two or three numbers. This is getting ridiculous. Seems like something that would be pretty easy to achieve via the API don’t you think? Cheers, Dean -- 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
[twitter-dev] Re: setFollow Filter mentions
I use this technique also to limit tweets to just the ones I'm explicitly following, but you'll find that the in_array() PHP function makes this easier than creating separate tests for each user_id. I create an array of user_ids I want to follow, pass this array to Phirehose, and then compare the user_id of each tweet I receive to this array. On Mar 25, 11:24 am, Hope R. h...@flagshiptv.com wrote: Yes - I just added an if statement in parse_tweets.php after line 48: //get list of acceptable userids if ($user_id == 123456789 || $user_id == 234567890 || $user_id == 345678901) { With a closing tag at the bottom before the sleep (); statement. Works great for me! On Thu, Mar 24, 2011 at 8:43 PM, Riley digitalsimplif...@gmail.com wrote: I am having the same issue, if anyone is able to help out that would be great! Hope: Have you been able to solve this issue? -Riley -- 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] I found a good solution for PHP language detection in tweets
This has been a problem with collecting tweets from the API since I started working with it. My users only want English tweets and they view non-English tweets that I deliver to be a bug in my software. The lang=en argument in the search API only filters a small percentage of this, and I know of no way to do any filtering in the streaming API. I started working with the PHP library call LanguageDetect a few days ago, and it is doing a great job. http://pear.php.net/package/Text_LanguageDetect/ I tested it by filtering 40,000 recent tweets about @barackobama from my 2012twit.com site, and it found almost 20% of the tweets to be non- English. I screened the ones it found as non-English by hand, and found less than a 1% false positive rate. That means I lost 0.2% of the total flow to false positives to eliminate a 20% non-English rate. Pretty good for a solution that is small, about 2,500 lines of code, fast, open source, and free. I use it in my tweet parse phase of tweet collection. First I gather tweets into a MySQL cache with Phirehose, and then I parse the cached tweets into a normalized scheme. During this parsing phase I screen each tweet with LanguageDetect. The additional processing time of language detection is unnoticeable. The only limitation I found is that it doesn't detect Chinese or Japanese, but I think I can find other solutions for this. If anyone knows of a simple PHP detection algorithm for these languages, please let me know. - Adam Green Twitter API Developer http://2012twit.com 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
[twitter-dev] Are embedded videos available through the API?
I have a client who wants to extract videos that are embedded in tweets and displayed in the new Twitter UI. I realized that I have never seen anything here about this issue. A check of the docs shows nothing on this, and using the relevant API calls for statuses doesn't return any fields related to embedded media. Is this available through the API? The other way I can see doing this is looking for entity URLs from YouTube and other video sites, but I was hoping there was something more direct. -- 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: Are embedded videos available through the API?
Thanks. I am aware of the entity URLs. I thought the API may have something else, but my guess is that the new UI does what I would do, which is look for URLs from known sources and then display them in the appropriate player. On Sat, Mar 19, 2011 at 7:51 PM, Tim Bull t...@trunk.ly wrote: Have you looked at embed.ly? You can use the entities to extract the URLs really easily too http://developer.twitter.com/pages/tweet_entities Tim On Mar 20, 10:44 am, Scott Wilcox sc...@dor.ky wrote: Hi Adam, I've not seen anything API side for it (for public use), I think mostly its built into the NewTwitter UI. Probably rendered inline. It'll be interested to see Ryan or Taylor respond to this, but I doubt there is anything for us to use. Scott. On 19 Mar 2011, at 23:38, Adam Green wrote: I have a client who wants to extract videos that are embedded in tweets and displayed in the new Twitter UI. I realized that I have never seen anything here about this issue. A check of the docs shows nothing on this, and using the relevant API calls for statuses doesn't return any fields related to embedded media. Is this available through the API? The other way I can see doing this is looking for entity URLs from YouTube and other video sites, but I was hoping there was something more direct. -- 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
[twitter-dev] New form of follow spam
Is anyone else seeing this? I'm getting a very odd type of follower. These are accounts that have 0 tweets, and yet are following thousands of people and being followed back by large numbers. I understand follow spam when you have some message to spread, but this is confusing. Is the goal to create accounts with followers that can be sold? What can be the purpose? Should Twitter add this to their spam follow detection? These accounts have more than the 2,000 friends limit. Seem's like this type of following with no tweets should be blocked, because it must confuse users, and that is something Twitter doesn't want. Also these accounts seem more human. They have pictures that are not partially clothed models, and they don't have the spam screen name formula of a female first name followed by 4 digits. Could these accounts be for actual humans who just want to read certain twitter accounts, so they use following as a way of creating a reading list? -- 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: consistency and ecosystem opportunities
That is perfectly clear, Ryan. The fact that people are still asking if they have Twitter's permission to build a client and writing blog posts that say they don't, shows that there is still confusion out there. My goal throughout this has been to get simple statements like yours into this list from Twitter HQ that eliminate the confusion. If someone at Twitter could be given the task of saying what you just said every time someone asks Why can't I build a client?, or Does this mean I have to stop building my client?, the confusion will eventually be removed. It may take days or weeks to reverse all the negative press. In the future, please remember that every time you mention the hundreds of apps you turn off each week developers stop reading anything else. It is not a good way to start a conversation. Thanks for your patience. On Tue, Mar 15, 2011 at 9:28 PM, Ryan Sarver rsar...@twitter.com wrote: Adam, I don't know how else to make this any more clear. As long as you stay within the rules, your app will not get shut off. We would like to see, and recommend that, developers focus on bigger opportunities with more potential than writing another consumer client app. -- Ryan Sarver @rsarver On Mon, Mar 14, 2011 at 9:28 AM, Adam Green 140...@gmail.com wrote: But you will allow it, right? Even if it is thinking small, it will not be blocked? That is our problem. We can't separate business advice from a warning to prepare to be cut off. We can't help watching the hand that holds the kill switch. It makes it hard to hear what you say. Have patience, and keep explaining please. If something will not cause a ban, then say this explicitly to us. Don't just think it was implied. On Mon, Mar 14, 2011 at 11:20 AM, Raffi Krikorian ra...@twitter.com wrote: my statement here was not providing small on the size of the company, but rather, small on the size of the idea. to re-iterate, making a piece of software that simply renders home_timeline is thinking too small. On Sun, Mar 13, 2011 at 6:21 PM, Lil Peck lilp...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:45 PM, @siculars sicul...@gmail.com wrote: @raffi @rsarver, I wrote up my two cents earlier, http://siculars.posterous.com/twitter-monoculture. I just don't appreciate the direction you all are going in. @raffi, I spoke with you at the CU recruiting event a few weeks back and I got to tell you that if I were asked I would tell those kids to reconsider working at twitter and possibly consider a Twitter competitor. you say building clients is ... Thinking too small I would say your policy change is thinking small and alienating your ardent supporters. To which I would add, what is Twitter to arbitrate that which is and is not too small? Has Twitter subscribed to the fallacious bigger is always better philosophy? How small is too small? Less than $25 million in startup funds? OR One creative, fun loving person and their sweat equity? -- 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 -- Raffi Krikorian Twitter, Application Services http://twitter.com/raffi -- 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 -- 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
[twitter-dev] Please hire a developer relations manager
First of all, I honestly believe that Twitter HQ values developers and appreciates their contribution. That is why I decided to devote myself to this area a couple of years ago. I was amazed that when a dev reported a problem the engineer responsible replied here and tried to solve it. That is better than any big product I know of today. That is why you have so many developers putting in all this work. I also believe that the last few announcements from Ryan and others have been the worst examples of third party developer management I have seen in 30 years in this business. I can see what Ryan wanted to accomplish in his latest message. He wanted to provide guidance. He ended up telling us that Twitter no longer wanted anyone to build clients, didn't explain clearly what a client meant to him, and pointed out that hundreds of apps that fail to meet his undefined high bar were cut off every week. Not good. Sorry, Ryan. You are right. You are not good at communicating with third party developers. At least not in written form. You look like a very cool guy with a lot of personal charm. Maybe it works better in person. You should spend some time talking directly to developers in small groups. It might help you develop some canned responses that work. Here is a simple way this could have been prevented. If you had a developer relations person with experience and skills in dealing with third party developers, who have completely different motivations from in-house coders, he or she could have quietly passed around a draft of what you wanted to say. This would have gotten very strong negative reactions. You would have been able to reformulate it to strip out the implied threats and turn it into a positive roadmap. It could have been framed as Here are some areas we promise to leave open for developers. If you work here, we will give you all kinds of extra support and promotion. Here is another simple way this could have been prevented. Create an advisory board of developers. Rotate people through it every 6-12 months. Let them vet announcements in advance. Let them respond to the questions. It works in every other company I have worked with. Here is what could be done instead of these repeated bombs you keep dropping on the community. Give people a present. Announce that you will use some of your precious ad space to promote third party apps, and not just the ones with millions of dollars of VC who happen to work in your building. Find new ways to rev share with developers. Offer all expense paid trips to select developers to visit your office for a day to hang out. HOLD A DEVELOPERS CONFERENCE. There are many other things a good developer relations person could do. Talk to Guy. That is how he started for Apple. One last thing. Give this developer relations person a seat at the table when big decisions are made. I can read lots of signals, like this high bar nonsense, that there are negative attitudes inside Twitter towards developers. They are a pain in the ass. Yes. But they do hundreds of millions of dollars in development and promotion for you for free. Hire someone good for $100K+. Give them a million dollar budget to really take care of developers and run conferences and get togethers around the world. It will pay off many times over. -- 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] Please hire a developer relations manager
Matt and Taylor do a great job of answering technical questions and being a liason with engineers on developers behalf. That is a technical task. They do it well. A developer relations manager's job is to create and manage programs that reach out to developers, make sure real docs are produced, provide business support (ads, trips, rev share, etc.), and run small and large events that help build a community of passionate developers around a product. It is a completely different job from what Matt and Taylor do. I hate to use the P word with this group, but it is really public relations aimed at developers. it is not just business relations, because many developers aren't businesses, but they contribute greatly to Twitter's growth. A developer relations manager would talk to devs constantly and bring back this feedback to be applied against future communications. Objectively, based on the results here and in the tech press, nobody could claim this last communication was a success. Right? Whatever was meant and said, it was a disaster. A developer relations manager who was given a real budget and some say in communications would have avoided this. On Mon, Mar 14, 2011 at 10:13 AM, Tom van der Woerdt i...@tvdw.eu wrote: Isn't what you are describing the task of a developer advocate, Taylor Singletary and Matt Harris (and others?)? Tom On 3/14/11 2:44 PM, Adam Green wrote: First of all, I honestly believe that Twitter HQ values developers and appreciates their contribution. That is why I decided to devote myself to this area a couple of years ago. I was amazed that when a dev reported a problem the engineer responsible replied here and tried to solve it. That is better than any big product I know of today. That is why you have so many developers putting in all this work. I also believe that the last few announcements from Ryan and others have been the worst examples of third party developer management I have seen in 30 years in this business. I can see what Ryan wanted to accomplish in his latest message. He wanted to provide guidance. He ended up telling us that Twitter no longer wanted anyone to build clients, didn't explain clearly what a client meant to him, and pointed out that hundreds of apps that fail to meet his undefined high bar were cut off every week. Not good. Sorry, Ryan. You are right. You are not good at communicating with third party developers. At least not in written form. You look like a very cool guy with a lot of personal charm. Maybe it works better in person. You should spend some time talking directly to developers in small groups. It might help you develop some canned responses that work. Here is a simple way this could have been prevented. If you had a developer relations person with experience and skills in dealing with third party developers, who have completely different motivations from in-house coders, he or she could have quietly passed around a draft of what you wanted to say. This would have gotten very strong negative reactions. You would have been able to reformulate it to strip out the implied threats and turn it into a positive roadmap. It could have been framed as Here are some areas we promise to leave open for developers. If you work here, we will give you all kinds of extra support and promotion. Here is another simple way this could have been prevented. Create an advisory board of developers. Rotate people through it every 6-12 months. Let them vet announcements in advance. Let them respond to the questions. It works in every other company I have worked with. Here is what could be done instead of these repeated bombs you keep dropping on the community. Give people a present. Announce that you will use some of your precious ad space to promote third party apps, and not just the ones with millions of dollars of VC who happen to work in your building. Find new ways to rev share with developers. Offer all expense paid trips to select developers to visit your office for a day to hang out. HOLD A DEVELOPERS CONFERENCE. There are many other things a good developer relations person could do. Talk to Guy. That is how he started for Apple. One last thing. Give this developer relations person a seat at the table when big decisions are made. I can read lots of signals, like this high bar nonsense, that there are negative attitudes inside Twitter towards developers. They are a pain in the ass. Yes. But they do hundreds of millions of dollars in development and promotion for you for free. Hire someone good for $100K+. Give them a million dollar budget to really take care of developers and run conferences and get togethers around the world. It will pay off many times over. -- 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
Re: [twitter-dev] Re: consistency and ecosystem opportunities
But you will allow it, right? Even if it is thinking small, it will not be blocked? That is our problem. We can't separate business advice from a warning to prepare to be cut off. We can't help watching the hand that holds the kill switch. It makes it hard to hear what you say. Have patience, and keep explaining please. If something will not cause a ban, then say this explicitly to us. Don't just think it was implied. On Mon, Mar 14, 2011 at 11:20 AM, Raffi Krikorian ra...@twitter.com wrote: my statement here was not providing small on the size of the company, but rather, small on the size of the idea. to re-iterate, making a piece of software that simply renders home_timeline is thinking too small. On Sun, Mar 13, 2011 at 6:21 PM, Lil Peck lilp...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:45 PM, @siculars sicul...@gmail.com wrote: @raffi @rsarver, I wrote up my two cents earlier, http://siculars.posterous.com/twitter-monoculture. I just don't appreciate the direction you all are going in. @raffi, I spoke with you at the CU recruiting event a few weeks back and I got to tell you that if I were asked I would tell those kids to reconsider working at twitter and possibly consider a Twitter competitor. you say building clients is ... Thinking too small I would say your policy change is thinking small and alienating your ardent supporters. To which I would add, what is Twitter to arbitrate that which is and is not too small? Has Twitter subscribed to the fallacious bigger is always better philosophy? How small is too small? Less than $25 million in startup funds? OR One creative, fun loving person and their sweat equity? -- 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 -- Raffi Krikorian Twitter, Application Services http://twitter.com/raffi -- 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] Please hire a developer relations manager
I've been getting emails saying that this message was a request to replace Ryan. That was not my intent. I am suggesting that he be given someone to help with developer communications. His job title implies that he does much beside sending out these cheery notes to developers. He should have a full-time person to do this and much else to improve developer relations instead. If this was seen as an attack on Ryan, I apologize. I recognize the irony of my critique of his message as an attack on us being seen as an attack on him. It was meant to be a suggestion for a better way to work together. On Mon, Mar 14, 2011 at 9:44 AM, Adam Green 140...@gmail.com wrote: First of all, I honestly believe that Twitter HQ values developers and appreciates their contribution. That is why I decided to devote myself to this area a couple of years ago. I was amazed that when a dev reported a problem the engineer responsible replied here and tried to solve it. That is better than any big product I know of today. That is why you have so many developers putting in all this work. I also believe that the last few announcements from Ryan and others have been the worst examples of third party developer management I have seen in 30 years in this business. I can see what Ryan wanted to accomplish in his latest message. He wanted to provide guidance. He ended up telling us that Twitter no longer wanted anyone to build clients, didn't explain clearly what a client meant to him, and pointed out that hundreds of apps that fail to meet his undefined high bar were cut off every week. Not good. Sorry, Ryan. You are right. You are not good at communicating with third party developers. At least not in written form. You look like a very cool guy with a lot of personal charm. Maybe it works better in person. You should spend some time talking directly to developers in small groups. It might help you develop some canned responses that work. Here is a simple way this could have been prevented. If you had a developer relations person with experience and skills in dealing with third party developers, who have completely different motivations from in-house coders, he or she could have quietly passed around a draft of what you wanted to say. This would have gotten very strong negative reactions. You would have been able to reformulate it to strip out the implied threats and turn it into a positive roadmap. It could have been framed as Here are some areas we promise to leave open for developers. If you work here, we will give you all kinds of extra support and promotion. Here is another simple way this could have been prevented. Create an advisory board of developers. Rotate people through it every 6-12 months. Let them vet announcements in advance. Let them respond to the questions. It works in every other company I have worked with. Here is what could be done instead of these repeated bombs you keep dropping on the community. Give people a present. Announce that you will use some of your precious ad space to promote third party apps, and not just the ones with millions of dollars of VC who happen to work in your building. Find new ways to rev share with developers. Offer all expense paid trips to select developers to visit your office for a day to hang out. HOLD A DEVELOPERS CONFERENCE. There are many other things a good developer relations person could do. Talk to Guy. That is how he started for Apple. One last thing. Give this developer relations person a seat at the table when big decisions are made. I can read lots of signals, like this high bar nonsense, that there are negative attitudes inside Twitter towards developers. They are a pain in the ass. Yes. But they do hundreds of millions of dollars in development and promotion for you for free. Hire someone good for $100K+. Give them a million dollar budget to really take care of developers and run conferences and get togethers around the world. It will pay off many times over. -- 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: consistency and ecosystem opportunities
Yes! Transparency! That is what we are really craving. That is the subtext for every developer responding to this thread. What we all want is transparency about being shut down. Why does Twitter revoke literally hundreds of API tokens / apps a week as Ryan said? Is it for something obvious, like pumping out thousand of spam tweets or abusive follows, or is it for something innocent, like not putting the right text on a tweet button? I have never seen a description of an app that was blocked, except for a few loons like Edward H. What if you told us about apps that get blocked as examples, and explain what they did wrong? You don't even have to identify them by name. Just explain exactly what type of transgressions are causing rejection. That could calm people down. Who doesn't meet the high bar and why? I know high bar has a lot of meaning to you Twitter guys, since you all use the same term (a real example of groupthink, BTW), but it means nothing to us. Tell us where this high bar is exactly, by showing examples of not reaching it. Then we can learn and improve, rather than guessing at what you mean. Nobody here would bitch and moan if they didn't really want to learn something. Please, help us by giving us examples. On Mon, Mar 14, 2011 at 12:07 AM, Matt Harris mhar...@twitter.com wrote: Innovation and development with the APIs are not being prevented. There have always been guidelines, and rules of the road so we all know what is and isn't allowed. If you build a client you are touching the majority of Twitter features. The APIs allow you to do this, and Twitter and your users trust you to use them in the way the terms or service allow. The high bar covers your use of these methods, and how you present information back to the user. The ToS covers this but there are always situations where the application of them isn't clear. — Let's have those discussions with your use cases applied for the benefit of everyone. The direction, and motivation here is transparency. You asked us what it looks like from the inside out. It can be uncomfortable, sure, but I believe it's better we all know how it looks on both sides. Without us saying how we see it, how can we have these discussions? @themattharris On Mar 13, 2011, at 20:21, Lil Peck lilp...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:45 PM, @siculars sicul...@gmail.com wrote: @raffi @rsarver, I wrote up my two cents earlier, http://siculars.posterous.com/twitter-monoculture. I just don't appreciate the direction you all are going in. @raffi, I spoke with you at the CU recruiting event a few weeks back and I got to tell you that if I were asked I would tell those kids to reconsider working at twitter and possibly consider a Twitter competitor. you say building clients is ... Thinking too small I would say your policy change is thinking small and alienating your ardent supporters. To which I would add, what is Twitter to arbitrate that which is and is not too small? Has Twitter subscribed to the fallacious bigger is always better philosophy? How small is too small? Less than $25 million in startup funds? OR One creative, fun loving person and their sweat equity? -- 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 -- 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: consistency and ecosystem opportunities
Interesting that neither Ryan or anyone else from Twitter has replied once to any of the questions here, (way to go on showing your interest in the developer community, Ryan), so I'll address this question to everyone else in the group. I don't read Ryan's message as demanding that apps are no longer allowed to send tweets on behalf of users. Is that supposed to be what he said? I think he is saying that apps should be more than *just* clients that let you read and post tweets. How to tell the difference, I have no idea, but I think in Ryan's mind there is a difference. I'll ask it as clearly as I can. Is it still allowed for an app to accept a tweet from a user and post it into their account? Is the /statuses/update api call still allowed in an app? Let's not wait for Twitter to respond, since they clearly don't want to any longer. Let's try and figure this out ourselves. What does everyone think? Can apps still send tweets? If yes, there is still a market for Twitter API developers. If not, the Twitter API is over. It is that simple. Maybe Ryan or anyone from Twitter can also find the time to answer this. On Sat, Mar 12, 2011 at 6:45 PM, Duane Roelands duane.roela...@gmail.comwrote: Wow. Thanks for getting so many people interested in Twitter. Now get lost. This is appalling. -- 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] consistency and ecosystem opportunities
I agree, Scott. Ryan didn't say you can't post tweets, but everyone heard that. Every tech blog repeated it. Ryan should take a minute and explain that it isn't true. That much would help a lot. He led by saying don't build a client. That is where people stopped reading. I don't think he meant to tell people that apps can't tweet, but he did give that impression. Now he should come back and say, Sorry guys. I gave you the wrong impression. Here are specifically the things you can still do. Don't just point to companies with $10M in VC funds each and say No problem, just be like them. These are API developers. Say it in terms of the API. Exactly which API calls are still allowed. If he says statuses/update is still allowed, then that answers the question. There is no ambiguity. As for Twitter being free. Yes. The API is, but denying the value that products like Tweetdeck gave Twitter *for free* is denying the reality of how Twitter got to where it is. It is called a partnership. They give us raw materials, we add value to them. We all benefit. On Sat, Mar 12, 2011 at 7:28 PM, Scott Wilcox sc...@dor.ky wrote: Hello, For a few days now I've read what people have said in reply to the update from Ryan. There are some crazy reactions and responses to what Ryan has said. In essence, the entire reaction is my opinion is completely overblown. Not in any sense what-so-ever have Twitter said that you can no longer post updates on behalf of users. Its ludicrous to suggest so. What they have have said (and in my opinion - quite clearly) is that it is better to direct your time and effort into a product that is not just a simple client and does more than just provide viewing and posting of tweets. There are so many half-arsed clients out there that do little more than just show and post tweets. If by chance a user was to use these low grade applications as their first experience of Twitter, it would probably put them off using it in the long term. I do fully believe that is why they have released their own branded clients for iOS, Macs and other devices. It provides a consistent experience for the end-users. The other thing that people seem to completely overlook is that Twitter are providing a freely accessible API at no charge to developers. It pains me to see so many developers standing the moral high ground. If you were paying for access to a service or product and it changes, you have a very valid reason to complain. To complain about a service provided free of charge for you to use at the end of the day frustrates me to no end. No single developer has a god given right to have access to the API, perhaps that should be remembered. Scott. On 13 Mar 2011, at 00:16, Adam Green wrote: Interesting that neither Ryan or anyone else from Twitter has replied once to any of the questions here, (way to go on showing your interest in the developer community, Ryan), so I'll address this question to everyone else in the group. I don't read Ryan's message as demanding that apps are no longer allowed to send tweets on behalf of users. Is that supposed to be what he said? I think he is saying that apps should be more than *just* clients that let you read and post tweets. How to tell the difference, I have no idea, but I think in Ryan's mind there is a difference. I'll ask it as clearly as I can. Is it still allowed for an app to accept a tweet from a user and post it into their account? Is the /statuses/update api call still allowed in an app? Let's not wait for Twitter to respond, since they clearly don't want to any longer. Let's try and figure this out ourselves. What does everyone think? Can apps still send tweets? If yes, there is still a market for Twitter API developers. If not, the Twitter API is over. It is that simple. Maybe Ryan or anyone from Twitter can also find the time to answer this. On Sat, Mar 12, 2011 at 6:45 PM, Duane Roelands duane.roela...@gmail.comwrote: Wow. Thanks for getting so many people interested in Twitter. Now get lost. This is appalling. -- 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 -- 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
Re: [twitter-dev] Re: consistency and ecosystem opportunities
Thanks, Ryan. That helps a lot, and we should all repeat that to anyone who asks or says otherwise. So we have one answer. Tweeting in apps is still good. Now, can you explain what you mean by It's apps that render a user their timeline. Please answer this. Is displaying a list of tweets forbidden or allowed? If yes, is displaying a list of tweets *and* also providing functionality that lets the user post their own tweets allowed in the same app? That is really all we need to know. I won't ask you to explain why this isn't a client. :) On Sat, Mar 12, 2011 at 7:47 PM, Ryan Sarver rsar...@twitter.com wrote: Mike, a client is one that recreates the twitter experience, or in your words the primary experience. So I don't consider Instagram or Foursquare in that group. It's apps that render a user their timeline. Apps that post into Twitter are great and explicitly called out at the bottom of the email. Hope that helps clarify. Best, Ryan -- Ryan Sarver @rsarver http://twitter.com/rsarver On Fri, Mar 11, 2011 at 9:09 PM, Mike Champion mike.champ...@gmail.comwrote: Thanks for the clarification Ryan. Two questions: 1) Do you have a clear definition of what counts as a Twitter client? Is it any app/service that posts updates to Twitter, including apps like twitterfeed and Instapaper? Or is it only those apps that are primarily clients? I'm certainly familiar with the challenge of classifying apps ;) but wanted to know who will be covered by the ToS Section 1.5 and how you think about clients given Twitter's updated stance. 2) In section 1.5.A of the ToS it says: Your Client must use the Twitter API as the sole source for features that are substantially similar to functionality offered by Twitter. Some examples include trending topics, who to follow, and suggested user lists. Is the Who to follow functionality available via API from Twitter for clients that want to offer this? I wasn't aware that it been released as API but may have missed it on dev.twitter.com. Thanks, -mike On Mar 11, 3:47 pm, Eric Mill kproject...@gmail.com wrote: More specifically, developers ask us if they should build client apps that mimic or reproduce the mainstream Twitter consumer client experience. The answer is no. We need to ensure users can interact with Twitter the same way everywhere. I'm not sure you can say these things and simultaneously try to say you have a welcoming developer environment. All third party Twitter developers, no matter what they make, are now walking on eggshells, constantly at risk of offending Twitter's ideas of how users should interact with Twitter. You may feel you need this consistency, but you don't. You want it, and are willing to make tradeoffs to get it. I just hope you realize how big those tradeoffs are, and how chilling it is for Twitter to decide that only certain kinds of innovation on the Twitter API are welcome. -- Eric -- 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 -- 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] consistency and ecosystem opportunities
They should insert ads into the stream, and say we can't remove them. That would be great. I have no problem with that, providing they treat us with respect. Give us an appeal process with warning if they don't like what we build. I have no problem with them wanting to make money from things I build. I want to make money from things they give me. I want everyone to make money. Developers are not the problem. They are the solution. I can't help thinking there are people at high levels who sit around saying How do we shake off these damned parasites? If I'm wrong, maybe we can see a message from management that says Here is a new initiative or dev program that will help you make money with the API. We love what you guys do so much we want to reward you. We want you to be part of a partnership. That would be refreshing. On Sat, Mar 12, 2011 at 7:59 PM, Ellsass cpa...@gmail.com wrote: Scott, I don't think it's ludicrous to think that Twitter may eventually pull the plug on, say, statuses/home_timeline, effectively eliminating clients. If Twitter's concern is ad revenue, all they'd need to do is add a clause to their TOS specifying that all third-party clients must show in-line ads or the quickbar or whatever else Twitter uses to generate revenue. Then the issue is very clear for developers -- either integrate Twitter's revenue-producing content into your client, or don't make a client at all. The fact that they seem to be going about this a different way, and being a bit unclear as to what might happen to a client-only app, leaves open the possibility that they simply want to close down the market so the only access to one's timeline is via a first-party app. Scott Wilcox wrote: Hello, For a few days now I've read what people have said in reply to the update from Ryan. There are some crazy reactions and responses to what Ryan has said. In essence, the entire reaction is my opinion is completely overblown. Not in any sense what-so-ever have Twitter said that you can no longer post updates on behalf of users. Its ludicrous to suggest so. What they have have said (and in my opinion - quite clearly) is that it is better to direct your time and effort into a product that is not just a simple client and does more than just provide viewing and posting of tweets. There are so many half-arsed clients out there that do little more than just show and post tweets. If by chance a user was to use these low grade applications as their first experience of Twitter, it would probably put them off using it in the long term. I do fully believe that is why they have released their own branded clients for iOS, Macs and other devices. It provides a consistent experience for the end-users. The other thing that people seem to completely overlook is that Twitter are providing a freely accessible API at no charge to developers. It pains me to see so many developers standing the moral high ground. If you were paying for access to a service or product and it changes, you have a very valid reason to complain. To complain about a service provided free of charge for you to use at the end of the day frustrates me to no end. No single developer has a god given right to have access to the API, perhaps that should be remembered. Scott. On 13 Mar 2011, at 00:16, Adam Green wrote: Interesting that neither Ryan or anyone else from Twitter has replied once to any of the questions here, (way to go on showing your interest in the developer community, Ryan), so I'll address this question to everyone else in the group. I don't read Ryan's message as demanding that apps are no longer allowed to send tweets on behalf of users. Is that supposed to be what he said? I think he is saying that apps should be more than *just* clients that let you read and post tweets. How to tell the difference, I have no idea, but I think in Ryan's mind there is a difference. I'll ask it as clearly as I can. Is it still allowed for an app to accept a tweet from a user and post it into their account? Is the /statuses/update api call still allowed in an app? Let's not wait for Twitter to respond, since they clearly don't want to any longer. Let's try and figure this out ourselves. What does everyone think? Can apps still send tweets? If yes, there is still a market for Twitter API developers. If not, the Twitter API is over. It is that simple. Maybe Ryan or anyone from Twitter can also find the time to answer this. On Sat, Mar 12, 2011 at 6:45 PM, Duane Roelands duane.roela...@gmail.com wrote: Wow. Thanks for getting so many people interested in Twitter. Now get lost. This is appalling. -- 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
Re: [twitter-dev] Re: consistency and ecosystem opportunities
Raffi, do you really think a statement that insisted that all developers make sure that every single app presents tweets in exactly the same way, and that reminded those developers that Twitter shuts down hundreds of apps a day that fail to conform to the required presentation style, and that pointed to a TOS that went from 30 days warning to instant shutdown without any warning, would be read as Twitter urging everyone to innovate? On Sat, Mar 12, 2011 at 9:39 PM, Raffi Krikorian ra...@twitter.com wrote: in reading your blog post, i think you're misunderstanding what @*rsarver*wrote. the API is open -- i personally love seeing all the innovation around getting content into twitter (/1/status/update). there is a cafe in france who's oven tweets whenever its done baking. that uses the platform to get content in there. there was a NYU project that enabled your plants to tweet when they needed water. that uses the platform to get content into twitter. then there are people who match tweets to context. seeing twitter in action with a television show, or a newspaper article, or a conference, or a band -- that's how people really understand and get twitter. they see it through the lens of what's happening in the world. what @*rsarver* said, effectively, was building a business around *simply*rendering /1/statuses/home_timeline was probably-not-the-best-thing-to-do. please go still innovate. just don't bet money on simply making an API call to grabbing a user's home_timeline and rendering it. that's thinking too small, and @*rsarver* is telling you that. On Sat, Mar 12, 2011 at 4:29 PM, Shannon Whitley shannon.whit...@gmail.com wrote: I was hoping that Ryan was just a few weeks early for his April Fools' post. Don't build clients? It sounds like a bad joke. I wrote a letter to Ryan on my blog in response to this post: http://www.voiceoftech.com/swhitley/index.php/2011/03/a-letter-to-ryan-sarver/ I know you guys can't be serious about this. Stage a mutiny if you have to, but don't let this boneheaded decision stand. -- Raffi Krikorian Twitter, Application Services http://twitter.com/raffi -- 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: consistency and ecosystem opportunities
Can we get a definition of client? This seems to be where we are talking across each other. 1. Twitter HQ sees a client as an app that displays *only* a user's home time line and allows the user to tweet, retweet, follow, etc. 2. Developers see a client as an app that displays tweets from any source, including the home timeline *and* those that are curated by editors and algorithms, and allows the user to tweet, retweet, follow, etc. I think to Twitter HQ, these are two very different things. I believe that this is what Ryan was trying to say. I believe that Ryan was trying to say, don't build apps that *only* do 1. You will have more luck with 2. Developers heard don't build apps that do 2 or you will be instantly shut down. If Ryan hadn't combined his message with things that inadvertently also were perceived as a threat of instant shutdown as a result of an innocent misunderstanding of the rules, his statement would have been taken as advice, rather than a threat. I believe he meant well. He failed. He should keep trying until everyone understands. That is his job. Or it should at least be someone's job. Collectively the developers are worth the effort. Hey, why not hold a conference, put everyone together, and talk until this is clear? You can afford it. We all need it. Your future IPO investors aren't stupid. Well, at least not all of them. It is not just your revenue numbers they will see. It is lots of either happy or unhappy developers. We will raise your valuation. Keep saying that to Dick and the Board. They need to understand that. On Sat, Mar 12, 2011 at 10:26 PM, Raffi Krikorian ra...@twitter.com wrote: is the twitter client what's the most useful thing there? i would think the algorithms and system to match tweets to that content is the most fruitful place for entrepreneurship? On Sat, Mar 12, 2011 at 7:22 PM, Shannon Whitley shannon.whit...@gmail.com wrote: Thanks, Raffi, but obviously I'm not the only one reaching these conclusions. If our interpretation is incorrect, then the policy isn't clear. Television shows, newspaper articles, and band pages are perfect examples of places where a Twitter client might be useful. I could build a full-featured Twitter client around a single news site and that might be the perfect solution for that set of users. Under the new guidelines, it sounds like I'd be shutdown. On Mar 12, 6:39 pm, Raffi Krikorian ra...@twitter.com wrote: in reading your blog post, i think you're misunderstanding what @*rsarver*wrote. the API is open -- i personally love seeing all the innovation around getting content into twitter (/1/status/update). there is a cafe in france who's oven tweets whenever its done baking. that uses the platform to get content in there. there was a NYU project that enabled your plants to tweet when they needed water. that uses the platform to get content into twitter. then there are people who match tweets to context. seeing twitter in action with a television show, or a newspaper article, or a conference, or a band -- that's how people really understand and get twitter. they see it through the lens of what's happening in the world. what @*rsarver* said, effectively, was building a business around *simply*rendering /1/statuses/home_timeline was probably-not-the-best-thing-to-do. please go still innovate. just don't bet money on simply making an API call to grabbing a user's home_timeline and rendering it. that's thinking too small, and @*rsarver* is telling you that. On Sat, Mar 12, 2011 at 4:29 PM, Shannon Whitley shannon.whit...@gmail.comwrote: I was hoping that Ryan was just a few weeks early for his April Fools' post. Don't build clients? It sounds like a bad joke. I wrote a letter to Ryan on my blog in response to this post: http://www.voiceoftech.com/swhitley/index.php/2011/03/a-letter-to-rya. .. I know you guys can't be serious about this. Stage a mutiny if you have to, but don't let this boneheaded decision stand. -- Raffi Krikorian Twitter, Application Serviceshttp://twitter.com/raffi -- 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 -- Raffi Krikorian Twitter, Application Services http://twitter.com/raffi -- 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
[twitter-dev] Re: Twitter OAuth 401 Unauthorized
This code helped me understand the OAuth flow and it written in PHP with no libraries. https://github.com/joechung/oauth_twitter See the authors blog post about it here http://nullinfo.wordpress.com/oauth-twitter/ On Mar 10, 5:55 am, Tudor Claudiu Florea tudor.claudiu.flo...@gmail.com wrote: Hello, I am trying to build an application for twitter and in order to do that i need to build functions that post all requests to twitter only with pure PHP. no OAuth libraries or other user build libraries. problem is i always get the 401 unauthorized header. I have done twitter tutorial about this with theyr values(keys) and got same signature base and signature and everything else but when i input my data(secret key and stuff) all i get is 401 unauthorized This is a sample of my sent/received headers POST /oauth/request_token HTTP/1.1 Host:api.twitter.com:443 Content-Type: application/x-www-form-urlencoded Authorization:OAuth oauth_callback=http%3A%2F%2Fadme.ro %2Ftwitter_request.php,oauth_consumer_key=xxx..xxx,oauth_nonce=12997527 12,oauth_signature_method=HMAC- SHA1,oauth_timestamp=1299752712,oauth_version=1.0,signature=Mv2IRkcgC p3BNocBKFq8FJNN1OE %3D HTTP/1.1 401 Unauthorized Date: Thu, 10 Mar 2011 10:25:18 GMT Server: hi Status: 401 Unauthorized X-Transaction: 1299752718-94070-29343 Last-Modified: Thu, 10 Mar 2011 10:25:18 GMT X-Runtime: 0.00653 Content-Type: text/html; charset=utf-8 Content-Length: 44 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=93.114.42.59.1299752718223070; path=/; expires=Thu, 17- Mar-11 10:25:18 GMT; domain=.twitter.com Set-Cookie: guest_id=129975271823092185; path=/; expires=Sat, 09 Apr 2011 10:25:18 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCJePTJ8uAToHaWQiJTYwOGViZTRmYjYzY2Rm %250AYTI5NjM3NDRmZTNkODIwODg3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- c237f0c52f06bd5e58f547db67136857e092fa2f; domain=.twitter.com; path=/; HttpOnly Vary: Accept-Encoding Connection: close Failed to validate oauth signature and token Can someone help me with this? i ran out of ideeas ... -- 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: wait time for Site Streams whitelist ?
There are lots of ways to create website apps without using site streams. If you describe the type of things you want to do here, you will get plenty of advice. You don't have to reveal any secret plans. Just describe the type of data you need from Twitter and the type of changes you need to make to user accounts. On Wed, Mar 2, 2011 at 10:37 AM, hank777 hank...@gmail.com wrote: I just registered for site streams this morning because I did not realize that this was the only authorized way of building a website that uses twitter. We are trying to demo something at SXSW, and launch a few weeks after, and I am wondering if I cant use the other APIs because of rate limits or connection limits, and I cant use site streams because you are not accepting new developers, how do we move forward, or does this really mean no one should be developing new web site based applications right now if they are not in the beta program? Thanks, Hank On Feb 1, 10:36 am, Taylor Singletary taylorsinglet...@twitter.com wrote: We still have a number of tasks to accomplish before we can move to the next stage of the beta. Pending applications will be reviewed once they are actionable. Thanks for your patience. Taylor On Mon, Jan 31, 2011 at 7:20 PM, Jan Paricka jpari...@gmail.com wrote: Weeks upon weeks upon weeks. No joking. Jan On Tue, Feb 1, 2011 at 4:14 AM, paloalto sungh...@gmail.com wrote: How long does it take to get whitelisted for Site Streams API? I submitted a form to be whitelisted and have not received any confirmation e-mail. I am in the dark with no clue as to how long I should expect to wait. Sungho -- 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 -- 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] Rate limit
If you are logging every tag ever found in your search results, and then trying to search for them continuously, you need to change your model. Twitter will no longer allow that type of access. They have made this clear through words and actions. You should focus on tracking the tags that are used most often. It is a power curve. In every set of words I have studied, 100-200 tags get 80% of the traffic. Streaming allows you to track 400 words. Limit yourself to 400 of the most used tags. Any other expectation is unreasonable. On Mon, Feb 28, 2011 at 12:43 AM, manaf pm manaf...@gmail.com wrote: I have a website which grabs tweets from twitter.com within 20 minutes interval per day. I h ave stored thousands of hashtags in my database and search is occurring against these hash tags and user names. Right now there I need around 65000 search requests to be happened per day. Here comes the rate limit problem. As a result I am not getting desired search results for a long time. How can I over come this? Any replies are welcome and will be helpful to 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 -- 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] Rate limiting for streaming API
On Sat, Feb 19, 2011 at 7:52 AM, Tom van der Woerdt i...@tvdw.eu wrote: On 2/19/11 1:49 PM, Paresh Nakhe wrote: Hi, From what i understand, there is no concept of rate limiting for streaming api. Actually it does make sense because if anyone is to use 'statuses/sample' method (say) the limit will soon be crossed. We are working on something that will heavily use the streaming api, so if rate limiting is imposed in future it could create some problems. Are there any chances of such a restriction being imposed? There's no limit on the amount of tweets you can receive, but there's a limit on the amount of searches you can do, and the amount of connections you can have open. Responses here from Twitter staff and notes in the docs say that the sample (default) level of delivery is limited to 1% of all tweets. As long as your total flow is less than 1% of the firehose (all tweets) you are supposed to receive every tweet that matches your search terms. From my experience, you only receive about 95% of the tweets that match a set of search terms. I've never used a set of search terms that delivered anywhere near 1% of the total flow. Here are some numbers: - The total flow of all tweets is in the order of magnitude of 100,000,000 per day. - The sample stream should thus receive up to 1,000,000 tweets per day. - When I collect tweets based on search words that deliver about 10,000 tweets a day, I don't receive about 5% of the tweets that do match these terms. If getting *every* tweet that matches these terms is essential, I recommend combining streaming with backfilling. By backfilling I mean using the search API or timeline calls in the REST API to collect tweets that may have been missed by the streaming API. The result is real-time delivery of 95% of the tweets you need and eventual delivery of the remainder. Don't bother asking about future restrictions. That question will not be answered by Twitter HQ. -- 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 API vs. Search API: no API returns 95% of intented tweets
I don't get that big a discrepancy, but I do get different results from search and streaming. I use streaming for real-time delivery, and then either search or user timelines to backfill missing tweets. As long as the flow makes this possible within rate limits this gets me the greatest number of results, but still not 100%. I accept that 100% ain't gonna happen. You should get within your desired 95% though. That is a realistic goal. On Tue, Feb 15, 2011 at 6:36 AM, Karussell tableyourt...@googlemail.com wrote: Hi, this problem was already posted to the twitter4j mailing list [1]. Not sure if it is an issue with my code, twitter4j or an API issue... user reported similar problems in the past [2]. First: I'm doing a 100 tweet search (without paging) every 5 minutes e.g. against 'twitter search'. I get a set of tweets A - excluding the duplicates, of course. I get approx 5 new tweets for every 5 minutes, so 100 tweets as pageSize should be perfectly sufficient to get all tweets. Second: When I'm doing a streaming filter request for the same terms 'twitter search' then I'm getting a set of tweets B. The problem is: combining A and B ('C=A v B') gives me a set C where the count of C is more than 10% larger then A or B, which means that neither with search nor streaming API I can catch a nearly complete set of tweets. E.g. doing this for 3 hours I'm getting 254 tweets (A) for the search and 257 tweets (B) for the streaming but the combined set C has 337 tweets! Is this a bug in my code or could this be an API issue? BTW: I don't assume 100% correctness, I only want something above 90% :) especially for such relatively infrequent terms, where users can, should and have noticed it. Regards, Peter. [1] http://groups.google.com/group/twitter4j/msg/d959e6257ceb452f [2] http://groups.google.com/group/twitter-development-talk/browse_thread/thread/71ab5cc666113c9e http://blog.tweetsmarter.com/twitter-downtime/twitters-dirty-secret-they-dont-show-you-all-tweets/ -- http://jetwick.com Twitter Search without Noise -- 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
[twitter-dev] Freedom's just another word for nothing left to lose
The behavior on this group has changed significantly since Ryan finally admitted that Whitelisting no longer exists. I've never seen anyone discuss methods of getting around TOS before, well there was Edward H., and we saw what happened to him. Now there are free flowing discussions of MTurk and other tricks to go way beyond the rate limits. I think this is great. Frankly, Twitter has done a good job of offering free resources to devs, which I thank them for, but there was way too much fear before. Now there are no extra benefits that can be given and withdrawn on a case by case basis. Boy do I hate that phrase. Of course, they can ban people from this list, but maybe the irony of Twitter blocking free speech on their own forum may restrain that urge in the future. Personally, I've treated Whitelisting like Social Security. It ain't going to be there when I need it. That has turned out to be a winning strategy. I don't really violate TOS, since I'm not as spammer, but I have never tried building anything that would fail if Twitter didn't give me Whitelisting after it got into production, which BTW was the most disrespectful thing I've seen from a platform vendor. Everyone should assume that you need to use what is there by default, and always be ready with a workaround if that gets taken away. My gut tells me that things will get worse before they get better. Twitter HQ will be under huge pressure to make money before the IPO, and we are likely to get some of the cuts. The inevitable they are parasites leeching off of us will surface. Anyone here old enough to remember Ed Esber? But in the long run, I've never seen a global phenomenon like Twitter, so I'm in it for the next 10 years at least. Then I can retire. Let's keep the discussion open guys. They've already taken away the most important thing you wanted. Now we can build with our eyes open. And don't be afraid to speak up. This is Twitter. Revolutions happen here. 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: DM rate limit
Confirming limits is not Twitter HQ's strength. I can see why. They want to keep their options open. Instead of asking for approval, why not start a petition to get what you need? Put up a message here stating a case for more DMs. Explain why you want it. Ask other devs to sign on with a confirming response. When you get no reaction, repost the same request the following week, and again, and again, until Twitter makes the change or comes up with a useful alternative. What can they do to you? Cut off your whitelisting? Believe me, grandfathered whitelisting is just a way of keeping established devs quiet, and is unfair on its face. All whitelisting will go away. Anyone want to bet against that? Devs are Twitter's partners, not users to be controlled. Dev's make money for Twitter. Let's help them make more money by getting them more serious, business oriented users, not just more Beiber fans. We can do this for Twitter. Twitter needs to help us do it. Ok, Trevor? On Sun, Feb 13, 2011 at 10:49 AM, Trevor Dean trevord...@gmail.com wrote: I appreciate the feedback but the issue is that our clients send DM's to their customers and the customer base could and has grown beyond 250 users. We have whitelisted the clients that needed increased rate limits so we are ok for now but this could effect how we deal with future clients. There has been a lot of activity from this group and it's been hard to keep track of all of the information but I did read that you can still request increased DM rate limits which is all we need but I don't know if this has been confirmed by someone from twitter. Trevor Dean | Director big time design communication Inc. 647 234 8198 Visit http://www.bigtimedesign.ca for more information On 2011-02-12, at 6:59 PM, Xristofer Obbit dixt...@dixtort.net wrote: Why not have each client register a notification account with your app that sends a DM to their main account. That gives every client 250 DMs. Better yet, make it a private account and push notifications as status updates giving you 1000/day while keeping privacy. Sent from my iPhone On Feb 12, 2011, at 5:17 PM, M. Edward (Ed) Borasky zn...@borasky-research.net wrote: On Sat, 12 Feb 2011 17:07:36 -0500, Trevor Dean trevord...@gmail.com wrote: I agree, don't be so quick to judge. We have an opt-in based service and out clients have thousands of customers that explicitly say yes send me direct messages. The information we send is requested by the end user and is not spam. So you can imagine that a client with a large user base could quickly go beyond the 250 dm/day limit. It's unfortunate that the spammers take advantage and ultimately ruin things for legitimate services. Trevor Dean | Director big time design communication Inc. 647 234 8198 Visit http://www.bigtimedesign.ca for more information Speaking of spam, there's a great article at the New York Times on J.C. Penney, black hat SEO and Google: http://www.nytimes.com/2011/02/13/business/13search.html Many thanks to Twitter's spam fighters for keeping it as clean as it is, under the circumstances. -- 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 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 -- 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] Twitter Development platform - A Rant
I'm guessing that was invite-only. You can always ask - as a business negotiating a partnership with another business. We'll have to wait and see about the Promoted products. Advertising sales is a fiercely competitive business and it's not something I personally want to deal with at the moment. Annotations? That was definitely a case where Twitter's reach seems to have exceeded its grasp. The story I've heard is that there are people in Twitter hacking away on it but the priorities do get adjusted according to the demands of the marketplace. If it could be a breakthrough spam killer, I think they'd push it front and center in a big hurry. ;-) -- 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 -- 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] Twitter Development platform - A Rant
Well, I'm old enough but I was doing something radically different from Ashton-Tate at the time. This whole thread is starting to sound eerily similar to last year, when Fred Wilson made the infamous filling holes blog post, followed by Twitter buying Tweetie, followed by Chirp. I'd be surprised if the *Twitter* ecosystem could support 10,000 independent developers - they'd self-organize into businesses with some sort of power law size distribution, where the largest such business is Twitter itself. I don't know that Twitter wants to be embedded into the infrastructure of corporations. It seems to me that Twitter is unique and not at all suited to intra-enterprise communications. Besides, there are dozens of enterprise software platforms that can do everything Twitter can do except talk to the hundreds of millions of Twitter users in real-time. ;-) Maybe I am thinking too small, but then again, people aren't coming to *me* with problems big enough to require whitelisting, or for that matter Cassandra, or MapReduce, or sending thousands of DMs a day. Even if they did, there's no way I could compete with Twitter. I really should save this for my blog - it's been a while since I wrote a post about Twitter, and that's what my search analytics tell me people read there. ;-) Good points. I think the basic confusion is the definition of developer. It could mean someone who builds a web or mobile app and tries to monetize it. That would be limited. I think it also means all the consultants and in-house programmers who integrate Twitter into existing websites and businesses. As I started responding CNN ran a big button on the screen telling people to try their Twitter integration on their website. I think that was built by a developer, not Twitter HQ. Multiply that by every TV show, radio program, newspaper, magazine, movie, real estate office, hospital, retailer, you get the point. There are way more than 10,000 programmers who work on websites and mobile apps around the world. They are all possible Twitter developers, among other tasks they did. Too big an idea? Maybe, but with the right assistance from Twitter, there would be enough developers that when a competitor comes along Twitter would have a base that would make it hard to switch. That is what we offer them. I have an idea. Why doesn't Twitter hire a developer relations person? Not a support person. Matt and Taylor do a good job of technical support. I appreciate what they do. I mean someone who could run a developer program. I haven't seen someone like that yet. Could some of the $200 million pay that salary? I look forward to your blog post on this, Edward. -- 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
[twitter-dev] Whitelisting is still in the docs. Please remove this.
http://dev.twitter.com/pages/rate-limiting#whitelisting Ryan, Taylor, Matt, I know changing mistakes in the docs has been impossible in the past. My guess is that someone lost the password for these pages. But leaving the whitelisting statement in the docs and the whitelisting form online is a sign of complete disrespect for your developers. New devs will see this and still think they can get whitelisting. Even worse they will waste their time building apps that need whitelisting, since the request form says: Whitelisting is only available to developers and to applications in production How would you feel if you started building an app today, spent months on it, got it into production, and then waited months for approval, since the docs say you won't get a response until approval is done? Not removing this shows that developers don't really matter to Twitter. Removing it right away shows that they do. Please don't say that you are too busy to make that change, and that it will be done some time in the future. Nobody is that busy. Please remove it. 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] Whitelisting is still in the docs. Please remove this.
Damn! I had 120 days in the pool. :) Thanks, Taylor. On Sat, Feb 12, 2011 at 11:29 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Sorry Adam, missed this document among the many -- it's fixed now. The form itself and its text are immutable at the moment. On Sat, Feb 12, 2011 at 5:26 AM, Adam Green 140...@gmail.com wrote: http://dev.twitter.com/pages/rate-limiting#whitelisting Ryan, Taylor, Matt, I know changing mistakes in the docs has been impossible in the past. My guess is that someone lost the password for these pages. But leaving the whitelisting statement in the docs and the whitelisting form online is a sign of complete disrespect for your developers. New devs will see this and still think they can get whitelisting. Even worse they will waste their time building apps that need whitelisting, since the request form says: Whitelisting is only available to developers and to applications in production How would you feel if you started building an app today, spent months on it, got it into production, and then waited months for approval, since the docs say you won't get a response until approval is done? Not removing this shows that developers don't really matter to Twitter. Removing it right away shows that they do. Please don't say that you are too busy to make that change, and that it will be done some time in the future. Nobody is that busy. Please remove it. 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 -- 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
[twitter-dev] Re: Is includes_rts=true for statuses/mentions broken?
I figured out why I was not seeing native retweets being included in my results. I was calling api.twitter.com/statuses/user_timeline, but should have been calling api.twitter.com/1/statuses/user_timeline. Adding the 1/ for the api version made the difference. Perhaps that is the cause of Anil's problem as well. On Feb 10, 2:06 am, Abraham Williams 4bra...@gmail.com wrote: I think you have the wrong idea of what include_rts does. Include_rts is designed to include native retweets in timelines where default inclusion would break. For example /statuses/user_timeline expects all tweets to be from a user A. But if that user A has retweeted user B then user Bs tweets can be included user As user_timeline with include_rts. Include_rts has no effect on /statuses/mentions because the original tweet is already included due to the fact it is a mention. Abraham - Abraham Williams | Hacker Advocate | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private.On Wed, Feb 9, 2011 at 21:00, Adam Duke adam.v.d...@gmail.com wrote: I've seen the same behavior with the include_rts parameter. I have tried passing the values 'true', 't', and '1' with no success. On Feb 8, 7:15 pm, Anil Chawla ani...@gmail.com wrote: It's been a while but I want to follow up on this because we still have the issue. Is anyone able to pull native retweets when calling the statuses/mentions endpoint? An indication that includes_rts either works for you or doesn't work would be great. Thanks, -Anil On Dec 14 2010, 11:44 am, Anil Chawla ani...@gmail.com wrote: I've also been facing this issue for quite a long time. I've told myself that this can't be a problem with the API (since nobody else is complaining) but I can't see what is wrong on our end. For example, I have the following status that was retweeted a few times: http://twitter.com/#!/anilchawla/status/14437959797313536 This is the request URL that is generated when I request my mentions using count=200, include_rts=true, and since_id = 13978625736970241 (OAuth tokens omitted): https://api.twitter.com/1/statuses/mentions.json?count=200include_rt... The four mentions of the above status are not present in the response even though those retweets and the original status have an ID greater than since_id. Omitting count and since_id does not make a difference. As a work-around, we have to pull both statuses/mentions and statuses/retweets_of_me and merge them together. It's hard to believe that everyone else has been doing the same and ignoring this API parameter. Any idea what the issue is? -Anil -- 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: user stream api
Be aware that the streaming API does not deliver everything you are tracking. In theory it delivers everything up to 1% of the total flow of tweets. In practice, I find that it delivers about 95% of the tweets that match your keywords or users. This is fine when sampling, which is what I generally use it for, but will cause much anguish if you assume you will get everything sent by people you are following. I have to admit that I have only found this issue with the streaming API, but I'm betting that the user streams are based on the same underlying code. My solution to the missing values from the streaming API is to collect everything I can from streaming, then use the REST API to backfill data I might not have received. If you run the backfill every hour, you only have to go back to the last set of good tweets, adding anything you missed. On Fri, Feb 11, 2011 at 1:10 PM, DaveH d...@idreia.com wrote: I too am still worried about the DM limits. If I understand the User API correctly. - The user stream means that an unlimited number of DMs can be received as there is no rate limit on receiving (consuming) of data. - The application would send DMs via the REST API and therefore is limited to sending 250 DMs per day. For my application this is still a problem as my target is social learning and part of that is DMs to send/receive responses to test questions and such--things that need to be private. Conversations between learners are tweeted. So the design changes we need to make are: - Consuming information (Tweets, retweets, and DMs) is done via the user stream API - Sending tweets and DMs is still done by the REST API. It is going to take some time to get my head wrapped around this. Until the announcement yesterday I was not paying attention to the streams as they did not fit all that well with my application. Now I see that it is important to create an application that uses both as the app is both the consumer of users activity (DMs) and originator (DMs and tweets). On Feb 11, 8:31 am, Trevor Dean trevord...@gmail.com wrote: Thanks Taylor. I posted a question to the group yesterday but it might have gotten lost amongst all the other posts about not whitelisting anymore. With our service we rely on sending DM's and we will most likely require to have more of our clients whitelisted. What is will be the future of DM limits and going about getting those rates increased? Trevor. On Fri, Feb 11, 2011 at 11:11 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Trevor, Write operations in the Twitter API are always done via the REST API. The Streaming APIs are for consumption of data. @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Fri, Feb 11, 2011 at 7:52 AM, Trevor Dean trevord...@gmail.com wrote: I can't seem to find any documentation that shows how to go about sending a DM using the new user stream api. I have been through all of the documentation on dev.twitter.com. Can someone point me in the right direction? Thanks, Trevor -- 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 -- 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] Update on Whitelisting
/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
[twitter-dev] Re: Is includes_rts=true for statuses/mentions broken?
I've seen the same behavior with the include_rts parameter. I have tried passing the values 'true', 't', and '1' with no success. On Feb 8, 7:15 pm, Anil Chawla ani...@gmail.com wrote: It's been a while but I want to follow up on this because we still have the issue. Is anyone able to pull native retweets when calling the statuses/mentions endpoint? An indication that includes_rts either works for you or doesn't work would be great. Thanks, -Anil On Dec 14 2010, 11:44 am, Anil Chawla ani...@gmail.com wrote: I've also been facing this issue for quite a long time. I've told myself that this can't be a problem with the API (since nobody else is complaining) but I can't see what is wrong on our end. For example, I have the following status that was retweeted a few times: http://twitter.com/#!/anilchawla/status/14437959797313536 This is the request URL that is generated when I request my mentions using count=200, include_rts=true, and since_id = 13978625736970241 (OAuth tokens omitted):https://api.twitter.com/1/statuses/mentions.json?count=200include_rt... The four mentions of the above status are not present in the response even though those retweets and the original status have an ID greater than since_id. Omitting count and since_id does not make a difference. As a work-around, we have to pull both statuses/mentions and statuses/retweets_of_me and merge them together. It's hard to believe that everyone else has been doing the same and ignoring this API parameter. Any idea what the issue is? -Anil -- 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] High number of 502 errors in REST API
Good suggestion, Taylor. I was using a count of 200 to reduce the number of calls, and stay under the rate limit. I just tried a count of 100 and had fewer errors. I need to backfill test from 32 accounts with a total of 20,000 tweets. I will rewrite this to use a lower count, perhaps 50, and then spread the testing out over the whole day, instead of doing it in one run every 24 hours. Thanks. On Thu, Feb 3, 2011 at 11:51 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: What kind of count values are you using? When we're at capacity, higher count values' processing time can exceed our timeout filters. I would recommend lowering count values as a response to this error and retrying. Taylor On Thursday, February 3, 2011, Jan Paricka jpari...@gmail.com wrote: Adam, I noticed the same - 502 502 502 502 a lot lately! Jan On Fri, Feb 4, 2011 at 5:14 AM, Adam Green 140...@gmail.com wrote: I'm using 1/statuses/user_timeline to verify that I am receiving all the tweets for a set of users I am following with the streaming API. Once per day I try to collect all the tweets for these users using this API call. The total process takes about 100 calls to the API. For the last week I have been receiving a very high level of 502 error responses, about 1 for every 2 to 3 calls. Is this just due to very high traffic related to Egypt, or is something else going on? -- 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 -- @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate -- 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
[twitter-dev] High number of 502 errors in REST API
I'm using 1/statuses/user_timeline to verify that I am receiving all the tweets for a set of users I am following with the streaming API. Once per day I try to collect all the tweets for these users using this API call. The total process takes about 100 calls to the API. For the last week I have been receiving a very high level of 502 error responses, about 1 for every 2 to 3 calls. Is this just due to very high traffic related to Egypt, or is something else going on? -- 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] Missing tweets or invalid statuses_count
I'm collecting all the tweets for potential 2012 presidential candidates, and I'm finding that /statuses/user_timeline returns much fewer tweets than listed as the total in an account. The docs say that this API call is limited to 3,200 tweets, but this is happening with accounts that have fewer than that number. For example: @barackobama - Statuses_count from API and tweet count listed on profile is 2,467, but /statuses/user_timeline only delivers 1,033 tweets. @GovChristie - Statuses_count is 1,062, but API only delivers 1,038. This problem occurs in about 20% of the accounts I've checked. So either the tweets are no longer available, or the statuses_count is just wrong a lot of the time. This problem has persisted through 2 weeks of testing. Anyone else seeing the same problem? -- 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] Missing tweets or invalid statuses_count
I'm using your OAuth library for this. I tried: $connection-request('GET', $connection-url('1/statuses/user_timeline'), array('screen_name' = 'barackobama', 'include_entities' = 't', 'include_rts' = 't', 'count' = 200, 'page' = $page)); I get the same set of tweets I do without 'include_rts' = 't'. I'm sure I'm missing something completely obvious, although probably undocumented. Are there any examples of a response in the docs that does include a new style RT that I can look at? I assume they are kept in a part of the JSON I'm not used to looking for. On Wed, Feb 2, 2011 at 5:44 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, Do you include the parameter include_rts=1 ? Be default statuses/user_timeline doesn't include retweets so you have to add this parameter to retrieve a full timeline. Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Wed, Feb 2, 2011 at 2:28 PM, Adam Green 140...@gmail.com wrote: I'm collecting all the tweets for potential 2012 presidential candidates, and I'm finding that /statuses/user_timeline returns much fewer tweets than listed as the total in an account. The docs say that this API call is limited to 3,200 tweets, but this is happening with accounts that have fewer than that number. For example: @barackobama - Statuses_count from API and tweet count listed on profile is 2,467, but /statuses/user_timeline only delivers 1,033 tweets. @GovChristie - Statuses_count is 1,062, but API only delivers 1,038. This problem occurs in about 20% of the accounts I've checked. So either the tweets are no longer available, or the statuses_count is just wrong a lot of the time. This problem has persisted through 2 weeks of testing. Anyone else seeing the same problem? -- 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 -- 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
[twitter-dev] Retweet_count value is returning odd values
It looks like the retweet_count value is invalid. Here is what I do for 32 possible 2012 candidates: 1. Each hour I get all tweets from statuses/user_timeline. They each fit within the 3,200 limit. 2. Collect the value of retweet_count for all tweets for each candidate. 3. Sum these values to get the total retweets of the candidate's tweets. 4. Compare this to the previous hour to see how many retweets they got. The whole thing takes about 32 API calls, so its lightweight. The total retweet count for @barackobama's tweets has been jumping back and forth between 79,730 and 80,648 since 5:00pm ET. I have to believe this is broken. Now that I really understand the new RTs, I will be getting these values myself from the streaming API, which I use anyway for these accounts. I can keep my own counts and not max out at 100 RTs per tweet. -- 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] email address and phone number for friends
Email addresses and phone numbers are not available from the Twitter API. On Mon, Jan 31, 2011 at 9:02 AM, AressAmol aress.a...@gmail.com wrote: Using the Twitter API is it possable to fetch the email address and phone number of friends? I am trying to fetch the friends details with the twitter API, but unable to get the friends email Id and phone number. Please let me know the answer for the same. 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 -- 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] Upgrading from Read to Read / Write access for OAuth API Key
So if a user authorizes an app for read access, the app can switch to read/write at any time without asking the users permission? Is this true? Anyone from Twitter have any input on this? On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedy kenned...@gmail.com wrote: Tim - 1. Changing from read to read/write won't change you API consumer keys or tokens. 2. Your application's users don't authorized for read or read/write; they merely use your application, which you offer as read or read/write to the world. That is to say, if it's read, your application can only read its tweets, and if read/write, it can both read its own tweet and post to the world. I'd say go ahead and switch to read/write, given the fact that you now want that functionality. ~Patrick On Sat, Jan 29, 2011 at 10:24 PM, Tim Bull tim.b...@binaryplex.com wrote: We must be about the only developers in the universe that requested users grant only read access when we first got people to connect http://trunk.ly to Twitter (I think of the 40 or so apps authorized on my account, Trunk.ly is the only one that asks for Read only). Never ask for more access than you need is my philosophy. Doh! Of course now, we want to add some Tweet out functions which require users grant us Write access. A couple of questions for the Twitter people. 1. If we change the access in the application from read to read/write does this reset the API key, or will it stay the same (hoping it stays the same). 2. How can I work out if existing users have authorised us for read/ write? I looked at http://developer.twitter.com/doc/get/account/verify_credentials but it doesn't show me what access they have. Do I have to write, fail, force them to step through OAuth then post? Or is there a way of knowing before hand it will fail and asking them to upgrade? Thanks, Tim -- 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 -- 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
[twitter-dev] Re: in_reply_to_status_id
I was working with this api method today as well. What I found was that if your update's text does not contain an @reply to the user who created the status you are sending a reply to, Twitter seems to ignore the in_reply_to_status_id. I hope that helps. -Adam On Jan 28, 10:11 am, Rocker shadab.empo...@gmail.com wrote: Hi all, I am trying to achieve the reply functionality of the twitter to a particular tweet(status) using thehttp://api.twitter.com/version/statuses/update.formaturl. In this i am passing in_reply_to_status_id parameter and include_entities=true to replay to a tweet. The status got updated but the response xml doesn't contain any data in the in_reply_to_status_id node. Even though the status got posted, it isn't displayed as a reply. Am i on the wrong track? What could be the possible reason. I am using OAuth for the whole scenario. Thanks Rocker -- 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] Does whitelisting still exist?
I'm beginning to get suspicious about the whitelisting program. We've gone from it being relatively easy to get whitelisted, to it being harder but at least Brian Sutorius or someone else apologized, to it being much harder and Taylor saying they can't even reply with a denial, to no response at all to whitelisting questions. There is no excuse about being too busy that justifies this total lack of response. It would be great if Brian Sutorius or Ryan Sarver made a clear statement about whether there is still a whitelisting program at all. I understand everyone can't be whitelisted, but can anyone be whitelisted? I earn my living from the Twitter API. I want it to succeed. This is not meant as an attack. It is a warning that hiding from this issue is hurting the Twitter ecosystem. If there is no whitelisting, let us know so we can construct apps that will always live within the default limits. That is possible, but we must be able to warn clients about this, otherwise we are lying to them. I don't know about Twitter HQ, but I am old enough to know that lying doesn't work. It always catches up with you. So please tell us the truth about this. I doubt if any of the other API developers want to stick their necks out, but if *anyone* has gotten whitelisted in the last few months, it would be great to hear it. -- 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] Sending Tweets using 0Auth - beginner question
If you only need to send tweets to a single Twitter account, you can try this PHP code, which uses Matt Harris's OAuth library: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/ If you need a more advanced solution that tweets to multiple accounts where the users log into your site first, you can take a look at Abraham's library: https://github.com/abraham/twitteroauth On Fri, Jan 21, 2011 at 10:16 AM, shamm shaena...@gmail.com wrote: Hi, I am an absolute beginner here. I need to send tweets through a PHP web interface. It seems in the new twitter we should use 0Auth for authentication, i Googled and got loads of articles that explains these. yet i am still unclear to code this. Is there any easy to understand sample code (that could at least only send Tweets), so i could read and understand what's going on. Please help ! -- 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: Sending Tweets using 0Auth - beginner question
Check the application details in your Dev.twitter.com account. The app needs to be set to read and write access. On Fri, Jan 21, 2011 at 11:57 AM, shamm shaena...@gmail.com wrote: Thank you for your post, i have a question, Why does Posting... Response code: 401 get displayed even after i display the correct information asked in the post_tweet.php page; $connection = new tmhOAuth(array( 'consumer_key' = 'xg', 'consumer_secret' = 'x', 'user_token' = '2x- SYx', 'user_secret' = 'xWiVkvBJcGA', )); Any idea why this is hapenning ? On Jan 21, 8:28 pm, Adam Green 140...@gmail.com wrote: If you only need to send tweets to a single Twitter account, you can try this PHP code, which uses Matt Harris's OAuth library: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oau... If you need a more advanced solution that tweets to multiple accounts where the users log into your site first, you can take a look at Abraham's library:https://github.com/abraham/twitteroauth On Fri, Jan 21, 2011 at 10:16 AM, shamm shaena...@gmail.com wrote: Hi, I am an absolute beginner here. I need to send tweets through a PHP web interface. It seems in the new twitter we should use 0Auth for authentication, i Googled and got loads of articles that explains these. yet i am still unclear to code this. Is there any easy to understand sample code (that could at least only send Tweets), so i could read and understand what's going on. Please help ! -- 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 Trainerhttp://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 -- 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] 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] Twitter feed for corporate website/portal
You can use the /statuses/user_timeline API call instead of the feed if you want. This doesn't require authentication, so there is no need to create an app, if you use this call: http://dev.twitter.com/doc/get/statuses/user_timeline But no matter how you get the data, rate limiting will still be the same. There are three ways to address rate limiting: 1. Get the feed or /statuses/user_timeline without authentication at a rate up to 150 times per hour and store the tweets in a database. Then serve tweets to your web page from the database. 2. Create an app that uses OAuth to get the feed or /statuses/user_timeline at a rate up to 350 times per hour. Store and serve from DB as in 1. 3. Use the Streaming API to follow the user account. This uses Basic Auth, so no app is needed. Get the data, store and serve from DB. The streaming API has the advantage of delivering the data in real time with no rate limiting. The point here is that each page load should not call Twitter for data. It should call for your copy of the data. If you decide to use 2, you do need an app to do OAuth. From my experience, the app registration page needs a properly formatted URL, not a valid URL that you own. This means anything that follows the format of http://domain.com will work. You can even use http://twitter.com. -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev On Tue, Jan 11, 2011 at 7:43 PM, TehOne ele...@gmail.com wrote: I have a corporate website/portal that I want to pull in tweets to, but i'm getting a rate limit using the http feed. So I need to explore other options. Do I need to use an authenticated method to get the tweets? Do I really have to register an application to do this, even though it's not really an application and my users will never be entering or changing the twitter account info. It will be a single twitter account that I will be pulling the feed from. Also, my corporate site doesn't have a public address, and registering an application through twitter appears to require a public url. So how can I get around this? Do I have to create a fake application with a public url, just to generate my keys? Thanks for any help on this. -- 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] API fails when tweeting with single asterisk
Matt: Is it a related issue that a leading or trailing asterisk is invisible to the search API? None of these searches return any results, even though they do appear in a timeline API call or the streaming API: **test test** ** *test test* Yet the search API can find: test**test On Tue, Jan 4, 2011 at 8:57 PM, Matt Harris thematthar...@twitter.com wrote: Hi Adam, That's correct, a tweet cannot be just a * or a * word. Something like ** or * html { would be fine though. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 5:29 PM, Adam Green 140...@gmail.com wrote: So I can assume that * and * word will remain unavailable for normal tweeting? On Tue, Jan 4, 2011 at 7:22 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, The status update you are sending is part of the SMS command set. http://support.twitter.com/articles/14020-about-twitter-sms-commands It corresponds to the FAV command and is the alias for it. It used to be documented but for some reason isn't there at the moment. I've asked the support team to make sure it is added. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 4:09 PM, Adam Green 140...@gmail.com wrote: There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- 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 -- 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 -- 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
[twitter-dev] user page (viewed in old twitter) is stale by 7 hours
We have a problem where some one was worried that their posts weren't making it from our application to twitter. After looking deeper I've found that a twitter page for a user is very different if you are logged in or not. Please note: Below I refer to the page you see when not logged in as the 'public page', this is an 'old twitter' page, as opposed to the 'new twitter' view I see when logged in. It appears the public page for one of our client's twitter accounts is cached right now and is currently 7 ours behind - this is not just on one computer, we've seen several computers loading the 'old' page. By 7 hours behind, I mean that a tweet time shows as '1 hour ago' on the page, but then shows as '8 hours ago' if you log in and view the page or if you click through on the time and view the actual status' page. Also a tweet that was posted about 3 hours ago doesn't show up at all the public page. Might this be due to page caching or load balancing that is done on twitter's end for 'old twitter' but not done for 'new twitter'? I can provide details or screenshots taken within seconds of each other if that helps, but if anyone else has seen this at all, or knows of this being normal that'd be helpful. 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-dev] Re: user page (viewed in old twitter) is stale by 7 hours
Matt, It appears that the timeline does not contain all the content. It is still missing the most recent tweet. As an example, this tweet 23043372398673920 is shown in new twitter, but not in the website view. Thanks for the info though, Adam On Jan 6, 2:48 pm, Matt Harris thematthar...@twitter.com wrote: Hey Adam, Thanks for raising this. The website isn't part of the API so we're not in a position to fix or address the issue. That being said I have checked with our user support team and know that they are tracking this very issue with the engineering teams. From what i've been told the timeline should contain all the content, it's just the timestamps are wrong. Does that match with your observation? Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Thu, Jan 6, 2011 at 11:08 AM, Adam Covati cov...@gmail.com wrote: We have a problem where some one was worried that their posts weren't making it from our application to twitter. After looking deeper I've found that a twitter page for a user is very different if you are logged in or not. Please note: Below I refer to the page you see when not logged in as the 'public page', this is an 'old twitter' page, as opposed to the 'new twitter' view I see when logged in. It appears the public page for one of our client's twitter accounts is cached right now and is currently 7 ours behind - this is not just on one computer, we've seen several computers loading the 'old' page. By 7 hours behind, I mean that a tweet time shows as '1 hour ago' on the page, but then shows as '8 hours ago' if you log in and view the page or if you click through on the time and view the actual status' page. Also a tweet that was posted about 3 hours ago doesn't show up at all the public page. Might this be due to page caching or load balancing that is done on twitter's end for 'old twitter' but not done for 'new twitter'? I can provide details or screenshots taken within seconds of each other if that helps, but if anyone else has seen this at all, or knows of this being normal that'd be helpful. 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] Transferring a suspended account to the proper owner
I have a client who owns a .com domain name and has applied for a trademark for the matching name. The Twitter account for this name was created by someone else and has been suspended. Is there any way to help them take over this account? They really want to build a Twitter based app around this name, so using the matching account name is important to them. And they want me to build the app, so it's important to me too. Any directions towards a path to resolve this would be greatly appreciated. -- 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] Search result is incorrect
The search API only goes back about 7 days. Older tweets are not returned. On Wed, Jan 5, 2011 at 12:45 AM, binku bink...@gmail.com wrote: search results is incorret when i search tweets from myself, like this: http://search.twitter.com/search?q=+from%3Abinku87. This is only two results, but definitely my tweets(http://twitter.com/#!/ binku87) is more than two. Everybody has every idea about this? -- 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
[twitter-dev] API fails when tweeting with single asterisk
There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- 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] API fails when tweeting with single asterisk
So I can assume that * and * word will remain unavailable for normal tweeting? On Tue, Jan 4, 2011 at 7:22 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, The status update you are sending is part of the SMS command set. http://support.twitter.com/articles/14020-about-twitter-sms-commands It corresponds to the FAV command and is the alias for it. It used to be documented but for some reason isn't there at the moment. I've asked the support team to make sure it is added. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 4:09 PM, Adam Green 140...@gmail.com wrote: There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- 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 -- 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
[twitter-dev] Tweeting with single asterisk
It looks like the following tweets will not be possible: * * word All other uses of the single and double asterisk are acceptable. So, Alexander, it looks like you are right in wanting ** as your identifying string. That can be used with no problems. I would recommend that we stick with that in any position in a tweet and not even tell people about using a single asterisk. -- Forwarded message -- From: Matt Harris thematthar...@twitter.com Date: Tue, Jan 4, 2011 at 8:57 PM Subject: Re: [twitter-dev] API fails when tweeting with single asterisk To: twitter-development-talk@googlegroups.com Hi Adam, That's correct, a tweet cannot be just a * or a * word. Something like ** or * html { would be fine though. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 5:29 PM, Adam Green 140...@gmail.com wrote: So I can assume that * and * word will remain unavailable for normal tweeting? On Tue, Jan 4, 2011 at 7:22 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, The status update you are sending is part of the SMS command set. http://support.twitter.com/articles/14020-about-twitter-sms-commands It corresponds to the FAV command and is the alias for it. It used to be documented but for some reason isn't there at the moment. I've asked the support team to make sure it is added. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 4:09 PM, Adam Green 140...@gmail.com wrote: There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- 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 -- 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 -- 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] how can i get statistics data about a search
The API doesn't return that type of data. You need to collect all the search results in a database and then calculate the statistics in your own code. On Wed, Dec 29, 2010 at 5:02 AM, Macro puxiangc...@gmail.com wrote: i`m a new developer about twitter ,and i want to get some data about search like how many posts/rewteets/followers/friends about a search day by day in a month or a week. -- 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] Getting user information with oAuth.
If you don't know how to get started with the API, why not use a PHP library and have it do this work for you? Two to start with are: http://github.com/abraham/twitteroauth http://github.com/themattharris/tmhOAuth Once you get things working you can look at the library's code as a model and then write it yourself. On Thu, Dec 30, 2010 at 4:22 AM, xtranophilist xtranophil...@gmail.com wrote: I am starting a PHP application and not using any PHP library. I have successfully received oauth_token and oauth_verifier in the callback url. Now, how do I use this authentication to retrieve user information and perform other API requests. 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 -- 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
[twitter-dev] Is id_str getting dropped again from streaming API output?
I'm getting errors that the id_str property is not found within the JSON output of the streaming API. I'm using Phirehose, but nothing has changed with that or my code that is using it. This has happened before. Is there a problem returning id_str again? -- 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] Unable to tweet with leading *
When I try entering a tweet through Twitter.com that starts with an asterisk, I get an error of Sorry! We did something wrong, and the tweet does not get sent. The same thing happens if I use Tweetdeck. To try this, send the following tweet: * test There is no problem using a single asterisk anywhere else in a tweet that I can find. -- 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] Unable to tweet with leading *
Interesting. I did some more tests here. I can only get this error with a single asterisk followed by a single word. A single asterisk followed by two or more words is accepted. Also, when I enter a tweet with just a single asterisk and no other characters, I don't get an error, but the tweet is not put into my account. It is just ignored. This set of errors is reproduced when I try it with multiple accounts. On Thu, Dec 30, 2010 at 11:36 AM, Adam Green 140...@gmail.com wrote: When I try entering a tweet through Twitter.com that starts with an asterisk, I get an error of Sorry! We did something wrong, and the tweet does not get sent. The same thing happens if I use Tweetdeck. To try this, send the following tweet: * test There is no problem using a single asterisk anywhere else in a tweet that I can find. -- 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: Can't get any tweet from a particular account using Search Api
Twitter search only goes back 7 days at the most. There are no tweets in that account within the last 7 days. Try posting a new tweet and then do a search. It should be there. On Wed, Dec 29, 2010 at 9:55 AM, Eduardo Hernandez hernandezme...@gmail.com wrote: That's the funny thing. It's an old accoutn, created by me on 2009, and has a lot of tweets. I don't know why it won't return any, if you see it's profile, the tweets are public. This is a major bug! Please help Twitter! On Dec 28, 10:08 pm, MikeJ architeuthis...@gmail.com wrote: I tried that query and I get nothing as well. Perhaps that account has never tweeted, or maybe the issue is you need to be mentioned in a status not just creating tweets -- I am not yet using the search API so no clue what it looks for. On Dec 28, 3:08 pm, Eduardo Hernandez hernandezme...@gmail.com wrote: I can't get any tweet usinghttp:// search.twitter.com/search.json?q=cincuentamas, but I can for my own user and any other account I have tested. cincuentamas is not even a private account, this user hasn't block its tweets, but it doesn't return anything whenever I query it. What's wrong? -- 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: URL encode problem
On Sun, Dec 26, 2010 at 5:11 AM, epomqo wenzi0...@gmail.com wrote: And apparently the lang parameter sometimes doesn't work: I still get tweets in other languages. From my experience the lang parameter, is not a language detection algorithm. It just pays attention to the language the user has set in their profile settings. If they haven't changed it, the default of English is left set, and you get their tweets no matter what the lang parameter is sent to. If you don't use the lang parameter, you get all tweets that match the search in any language. If you set lang=en, you get far fewer tweets in languages other than English, but at least 10-20% are not in English. Of course that depends on whether your search words match another language. -- 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: URL encode problem
I have never used cURL directed to a file in this way. I always call it from PHP. Doing it that way I have always gotten results with the rpp and page parameter used together with keywords. On Sun, Dec 26, 2010 at 5:57 AM, epomqo wenzi0...@gmail.com wrote: Thanks Adam. I will carefully look at the results from the lang parameter. From the screen display above: [1] Donecurl http://search.twitter.com/search.json?geocode=37.781157,-122.398720,15km [2]- Donelang=en [3]+ Donerpp=100 It seems that the last two parameters lang and rpp are not treated together with the main cURL command, and they don't really affect the search result. I also don't get 100 results after adding the rpp command. Have you ever succeed in running such a multi-parameter query with cURL and getting an output file? Many thanks, epomqo On Dec 26, 11:28 am, Adam Green 140...@gmail.com wrote: On Sun, Dec 26, 2010 at 5:11 AM, epomqo wenzi0...@gmail.com wrote: And apparently the lang parameter sometimes doesn't work: I still get tweets in other languages. From my experience the lang parameter, is not a language detection algorithm. It just pays attention to the language the user has set in their profile settings. If they haven't changed it, the default of English is left set, and you get their tweets no matter what the lang parameter is sent to. If you don't use the lang parameter, you get all tweets that match the search in any language. If you set lang=en, you get far fewer tweets in languages other than English, but at least 10-20% are not in English. Of course that depends on whether your search words match another language. -- 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] REMOVE ME
You opted in, you can opt-out http://groups.google.com/group/twitter-development-talk On Fri, Dec 24, 2010 at 1:04 PM, SeriousSamP seriouss...@yahoo.co.ukwrote: -- 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] Help!! please. How to collect old data by Twitter API
It depends on how you want to select these tweets. If you need to find tweets based on keywords without knowing the users, then the search API won't go back more than about 7 days, as you say. If you want tweets from users that you have already identified, you can get up to 3,200 old tweets from a specific user with /statuses/user_timeline: http://dev.twitter.com/doc/get/statuses/user_timeline If you don't know the users, but just want a sample of past tweets about a subject, one technique I have used is to track keywords with the search or stream APIs, identify users who tweet regularly about these words, use /statuses/user_timeline to get as many past tweets from each of these users, and collect the tweets that match your search. It isn't the type of thing that you can use for real-time display of historical data, but if you want a large set of old tweets for a subject, it will deliver them if you let it run long enough. On Fri, Dec 24, 2010 at 12:13 AM, Chris Bang renob...@gmail.com wrote: I’m developing a program to collect historical data or twits from Twitter using Twitter search API and Twitter4J which means the program is based on Java. I selected Search API for my program among APIs by Twitter. However, Twitter says that there is a limitation of 7days, although the limit depends on topic. Is there any way to collect older or historical Twitter data like 12 or 24 months old or without time constraint at all? If anybody successfully retrieved old Twitter data, can you please share the source code? -- 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] searching for 50 000 words
It depends on how fast you need these results. The streaming API lets you collect tweets for up to 400 keywords at one time. You can divide your keywords into sets of 400 each, and collect tweets for 2 hours per set. That will let you sample tweets for 50,000 keywords over a 10 day period. If you cut out nighttime hours for your test area, it might take 2 weeks. The other option is using the streaming API's sample method, which gives you 1% of the total tweet stream. I've never worked with it myself, but if it really does deliver this percentage that is still hundreds of thousands of tweets per day to examine. It should give you some decent data. http://dev.twitter.com/pages/streaming_api_methods On Fri, Dec 24, 2010 at 12:20 AM, Andrew thefi...@ozemail.com.au wrote: I am working on a website that generates ideas for brandnames. As part of this website I need to search twitter for 50 000 words so that I can analyse the results and use them in one of my algorithms. Do I need to contact Twitter staff to do this? There are rate limits on some APIs and not sure if the streaming API has search methods. -- 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] Search API from_user_id doesn't match up with the proper Twitter user_id
I'm sure Taylor or Matt will reply politely to this rant. I don't work for Twitter, so I'd like to take on your attitude of entitlement directly towards this free service. Your basic approach can be summed up as How dare Twitter have problems in a totally free API that I can use to build a business on! First of all, this service is free, second there is an easy workaround for this. - You collect the tweets from the search API and store the user name, which is delivered correctly, along with the tweet info. You also get the avatar image. So you have enough now to display the tweet. - You then run a background process which waits until you have 100 user names, and requests their correct user info from the REST API. This can be stored in a separate user table. - This same process goes back to the tweets and updates each one with the correct user id. - You now have a valid relational database with a table for tweets, and a table for users. While this isn't perfect, it isn't hard to do either. At 100 users per request, and as long as you only request data for users you haven't seen before, there is no problem back filling this user data within the rate limits. Now, back to your attitude. The Twitter API is free. I agree that they should fix search, but it is acquired code, and my bet is that they want to rewrite it rather than patch it. The real point is that it is free. It is not a right granted to you to always have perfect code delivered to you. Twitter benefits from you writing code against there API, and you benefit from getting the data for free. Be grateful. Chill. On Wed, Dec 22, 2010 at 9:42 AM, Corey Ballou ball...@gmail.com wrote: I just wanted to bring group-wide awareness to the fact that search results from Twitter do not return an actual user_id. This has been a known defect (and yes, I do believe it's a *very large* defect) going on over 2 years now. This is a call to arms to get this shit fixed. I can't believe it's marked as an enhancement. There's nobody else to blame for providing a return param of from_user that doesn't actually map to an actual user. For those of us storing relational data, you're costing precious API calls for those users who are still utilizing the search API. The streaming API is not sufficient for all use cases, so that's not a valid answer. Below is the direct link to the issue tracker. https://code.google.com/p/twitter-api/issues/detail?id=214 -- 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
[twitter-dev] Taking over a suspended account
I have a client who wants an account name that is owned by someone else. The account has been suspended for a long time, the client says. Is there a procedure or an email address they can use to apply to get that account name? I suggested just moving to another name, but they *really* want this name. Any contacts you recommend? -- 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: Search API from_user_id doesn't match up with the proper Twitter user_id
Yeah, well the call to arms may have been over the top. :) I agree that Twitter should fix the search API. Every time I ask, the answer is that it will be done eventually, and that it will have entities and everything else the streaming API has. I think this means that it will be the streaming API code with the ability to look backwards added. Think about it, isn't that what any architect would do? You combine your code bases. The real problem with search is its inability to go back beyond 5-7 days. Since Twitter plans to make its money from search ads and compete for Google ad revenue, more search results means more searching and more ad revenue. I bet they plan on an IPO within a year, and the story that Twitter search is just a tiny fraction of Google search but growing like crazy is exactly the type of promise that makes investors crazy for an IPO. It is also pretty sad that Google just added the ability to search millions of books going back 500 years, and Twitter only goes back 5 days! So search is clearly very important. I just don't think they want to fix this code. It is Summize code, and they show no interest in diving into it. Until they rewrite it, we have to wait. On Wed, Dec 22, 2010 at 8:55 PM, Corey Ballou ball...@gmail.com wrote: I'm sure I came off a little strong in the initial post; unfortunately for me google groups doesn't supply an edit button. I think there is still a grain of merit to the request to fix the issue, regardless of the API being free. I'm interest in knowing the trade-offs of Twitter essentially requiring third party apps to make subsequent calls to users/lookup for each unique user in a batch of results. The current problem I see, from Twitter's end, is that the subsequent call returns far more data than necessary. It's doubling the RTTs on both ends and creating an excessive amount of bandwidth for a trivial amount of data. I've got to imagine there's a number of cache misses going on due to the frequency of user updates and pulling the latest tweet, so it would seem rather costly. On Dec 22, 4:33 pm, Robbie Coleman rob...@robnrob.com wrote: I think twitter's response to this call to arms should be the HTTP Status Code: 420 - Chill ;-} -- 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] Stream problems on 2010-12-17?
I just did a quick count of tweets per day over that period for two systems that track keywords. One looks steady for the 16th. The other glitched on the 16th and had to be restarted. Depending on how you track the streaming API, what I experienced as a failed connection may have been just a temporary loss for you. So the answer is maybe. The fact that software works for a long time with the API is no guarantee it will continue to do so. I look at that as job security. If your bosses are very angry over lost tweets from the API, they have a lot of stress to look forward to. They should deal with it. The data is free, right? If they want no losses, they can pay Gnip. That is what it is there for. On Sat, Dec 18, 2010 at 10:32 AM, Frank Sorro xoo9i...@googlemail.comwrote: Hi Twitter admins and developers, I am developing a social media application which uses a follow stream with track words. At about 21:00 on Dev 16 2010 (UTC), the tweet rate rapidly dropped from about 2800 tweets per minute to about 700, including none we are looking for. Since today (Dec 18th) at about 5:15 UTC, the rate is continuously rising again. This is weird because nothing was changed and we lost the tweets of almost two days. I am quite certain my software didn't have a problem because it worked properly for quite some time, and I didn't change anything during this time. Is it possible that the Twitter Stream API may behave this way? The API status page does not report any problems, but maybe it does not report this kind of problems because I did get Tweets, but not enough and not the right ones seemingly. It would be very good to hear something from Twitter admins or other developers who had the same problem because my bosses are very angry with me anyway right now. If it helps, I'll send more info by e-mail. Thanks in advance and best regards, Frank -- 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] Confused by oAuth and wanting to do something simple
If you need a step by step tutorial on doing this with PHP, and want something that shows you exactly where to get the right OAuth keys and use them in the code, you can try this tutorial: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/ The sample code uses Matt Harris' OAuth library, and Abraham's library also a good choice. On Sat, Dec 11, 2010 at 4:56 PM, Jason Rennie jwren...@gmail.com wrote: Hi everybody, Hopefully this question hasn't been asked a million times already and I was just searching for it badly, but here goes. I played around with the twitter API back in basic authentication days, and I was asked by a friend to put something together for him. In the old days it would have been straight forward enough, but i'm very confused about doing it with the oAuth mechanism. Basically what is wanted is a form on a web page that will allow an anonymous user to enter some text and then have that short text turned into a tweet on twitter on one particular twitter account. The text will be checked and massaged first to remove things like URL's, rejected if there are black listed words etc. It is intended as a send prayer request button for the twitter account @worldprayr so that people can post prayer requests from the blog page of the site. With the old twitter API, authentication wise this would be straight forward. The username and password would end up in the php file for the script and used as needed. With the new oAuth stuff however I am totally lost. All of the guides seem to talk about going through the allow an account to access your twitter feed box and things like that. However, I don't need any of that. I really just need to get the authentication tokens setup once, set those in the php script and away we go. But I can't for the life of me figure out how to do this. Thanks for any help you can offer, I am dreadfully confused. Jason -- 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] Stream API need help
This is not the right way to access the streaming API. John K. is going to yell at you. :) You should be making a continuous connection to the streaming API and keeping it open. This is generally done with a background PHP process that is launched with a command like: nohup php [your PHP script] Your script should make a connection and keep it open. I use Fenn Bailey's Phirehose library to handle the connection. It does all the work for you. Your inserts are probably failing because you are adding raw tweet text as it is delivered by the API. This is going to have quote marks and other characters that will cause the insert to fail. I use: $tweet_object = json_decode($status); $raw_tweet = base64_encode(serialize($tweet_object)); Then I insert the $raw_tweet value. This has never failed. I have an open source library that is heavily documented that explains this process. It uses PHP, Phirehose and MySQL, so it is a good starting point for you to build on: http://140dev.com/free-twitter-api-source-code-library/twitter-database-server/ On Thu, Dec 9, 2010 at 3:24 AM, planb planche...@gmail.com wrote: Hey Guys, I'm trying to stream in any tweets related to my keyword but for some reason they won't go into the my_sql database any thoughts? The other day it suddenly started workingnow its not working againi dont get it. $fp = fopen(http://; . $username . : . $password . @stream.twitter.com/1/statuses/filter.json?track= . $keyword , 'r'); while($data = fgets($fp)) { $tweet = json_decode($data, true); $user = $tweet['user']['screen_name']; $text = $tweet['text']; $sql = INSERT INTO dbname (user,tweet) VALUES('$user','$tweet'); mysql_query($sql); } fclose($fp); -- 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
[twitter-dev] Twitter Profile Widget experiencing Javascript Runtime Error on page load
Hi everyone, The subject says it all, and we get an error saying that Twtr does not implement the decay function, which I suspect has to do with the minification of the widget.js file that is embedded onto the page. I can pop the error in IE and Firefox if the widget does not render tweets. Is there a workaround for this? -- 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: register twitter app which is on intranet
If the app is working with a single Twitter account that you know in advance, and users will never have to login through the app, then the application website doesn't matter. You can put in any valid URL. It isn't verified when you register the app. Just use the URL for one of your public websites. It will have no affect on your app's functioning. On Wed, Dec 8, 2010 at 8:24 PM, Kieran khe...@gmail.com wrote: thanks for all info. sorry if i am missing something but at the stage where i register my app on http://dev.twitter.com/apps i am having a problem...its asks me for the 'application website' but my application is on our intranet and so is inaccessible...what url am i supposed to put in here. kieran On Dec 8, 3:06 am, Tim Bull tim.b...@binaryplex.com wrote: Oh, and while I think of it - if you just need the access token to make calls as your app (i.e. it's some kind of bot) then you don't even need to do that - just go tohttp://dev.twitter.com/apps, view your app and select my access token on the right. This will give you the access keys you need without doing the 3 step OAuth dance. Just use these to sign your requests and you'll be sweet. -- 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] Help with finding code to push tweets to Twitter from website CMS.
This tutorial will give you a step-by-step method for posting tweets to a Twitter account with PHP and OAuth: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/ You can contact me directly if you have any questions. One thing I'd add to the tutorial is to register your Twitter app with the URL of your news site. That gives you two URLs in each tweet. One can be the URL you embed in the tweet, which points directly to the article. The other is the via link that Twitter puts in the dateline. That goes to the URL you enter when registering the app. To answer another common question in advance, you enter links into the tweet text by just using a URL, not by adding 'a href=...' around the URL. So if you put google.com or http:///google.com into a tweet, they will automatically be displayed as links. I know others on this list will warn you that just tweeting links to your website is a poor use of Twitter. I agree up to a point. I think *just* tweeting links is a bad idea, but tweeting a mixture of links to useful articles, and human tweets to your followers is an effective way to build an active account. On Tue, Dec 7, 2010 at 9:42 AM, jump_simon analyt...@berniciabiggerpicture.com wrote: Hi there, I am a php developer and am in need of an API/Code to once a news item is published within a CMS, to then update a Twitter account with this information and a link back to the news article itself. Any help, links or anything that would help would be much appreciated. 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 -- 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] hot to get all friend list
You are using 'statuses/friends'. That requires OAuth, only returns 100 results at a time, and also returns the most recent tweet for each user. That is slow, bulky, and quickly gets rate limited. I use 'friends/ids', if all I need is a list of all friends. That doesn't need any authentication and returns 5,000 results at a time. Here is the PHP code I use to get all friends for a specific user. It should be readable enough to rewrite into any language. $http_code = 200; $cursor = -1; $api_call = 'http://api.twitter.com/1/friends/ids.json?user_id=' . $target_user_id . 'cursor='; while (($cursor != 0) ($http_code == 200)) { $url = $api_call . $cursor; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, user lookup ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $api = json_decode(curl_exec($ch)); $results = $api-ids; $cursor = $api-next_cursor_str; $header = curl_getinfo($ch); $http_code = $header['http_code']; if ($http_code == 200) { foreach($results as $index = $user_id) { // code to store friend's user_id somewhere } } else { // code to log or email error report } } -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev On Thu, Dec 2, 2010 at 3:50 AM, putri handayani.put...@gmail.com wrote: dear friend, need helpp, :)... im nubiiee in here i want get all friend list, and i confuse how to pupulate friend from paging.. this my code: $cursor = -1; if($cursor == -1 ){ $followers = $connection-get('statuses/friends', array('id' = $getUserId[0] ,'cursor' =$cursor)); } do { $cursornya .= $followers-next_cursor.,; $followers2 = $connection-get('statuses/friends', array('id' = $getUserId[0] ,'cursor' = $followers-next_cursor)); echo something; }while($followers-next_cursor -1 ); -- 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] Display tweets according to the design guidelines
I do this with a combination of text templates containing HTML and CSS. You can use PHP on a server to take JSON data from the API and place it into the HTML template. Then embed it into a web page and format the tweets with CSS. On the client side you can use Javascript to allow the user to pull in more tweets, and display a count of new tweets since the page was loaded. This gives you the SEO benefit of having the tweets in your original Web page, and the interactive UI with Javascript. What you don't want to do is call the Twitter API directly from Javascript in the web page. That is slower, and the tweets are invisible to Google. I have an open source framework for this model of tweet display at: http://140dev.com/free-twitter-api-source-code-library/twitter-display/ The documentation page on code architecture will show you how all the steps work together. You can contact me if you have any questions about setting it up. On Thu, Dec 2, 2010 at 4:00 PM, Daniel daniel.faza...@danielfazakas.com wrote: Hi there, I want to use the Twitter search API and display tweets formatted according to http://dev.twitter.com/pages/display_guidelines How do I go from a tweet in JSON format to the specified format without having to do the string manipulation myself? Is there a javascript tool that can do this? 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 -- 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] language and geocode problem
Yes. Everyone has noticed. They say they are working on it. The search API is code they don't seem too happy about, since it is acquired from Summize, but this time they are finally going to have to fix it. On Tue, Nov 30, 2010 at 8:27 AM, mazz sen...@gmail.com wrote: Hi, has somebody noticed that there are problems filtering the search with language and geocode? This search gives only few tweets or nothing: http://search.twitter.com/search.atom?lang=enq=me and with italian ther's no way to get results: http://search.twitter.com/search.atom?lang=itq=calcio thanks Mazz -- 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] Simple example of how to post a tweet from my website using PHP
Here is a tutorial that takes you through the entire process of tweeting to a single Twitter account using PHP and OAuth: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/ You can contact me directly if you have any questions. On Sun, Nov 28, 2010 at 7:35 AM, Wargame Website warga...@cerebros.net wrote: Hi I'm new to web development and I'm having a hard time finding the right example or tutorial for what I want to do. At the moment all I'm looking to do is have my website post an automated tweet to my own Twitter account using PHP. I've got my Consumer_Key and Consumer_Secret keys sorted out. I'm not interested in enabling users of my site to post tweets via my site, yet all the examples I seem to find are on how to enable this. I've been looking at Abraham Williams' OAuth library, since you apparently need to use OAuth to connect now, but I'm still none the wiser of how I just get my site to post a tweet. Can anyone point me towards a simple tutorial for this? 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 -- 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