[twitter-dev] Re: Twitter streaming API using oauth with tracks that have spaces?
I'm an early beginning myself. you can try following the stream of a hashtag at http://stream.twitter.com/1/statuses/filter.json?track=%23DamnItsTrue for #DamnItsTrue It require basic authentication with a valid twitter account On Aug 10, 12:31 pm, deepa deepa.23.naga...@gmail.com wrote: can anyone post the sample using streaimg API.. im not gettng how to start with this... -- 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] Re: Twitter streaming API using oauth with tracks that have spaces?
can anyone post the sample using streaimg API.. im not gettng how to start with this... -- 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] Re: Twitter Development Talk to become read-only this Friday, August 12th
Hi Dean, We will turn off the ability to create new posts for the Google Group this Friday, August 12th. From then on, all new posts should be created over at: https://dev.twitter.com/discussions Thanks, --Jason On Aug 10, 2:29 pm, Dean Collins d...@cognation.net wrote: Taylor when will twitter-development-talk@googlegroups.com be switched off and archived so no future messages can be posted to it? Cheers, Dean From: twitter-development-talk@googlegroups.com [mailto:twitter-development-talk@googlegroups.com] On Behalf Of Taylor Singletary Sent: Wednesday, August 10, 2011 4:23 PM To: twitter-development-talk@googlegroups.com Cc: Jason Costa Subject: Re: [twitter-dev] Twitter Development Talk to become read-only this Friday, August 12th Hi Dossy Dean, Email subscription options are configurable either from specific forum category pages or more universally athttps://dev.twitter.com/user-- unfortunately you can't reply directly to emails yet, but it's a feature we're hoping to provide in the future. We are moving to a single dev discussion location:https://dev.twitter.com/discussions Announcements will be made on the developer blog:https://dev.twitter.com/blog/category/announcementsand @twitterapi. As we've done with announcements for some time, we'll tend to directly link an announcement with a discussion thread -- now on dev.twitter.com/discussions instead of these older google groups. @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Wed, Aug 10, 2011 at 1:05 PM, Dossy Shiobara do...@panoptic.com wrote: How do I subscribe to the discussion forum via email? On 8/10/11 3:27 PM, Jason Costa wrote: With our move over to the new dev.twitter.com, we've shifted our attention toward answering questions in the developer discussions taking place at: https://dev.twitter.com/discussions -- Dossy Shiobara | He realized the fastest way to change do...@panoptic.com | is to laugh at your own folly -- then youhttp://panoptic.com/ | can let go and quickly move on. (p. 70) * WordPress * jQuery * MySQL * Security * Business Continuity * -- Have you visited the Developer Discussions feature onhttps://dev.twitter.com/discussionsyet? 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 -- Have you visited the Developer Discussions feature onhttps://dev.twitter.com/discussionsyet? 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 -- 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] Re: Twitter API SSL certificate failing validation
Pardon me, I have the same problem, but I seem to be missing something about the solution. My application is in Ruby on Rails, with a gem called OmniAuth doing the OAuth work. It was working just fine before this change, automatically fetching my certificates from /etc/ssl/certs directory. What should I do to adjust to the new CA? Thanks in advance. On Jul 19, 5:54 am, John Adams j...@twitter.com wrote: On Mon, Jul 18, 2011 at 8:17 PM, pgarvie garvie.p...@gmail.com wrote: Has Twitter done something with its SSL certificates lately? As in sometime this afternoon? We've been seeing a ton of sun.security.validator.ValidatorExceptions coming out of Twitter4J since about 5:30PM, USCentral. The certificate for api.twitter.com previously used a wildcard certificate which was issued by Rapid SSL. We switched the API SSL certificate (after much testing) to a Verisign SSL certificate today and the IP to dedicated VIPs. If you are using Java, there may be a chance that you do not have the Verisign Root CA Certificate installed in the Java Keychain of your application. Make sure that exists. You'll need that to verify our certificate chain. You want this Root CA, which is available from Verisign (or in this file:http://curl.haxx.se/ca/cacert.pem) i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority - G2/OU=(c) 1998 VeriSign, Inc. - For authorized use only/OU=VeriSign Trust Network You may also need to clear your DNS cache and/or restart your application. I've seen Java's security layer not revalidate SSL certificates correctly until restart, but I know little about how your application functions. -John Twitter Security -- 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
Re: [twitter-dev] Re: Twitter API SSL certificate failing validation
Make sure in /etc/ssl/certs that you have a copy of the Verisign root CA file, just like in the java example above. If you're loading all files from /etc/ssl/certs you should be able to just drop in the http://curl.haxx.se/ca/cacert.pem file and that should fix your issue. -j On Wed, Jul 20, 2011 at 3:29 AM, Haitham haitham.moham...@gmail.com wrote: Pardon me, I have the same problem, but I seem to be missing something about the solution. My application is in Ruby on Rails, with a gem called OmniAuth doing the OAuth work. It was working just fine before this change, automatically fetching my certificates from /etc/ssl/certs directory. What should I do to adjust to the new CA? Thanks in advance. On Jul 19, 5:54 am, John Adams j...@twitter.com wrote: On Mon, Jul 18, 2011 at 8:17 PM, pgarvie garvie.p...@gmail.com wrote: Has Twitter done something with its SSL certificates lately? As in sometime this afternoon? We've been seeing a ton of sun.security.validator.ValidatorExceptions coming out of Twitter4J since about 5:30PM, USCentral. The certificate for api.twitter.com previously used a wildcard certificate which was issued by Rapid SSL. We switched the API SSL certificate (after much testing) to a Verisign SSL certificate today and the IP to dedicated VIPs. If you are using Java, there may be a chance that you do not have the Verisign Root CA Certificate installed in the Java Keychain of your application. Make sure that exists. You'll need that to verify our certificate chain. You want this Root CA, which is available from Verisign (or in this file: http://curl.haxx.se/ca/cacert.pem) i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority - G2/OU=(c) 1998 VeriSign, Inc. - For authorized use only/OU=VeriSign Trust Network You may also need to clear your DNS cache and/or restart your application. I've seen Java's security layer not revalidate SSL certificates correctly until restart, but I know little about how your application functions. -John Twitter Security -- 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 -- 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] Re: Twitter API SSL certificate failing validation
John: Thanks much. This helps a lot. We very much appreciate you being able to get back to us with this info on such short notice. On Jul 18, 10:54 pm, John Adams j...@twitter.com wrote: On Mon, Jul 18, 2011 at 8:17 PM, pgarvie garvie.p...@gmail.com wrote: Has Twitter done something with its SSL certificates lately? As in sometime this afternoon? We've been seeing a ton of sun.security.validator.ValidatorExceptions coming out of Twitter4J since about 5:30PM, USCentral. The certificate for api.twitter.com previously used a wildcard certificate which was issued by Rapid SSL. We switched the API SSL certificate (after much testing) to a Verisign SSL certificate today and the IP to dedicated VIPs. If you are using Java, there may be a chance that you do not have the Verisign Root CA Certificate installed in the Java Keychain of your application. Make sure that exists. You'll need that to verify our certificate chain. You want this Root CA, which is available from Verisign (or in this file:http://curl.haxx.se/ca/cacert.pem) i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority - G2/OU=(c) 1998 VeriSign, Inc. - For authorized use only/OU=VeriSign Trust Network You may also need to clear your DNS cache and/or restart your application. I've seen Java's security layer not revalidate SSL certificates correctly until restart, but I know little about how your application functions. -John Twitter Security -- 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] Re: twitter search json api not working
I'm willing to be it is the same no callback wrapper problem reported in the thread titled search.json.com JSONP random problem. Brian Maso On Jul 14, 1:58 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: What's not working about it? On Thu, Jul 14, 2011 at 1:40 PM, sahu sahu.vi...@gmail.com wrote: twitter search json api not working #twitter #search #api http://search.twitter.com/search.json?q=twitter -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussionsyet? 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 -- 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] Re: Twitter Mentions since_id
Thank you Taylor, I finally got it working (oh btw i scambled up my keys above before posting :) ) Mentions is now working without a problem, now im busy (and getting stuck) with direct messages as this seems to use SSL and not just the normal http as per the mentions. But I will try and sort it out myself, otherwise i know where to find help :) On Jul 6, 4:05 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hey there Paul, First, you'll want to change/reset your API keys ASAP -- you should never post your consumer secret (that signing key) on a public forum. One thing that may be amiss in your request here is that you're including an oauth_callback parameter in your header that is not in your signature base string. In fact, you shouldn't be setting an oauth_callback on any other API method other than oauth/request_token. This sort of inconsistency can easily invalidate a request. Make sure to strip this parameter out of your authorization header. When you finally get back to your mission, including since_id -- be sure and add it to your signature base string, and since this is in lexicographical order and s comes after o, it'll be the last parameter in your signature base string assuming you don't add any other additional parameters. You'll also need to include it on the querystring of your request. Hope this helps. @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Wed, Jul 6, 2011 at 5:20 AM, Paul jpb@gmail.com wrote: This is really frustrating. Thank you Tom, made the changes but no effect. Here is everything I pass and get. Im trying to do a GET for mentions. Whats the problem? :( - Generate Base URL - base=GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fmentions.xmloauth_consumer_key%3D0RaXE4T4CuMFJHI1jViEQ %26oauth_nonce%3DDGTQVDPXRAYASJJFJLJF%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1309954505%26oauth_token %3D298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd%26oauth_version %3D1.0 -- - Build Signature - -- - Request twit Start - postvars= url=http://api.twitter.com/1/statuses/mentions.xml -- - Socket Before Header Send - GET /1/statuses/mentions.xml HTTP/1.0 Accept: */* Referer:http://eden.fm User-Agent: Mozilla/4.0 (compatible; ICS) Host: api.twitter.com Authorization: OAuth oauth_nonce=DGTQVDPXRAYASJJFJLJF, oauth_callback=oob, oauth_token=298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1309954505, oauth_consumer_key=0RaXE4T4CuMFJHI1jViEQ, oauth_signature=Q844NOw7T0oq8tNQkdR%2F6ez6Z8s%3D, oauth_version=1.0 -- - Socket Header End - HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- - Request Done Socket DocEnd - result= status code=401 headers=HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- result=?xml version=1.0 encoding=UTF-8? hash errorCould not
[twitter-dev] Re: Twitter Sentiment
I have come across many API from Twitter that help people integrate Twitter into their software. I am developing an application that Analyzes Twitter sentiments as to determine their polarity (positive or negative), for my MSc project. I am however yet to find a way to integrate Twitter into the Netbeans project so that users can be able to search for Twitter topics (through the program) and thus allowing the program to analyze the search results. Please can you help me with such API and possibly a tutorial on how it could be used. Will the tweetsentiments API be useful in your case? http://www.readwriteweb.com/hack/2010/11/api-of-the-week-tweetsentiment.php - Mohan -- 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] Re: Twitter trends
You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdt i...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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 trends
Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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: Twitter trends
http://dev.twitter.com/pages/streaming_api_methods#track Does exactly what you're looking for. There are various libraries you can use to access and store the streaming tweets, just search for example code. On Jul 11, 10:11 am, Tom van der Woerdt i...@tvdw.eu wrote: Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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 trends
No, the search API only goes a few (2-3) days back. Maybe some company has kept track of that information over the past years, but you can't do it with the tools Twitter gives you. Tom On 7/11/11 5:47 PM, Mohit T wrote: Say if I do not want streaming but I want historical tweets since creation of twitter? Is this possible? On Jul 11, 2:11 pm, Tom van der Woerdti...@tvdw.eu wrote: Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.euwrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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: Twitter trends
Ok if I cannot do it with tools twitter gives me, maybe you know any such companies like you mentioned? It would be a great help. On Jul 11, 4:49 pm, Tom van der Woerdt i...@tvdw.eu wrote: No, the search API only goes a few (2-3) days back. Maybe some company has kept track of that information over the past years, but you can't do it with the tools Twitter gives you. Tom On 7/11/11 5:47 PM, Mohit T wrote: Say if I do not want streaming but I want historical tweets since creation of twitter? Is this possible? On Jul 11, 2:11 pm, Tom van der Woerdti...@tvdw.eu wrote: Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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 trends
I do not. Tom On 7/11/11 5:57 PM, Mohit T wrote: Ok if I cannot do it with tools twitter gives me, maybe you know any such companies like you mentioned? It would be a great help. On Jul 11, 4:49 pm, Tom van der Woerdti...@tvdw.eu wrote: No, the search API only goes a few (2-3) days back. Maybe some company has kept track of that information over the past years, but you can't do it with the tools Twitter gives you. Tom On 7/11/11 5:47 PM, Mohit T wrote: Say if I do not want streaming but I want historical tweets since creation of twitter? Is this possible? On Jul 11, 2:11 pm, Tom van der Woerdti...@tvdw.euwrote: Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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: Twitter trends
Say if I do not want streaming but I want historical tweets since creation of twitter? Is this possible? On Jul 11, 2:11 pm, Tom van der Woerdt i...@tvdw.eu wrote: Yes, but you will have to do that by getting all the tweets and doing a count on them. The best way to get all these tweets is to use the streaming api (which will simply send all these tweets to you). I'm afraid I cannot reach dev.twitter.com atm - look for Streaming or filter.json. Tom On 7/11/11 3:08 PM, Mohit T wrote: You will have to break it down further. Sorry I am new to this area and my programming is not strong. Essentially I want a word count per minute of a keyword which is in a tweet I enter for the last 1 year. Can this be done? On Jul 11, 2:01 pm, Tom van der Woerdti...@tvdw.eu wrote: Open a connection to the Streaming API (filter stream) and count the amount of incoming tweets. More information onhttp://dev.twitter.com/ Tom On 7/11/11 12:22 PM, Mohit T wrote: Hi there, I am doing research on how the gold prices in the market are affected by number of tweets. Hence does anybody know how I can get data on how many times gold is tweeted (preferably to lowest frequency, maybe 1 minute) or even 1 hour? If anybody can help me I would appreciate it very very much -- 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: Twitter Live Data Public Streaming ...
I am developing emotion based Sentiment Analysis for Twitter data. I am interested in applying for sentiments for live tweets dynamically from Twitter. I am looking on API to get the live public data from Twitter to my application. How can I proceed with this API to get public tweets. You might want to take a look at this: http://jeffreybreen.wordpress.com/2011/07/04/twitter-text-mining-r-slides/ Mining Twitter for consumer attitudes towards airlines (using R) – (a) “search twitter in 1 line of code”; (b) Estimate sentiment from ‘opinion lexicon’ (how to analyze sarcasm); (c) score/compare/ rinse/repeat - 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-dev] Re: Twitter Live Data Public Streaming ...
This tut using py library to fetch public timeline tweets by using twitter api might help you out. You are creating a ai app, sounds great! Good luck. --- http://vishaltelangre.com http://twitter.com/suruwat On Jul 9, 2:00 am, Balakrishnan Prasanna balkiprasa...@gmail.com wrote: Hi Matt Harris, I am developing emotion basedSentiment AnalysisforTwitterdata. I am interested in applying for sentiments for live tweets dynamically fromTwitter. I am looking on API to get the livepublic datafrom Twitterto my application. How can I proceed with this API to get public tweets. Regards, Prasanna. -- 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 Search not showing results
I don't understand on basis we get the results. If we have two twitter accounts X and Y in a site. If we search same keyword from both accounts, will ratelimit is calculated seperately for the two accounts? From one account it is showing as rate limit error and other is not showing rate limit error but returning an empty array(for same keyword at same time). Thanks in advance. -- 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: Twitter Mentions since_id
This is really frustrating. Thank you Tom, made the changes but no effect. Here is everything I pass and get. Im trying to do a GET for mentions. Whats the problem? :( - Generate Base URL - base=GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fmentions.xmloauth_consumer_key%3D0RaXE4T4CuMFJHI1jViEQ %26oauth_nonce%3DDGTQVDPXRAYASJJFJLJF%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1309954505%26oauth_token %3D298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd%26oauth_version %3D1.0 -- - Build Signature - SignKey=ey75K0x7bgyI4BwwG5mn7vLVNQiyphJo9MMT8t6bj0Syk7tpizLGSo2xvJ9Q8Y1G318eKO8QXvPGWoOpdXWw Signature=Q844NOw7T0oq8tNQkdR/6ez6Z8s= -- - Request twit Start - postvars= url=http://api.twitter.com/1/statuses/mentions.xml -- - Socket Before Header Send - GET /1/statuses/mentions.xml HTTP/1.0 Accept: */* Referer: http://eden.fm User-Agent: Mozilla/4.0 (compatible; ICS) Host: api.twitter.com Authorization: OAuth oauth_nonce=DGTQVDPXRAYASJJFJLJF, oauth_callback=oob, oauth_token=298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1309954505, oauth_consumer_key=0RaXE4T4CuMFJHI1jViEQ, oauth_signature=Q844NOw7T0oq8tNQkdR%2F6ez6Z8s%3D, oauth_version=1.0 -- - Socket Header End - HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- - Request Done Socket DocEnd - result= status code=401 headers=HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- result=?xml version=1.0 encoding=UTF-8? hash errorCould not authenticate with OAuth./error request/1/statuses/mentions.xml/request /hash On Jun 10, 9:23 pm, Tom van der Woerdt i...@tvdw.eu wrote: There's a : after oauth_consumer_key while there should be an =. There's also an = (in oauth_signature) which should be URLencoded. Tom On 6/10/11 9:15 PM, Paul wrote: This is my headers thats being send. Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key: 0RaXE4T4CuMFJHI1jViEQ, oauth_signature_method=HMAC- SHA1,oauth_timestamp=1307733172,oauth_nonce=F0F2B456BC9606278FB345323D753CEC,oauth_version=1.0, oauth_token=291935165-WqP8tSDqJyTewmsabMV7fiS7Y3ahxTXh60LSzFNb, oauth_signature=VbTbuDqv+IZZQQoO1CUuvPXYGKo= Host: api.twitter.com Accept: text/html, */* Accept-Encoding: identity User-Agent: Mozilla/3.0 (compatible; Indy Library) On May 23, 8:22 pm, Arnaud Meunierarn...@twitter.com wrote: Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rnohttp://twitter.com/rno On Sun, May 22, 2011 at 11:58 PM, Pauljpb@gmail.com wrote: Im trying to get mentions using the since_id parameter. If I leave out the since_id parameter I get all my mentions, which is correct, but as soon as I add the since_id, I get 401, unauthorised. Since Im VERY new to the twitter and oAuth API, it might be
Re: [twitter-dev] Re: Twitter Search not showing results
Hai, Sometimes Twitter Server Behaves Oddlybecause of server load. even i got the Empty array for otherrequests also. we can't say why it is happenning. we must handle the Error cases properly(Empty list as well as Error Messages). //kamesh On Wed, Jul 6, 2011 at 5:16 PM, sri shilpa srishilp...@gmail.com wrote: I don't understand on basis we get the results. If we have two twitter accounts X and Y in a site. If we search same keyword from both accounts, will ratelimit is calculated seperately for the two accounts? From one account it is showing as rate limit error and other is not showing rate limit error but returning an empty array(for same keyword at same time). Thanks in advance. -- 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
Re: [twitter-dev] Re: Twitter Mentions since_id
Hello Mr.Paul use the url starts with https but not with http After making this change u won't get 401 un authorized error. //kamesh On Wed, Jul 6, 2011 at 5:50 PM, Paul jpb@gmail.com wrote: This is really frustrating. Thank you Tom, made the changes but no effect. Here is everything I pass and get. Im trying to do a GET for mentions. Whats the problem? :( - Generate Base URL - base=GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fmentions.xmloauth_consumer_key%3D0RaXE4T4CuMFJHI1jViEQ %26oauth_nonce%3DDGTQVDPXRAYASJJFJLJF%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1309954505%26oauth_token %3D298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd%26oauth_version %3D1.0 -- - Build Signature - SignKey=ey75K0x7bgyI4BwwG5mn7vLVNQiyphJo9MMT8t6bj0Syk7tpizLGSo2xvJ9Q8Y1G318eKO8QXvPGWoOpdXWw Signature=Q844NOw7T0oq8tNQkdR/6ez6Z8s= -- - Request twit Start - postvars= url=http://api.twitter.com/1/statuses/mentions.xml -- - Socket Before Header Send - GET /1/statuses/mentions.xml HTTP/1.0 Accept: */* Referer: http://eden.fm User-Agent: Mozilla/4.0 (compatible; ICS) Host: api.twitter.com Authorization: OAuth oauth_nonce=DGTQVDPXRAYASJJFJLJF, oauth_callback=oob, oauth_token=298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1309954505, oauth_consumer_key=0RaXE4T4CuMFJHI1jViEQ, oauth_signature=Q844NOw7T0oq8tNQkdR%2F6ez6Z8s%3D, oauth_version=1.0 -- - Socket Header End - HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- - Request Done Socket DocEnd - result= status code=401 headers=HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- result=?xml version=1.0 encoding=UTF-8? hash errorCould not authenticate with OAuth./error request/1/statuses/mentions.xml/request /hash On Jun 10, 9:23 pm, Tom van der Woerdt i...@tvdw.eu wrote: There's a : after oauth_consumer_key while there should be an =. There's also an = (in oauth_signature) which should be URLencoded. Tom On 6/10/11 9:15 PM, Paul wrote: This is my headers thats being send. Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key: 0RaXE4T4CuMFJHI1jViEQ, oauth_signature_method=HMAC- SHA1,oauth_timestamp=1307733172,oauth_nonce=F0F2B456BC9606278FB345323D753CEC,oauth_version=1.0, oauth_token=291935165-WqP8tSDqJyTewmsabMV7fiS7Y3ahxTXh60LSzFNb, oauth_signature=VbTbuDqv+IZZQQoO1CUuvPXYGKo= Host: api.twitter.com Accept: text/html, */* Accept-Encoding: identity User-Agent: Mozilla/3.0 (compatible; Indy Library) On May 23, 8:22 pm, Arnaud Meunierarn...@twitter.com wrote: Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rnohttp://twitter.com/rno
Re: [twitter-dev] Re: Twitter Mentions since_id
Hey there Paul, First, you'll want to change/reset your API keys ASAP -- you should never post your consumer secret (that signing key) on a public forum. One thing that may be amiss in your request here is that you're including an oauth_callback parameter in your header that is not in your signature base string. In fact, you shouldn't be setting an oauth_callback on any other API method other than oauth/request_token. This sort of inconsistency can easily invalidate a request. Make sure to strip this parameter out of your authorization header. When you finally get back to your mission, including since_id -- be sure and add it to your signature base string, and since this is in lexicographical order and s comes after o, it'll be the last parameter in your signature base string assuming you don't add any other additional parameters. You'll also need to include it on the querystring of your request. Hope this helps. @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Wed, Jul 6, 2011 at 5:20 AM, Paul jpb@gmail.com wrote: This is really frustrating. Thank you Tom, made the changes but no effect. Here is everything I pass and get. Im trying to do a GET for mentions. Whats the problem? :( - Generate Base URL - base=GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fmentions.xmloauth_consumer_key%3D0RaXE4T4CuMFJHI1jViEQ %26oauth_nonce%3DDGTQVDPXRAYASJJFJLJF%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1309954505%26oauth_token %3D298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd%26oauth_version %3D1.0 -- - Build Signature - -- - Request twit Start - postvars= url=http://api.twitter.com/1/statuses/mentions.xml -- - Socket Before Header Send - GET /1/statuses/mentions.xml HTTP/1.0 Accept: */* Referer: http://eden.fm User-Agent: Mozilla/4.0 (compatible; ICS) Host: api.twitter.com Authorization: OAuth oauth_nonce=DGTQVDPXRAYASJJFJLJF, oauth_callback=oob, oauth_token=298006718-8yTikfcuvQ3Xq1ZGuykhkxK2wY0ZAOxcI0jesRxd, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1309954505, oauth_consumer_key=0RaXE4T4CuMFJHI1jViEQ, oauth_signature=Q844NOw7T0oq8tNQkdR%2F6ez6Z8s%3D, oauth_version=1.0 -- - Socket Header End - HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- - Request Done Socket DocEnd - result= status code=401 headers=HTTP/1.1 401 Unauthorized Date: Wed, 06 Jul 2011 12:16:11 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: OAuth realm=http://api.twitter.com; X-Runtime: 0.00899 Content-Type: application/xml; charset=utf-8 Content-Length: 152 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=41.133.180.120.1309954571265496; path=/; expires=Wed, 13- Jul-11 12:16:11 GMT; domain=.twitter.com Set-Cookie: guest_id=v1%3A130995457172572573; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 00:16:11 GMT Set-Cookie: original_referer=ojItV1ByhTzWh74Jc1NQEw%3D%3D; path=/ Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNR9YP8wAToHaWQiJTQzZGVmMTE3YTI5ZjEz %250AOGYzZWEwYjlmNTRlM2I3MzA2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- dd24ddb28d1207c2ebf479e57b6f9edb82553bbe; domain=.twitter.com; path=/; HttpOnly Expires: Wed, 06 Jul 2011 12:46:11 GMT Vary: Accept-Encoding Connection: close -- result=?xml version=1.0 encoding=UTF-8? hash errorCould not authenticate with OAuth./error request/1/statuses/mentions.xml/request /hash On Jun 10, 9:23 pm, Tom van der Woerdt i...@tvdw.eu wrote: There's a : after oauth_consumer_key while there should be an =. There's also an = (in oauth_signature) which should be URLencoded. Tom On 6/10/11 9:15 PM, Paul wrote: This is my headers thats being send. Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key: 0RaXE4T4CuMFJHI1jViEQ, oauth_signature_method=HMAC-
[twitter-dev] Re: Twitter Authenication
Hi, this guy's lib is the best when it comes to Twitter interfacing, https://github.com/themattharris/tmhOAuth it has some examples on it. I am already using it in my web site, the user signs in with Twitter and he comes back to my page with all the user info ready to display. this is the page if you wanna see it for yourself http://regateo.com.ve On Jul 3, 4:02 pm, ken lee khan...@gmail.com wrote: Hello, I am looking for a mod or a know-how to use their twitter account to sign in to my site. Steps: 1. New user that has twitter account comes to my sign 2. Use Sign in with twitter button to authenticate. 3. Once it is authenticate through twitter, I want to have his twitter's username as the username on my site. As long as it passes back the username, I can assign that username to the signup form on my site. I've been googling google for the know-how, but with little luck. Please advise. Thanks! -- 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 Search not showing results
Hai shilpa, Rate Limiting depends on the IP Adress. Twitter server calculates the no of requests from the IP adress and limits the response. //kamesh On Fri, Jul 1, 2011 at 10:33 PM, sri shilpa srishilp...@gmail.com wrote: Thank You Kamesh. Yes thats only the problem. But my client is not getting results even once also. But i am getting results as in twitter advanced search...i don't understand what might be the problem. Is Blacklist is based on IP address or server used. I am getting results in same server. I am not sure whats happening.. Once again Thanks... -- 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: Twitter Search not showing results
Hai Shipla, Did u check the HTTP Response code what it is returning when u are not getting the results. when u are not getting the results it might give the response code as 200 but the response contains the Error Message Rate limit exceed or empty response. //kamesh On Jul 1, 10:49 am, sri shilpa srishilp...@gmail.com wrote: Hi All, I am facing problem. Using twitter search API sometimes i am not getting any results and sometimes i am getting results(for the same keyword). Please can you tell me what might be the problem. Researched on it a lot. Tried in many ways but no use. Please waiting for your reply. Thanks in advance -- 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: Twitter Search not showing results
Thank You Kamesh. Yes thats only the problem. But my client is not getting results even once also. But i am getting results as in twitter advanced search...i don't understand what might be the problem. Is Blacklist is based on IP address or server used. I am getting results in same server. I am not sure whats happening.. Once again Thanks... -- 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: Twitter and Atom. Result type
Hi, May be your twitter is private so your account tweets are not shown... Or else there are no tweets with that has tag -- 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 and Atom. Result type
Do other tweets you post show up in search? This article might help you: https://support.twitter.com/articles/66018-i-m-missing-from-search @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Fri, Jul 1, 2011 at 10:18 AM, sri shilpa srishilp...@gmail.com wrote: Hi, May be your twitter is private so your account tweets are not shown... Or else there are no tweets with that has tag -- 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: Twitter API changes
but currently i am getting all the information for them... when will i stop getting this info? On Jun 27, 7:45 am, kamesh SmartDude kamesh.smartd...@gmail.com wrote: hi, the users who are already logged in should logout and relogin againotherswise they will not get any data(not only DM's) because u chaged the application settings(i found this issues in my app) //kamesh On Sun, Jun 26, 2011 at 6:42 PM, Ran Margaliot ran5...@gmail.com wrote: Hello, Recently twitter has changed the access level that apps are getting to the user detail, an app need to mark that it needs access to the user's DMs in order to get it (unlike before), i have marked this option in my app settings page on twitter so i will have full data access for new users registering to my app. my question is what about users who performed authentication before that change? will i still be getting full access to their account (including DMs)? are there any other issues in the api change that might restrict the data im getting from twitter? Thanks! Ran -- 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: Twitter API error on my website
Hi Mohan, We are using a widget and it appears to still be happening, could this be because of an increase in traffic to the site? It works and then the next time you go to the site it will have the error again. Cheers Steven On Jun 26, 11:15 pm, Mohan Arun mar...@gmail.com wrote: The Twitter API returned an error while processing your request. Please try again. Are you using a widget or you are using some custom code for feeding the tweets in your wordpress website? If you are using some widget, then most probably it will start working again after some time. 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-dev] Re: Twitter API error on my website
Hi Mohan, We are using a widget and it appears to still be happening, could this be because of an increase in traffic to the site? It works and then the next time you go to the site it will have the error again. I would say this is most likely something to do with the base site from which the widget is hosted. Look through the code of the widget to find where it loads from. Is it the case where you are using twitter's own embeddable widget? Try substituting twitter's version of the widget and see if you get the same error. - 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-dev] Re: Twitter API error on my website
The Twitter API returned an error while processing your request. Please try again. Are you using a widget or you are using some custom code for feeding the tweets in your wordpress website? If you are using some widget, then most probably it will start working again after some time. 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-dev] Re: Twitter and iOS - an Integration Workshop
By the way Tom - in case you're interested, the Twitter Integration talk from WWDC has been uploaded on Apple's developer site: https://developer.apple.com/videos/wwdc/2011/index.php You'll need your Apple developer credentials to access it. The title of the video is Twitter Integration. --Jason On Jun 7, 4:08 pm, Jason Costa jasonco...@twitter.com wrote: Hi Tom - unfortunately we will not be able to record this particular event. On Jun 6, 11:30 am, Tom van der Woerdt i...@tvdw.eu wrote: What about the rest of theiOSdevelopers who can't be there? I'm registeredas anAppleDeveloperbut I'm not there... Tom On 6/6/11 8:29 PM, Jason Costa wrote: Hi everyone, We're incredibly excited about the announcement thatApplemade at WWDC today. We believe that Twitter's deep integration withiOSis going to open up a lot of exciting opportunities for developers. For your apps, this includes: - single sign-on and lightweight identity - taking advantage of the tweet sheet feature - the ability to tweet a photo from your app - pulling down a user's following graph and a whole lot more. As part of the announcement, we're looking to host a workshop at Twitter's headquarters this Wednesday (6/8) from 6:30pm to 8:30pm at 795 Folsom Street. At this event, we'll cover what the integration hooks mean for developers. Loren Brichter will also be talking about ABUIKit, a UI framework specifically for Mac, which we'll be open-sourcing. In order to attend, you'll need to first beregisteredas anApple Developer- you can register withApplehere: http://developer.apple.com/programs/register/ Please also RSVP at the link below (with yourAppleDeveloperlogin): http://bit.ly/jBX5B6 We hope you'll be able to join us for the evening. --@jasoncosta -- 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 Authenticate displays Authorize screen and on reload it Authenticates and continues to callback
Hey, The authenticate flow will display a login screen in a number of situations: * if the user isn't logged into twitter.com * if the user hasn't allowed the application access to their account before * if you pass the force_login or screen_name parameter to the authenticate endpoint * if the user has revoked access to the application * if the requested permission level is different to the one the user originally allowed Is it possible any of those situations are happening? Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter On Wed, Jun 22, 2011 at 6:14 AM, mike_f1 mi...@realflair.com wrote: I have the exact same issue, but am using C# and the Twitterizer library. Also, I can't seem to prevent the Authenticate pop up appearing and asking for permission despite the app already being authorised for this user and the user already signed in to Twitter. Checked by logging into twitter and going to Applications - I 'allowed' it by using Authenticate as per http://dev.twitter.com/pages/sign_in_with_twitter the first time, but it still pops up every time since. Is it something to do with how the App has been 'allowed' access? Do I need to 'allow' the app using the authorize URL first then using the authenticate url for future requests? Must be doing something wrong but I can't see what, can anyone shine any light on this please? -- 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
Re: [twitter-dev] Re: Twitter search question
Hi Brian, Thanks for the quick response. Here's something strange regarding the issue. When I go in and update the email address (when it prompts me that the mail server had issues) the tweets pop back up within results in less than an hour. Is that working as it should? Also, sometimes when I log back in it tells me again to update my email. If I don't, my tweets stop showing in the results until I do. I don't know if I found a bug or what. I'll open a ticket to see if any of them have been flagged for anything. Let me know if you need any further info from me. Thanks, -Casey On Tue, Jun 14, 2011 at 4:16 PM, Brian Sutorius bsutor...@twitter.com wrote: Hey Casey, Not all Tweets make it into our search index. For more information, check out this article on our help center: https://support.twitter.com/articles/42646. If you think your account has been affected, please fill out the form linked from the bottom of that page while logged in as the account, and we'll get back to you. Brian Sutorius Twitter API Policy On Jun 14, 9:06 am, Casey Wilson cas...@downlifesroad.com wrote: Hey all, I understand this is probably the wrong forum for this, but if you could point me in the right direction I'd be appreciative. We have a question for the search side of things. We've had some niche related sites using twitter for a long time now. Here within the last month or two we've noticed some of our accounts getting flagged as not being able to be emailed (Mail server went down) and since then accounts have been going completely missing from search. We were wondering who to talk to about this, as I've gotten a few emails on the issue and I don't know what to tell our users. Thanks! -Casey -- 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: Twitter JSON feed falls out with php
You are accessing API in an unauthentic way and without oAuth, and you are running out of API calls. You can add a service method to track remaining API calls that you have left to confirm this, e.g, http://api.twitter.com/1/account/rate_limit_status.{xml | json}. You can research from thousands of PHP tutorials and examples out their and improve your code base to use oAuth. Check out http://dev.twitter.com/pages/oauth_single_token to start into oAuth for your single user feed application. ~Patrick On Jun 13, 9:47 am, Andreas Voss anv...@gmail.com wrote: Hey Twitter Developers. I've had a bit om a problem with my home made twitter feed plugin for my website, sometimes it just wont load the feed for like 30 minutes and then it starts working again. Is there any of you familiar with this kind of error? ?php $user = andreasvoss; $url = http://twitter.com/statuses/user_timeline/.$user..json;; $json = file_get_contents($url); $data = json_decode($json); foreach($data as $val){ $screen_name = $val-user-screen_name; $tweet = $val-text; $date = strtotime($val-created_at); ? span class=name@?php echo $screen_name; ?/ spanbr span class=update?php echo $tweet; ?/spanbr span class=timefor ?php echo $date; ?/ spanbrbr ?php} ? Kind regards Andreas Voss -- 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: Twitter search question
Hey Casey, Not all Tweets make it into our search index. For more information, check out this article on our help center: https://support.twitter.com/articles/42646. If you think your account has been affected, please fill out the form linked from the bottom of that page while logged in as the account, and we'll get back to you. Brian Sutorius Twitter API Policy On Jun 14, 9:06 am, Casey Wilson cas...@downlifesroad.com wrote: Hey all, I understand this is probably the wrong forum for this, but if you could point me in the right direction I'd be appreciative. We have a question for the search side of things. We've had some niche related sites using twitter for a long time now. Here within the last month or two we've noticed some of our accounts getting flagged as not being able to be emailed (Mail server went down) and since then accounts have been going completely missing from search. We were wondering who to talk to about this, as I've gotten a few emails on the issue and I don't know what to tell our users. Thanks! -Casey -- 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 Button Torture!
Can you tell us which browsers you are using and explain a little bit about what you mean when you say the button doesn't 'look right'? Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter On Tue, Jun 14, 2011 at 7:00 PM, 3 rexes t...@threerexes.com wrote: Are there any brilliant button tweakers out there that can help??? -- 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
Re: [twitter-dev] Re: Twitter Button Torture!
Thanks Themattharris, I'm using Firefox. I'll see if I can add the horizontal button code to my site so you can see it. Tara -- 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 Button Torture!
Hey Tara, Nothing changed our side so it sounds like your browser was the cause. Either way, glad you got it working. Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter On Tue, Jun 14, 2011 at 9:38 PM, 3 rexes t...@threerexes.com wrote: Themattharris, somehow you fixed it. I spent a good 2 hours trying to figure this out, and now it looks normal. Maybe my browser needed to shut down re-start? Here it is looking normal http://www.threerexes.com/Shop/NecklacePage/Empress-Silver-Gothic-Choker-Necklace.htmlI need to hire a website tech! Thanks!!! -- 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: Twitter Mentions since_id
This is my headers thats being send. Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key: 0RaXE4T4CuMFJHI1jViEQ, oauth_signature_method=HMAC- SHA1,oauth_timestamp=1307733172,oauth_nonce=F0F2B456BC9606278FB345323D753CEC,oauth_version=1.0, oauth_token=291935165-WqP8tSDqJyTewmsabMV7fiS7Y3ahxTXh60LSzFNb, oauth_signature=VbTbuDqv+IZZQQoO1CUuvPXYGKo= Host: api.twitter.com Accept: text/html, */* Accept-Encoding: identity User-Agent: Mozilla/3.0 (compatible; Indy Library) On May 23, 8:22 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rno http://twitter.com/rno On Sun, May 22, 2011 at 11:58 PM, Paul jpb@gmail.com wrote: Im trying to get mentions using the since_id parameter. If I leave out the since_id parameter I get all my mentions, which is correct, but as soon as I add the since_id, I get 401, unauthorised. Since Im VERY new to the twitter and oAuth API, it might be the way my string is made up, but I need some help please. http://api.twitter.com/1/statuses/mentions.json?since_id=1oauth_cons...{key}oauth_nonce={key}oauth_signature_method=HMAC-SHA1oauth_signature={key}oauth_timestamp=1306132513oauth_token={key}oauth_version=1.0 Where {key} are the correct values. I've tried adding the since_id at the back but without any luck. From the source code it seems that the signature is created on the base code of : http://api.twitter.com/1/statuses/mentions.json?since_id=1and afterwards the rest is added to that string. Any ideas? Thank you -- 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
Re: [twitter-dev] Re: Twitter Mentions since_id
There's a : after oauth_consumer_key while there should be an =. There's also an = (in oauth_signature) which should be URLencoded. Tom On 6/10/11 9:15 PM, Paul wrote: This is my headers thats being send. Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key: 0RaXE4T4CuMFJHI1jViEQ, oauth_signature_method=HMAC- SHA1,oauth_timestamp=1307733172,oauth_nonce=F0F2B456BC9606278FB345323D753CEC,oauth_version=1.0, oauth_token=291935165-WqP8tSDqJyTewmsabMV7fiS7Y3ahxTXh60LSzFNb, oauth_signature=VbTbuDqv+IZZQQoO1CUuvPXYGKo= Host: api.twitter.com Accept: text/html, */* Accept-Encoding: identity User-Agent: Mozilla/3.0 (compatible; Indy Library) On May 23, 8:22 pm, Arnaud Meunierarn...@twitter.com wrote: Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rnohttp://twitter.com/rno On Sun, May 22, 2011 at 11:58 PM, Pauljpb@gmail.com wrote: Im trying to get mentions using the since_id parameter. If I leave out the since_id parameter I get all my mentions, which is correct, but as soon as I add the since_id, I get 401, unauthorised. Since Im VERY new to the twitter and oAuth API, it might be the way my string is made up, but I need some help please. http://api.twitter.com/1/statuses/mentions.json?since_id=1oauth_cons...{key}oauth_nonce={key}oauth_signature_method=HMAC-SHA1oauth_signature={key}oauth_timestamp=1306132513oauth_token={key}oauth_version=1.0 Where {key} are the correct values. I've tried adding the since_id at the back but without any luck. From the source code it seems that the signature is created on the base code of : http://api.twitter.com/1/statuses/mentions.json?since_id=1and afterwards the rest is added to that string. Any ideas? Thank you -- 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: Twitter and iOS - an Integration Workshop
Hi Tom - unfortunately we will not be able to record this particular event. On Jun 6, 11:30 am, Tom van der Woerdt i...@tvdw.eu wrote: What about the rest of the iOS developers who can't be there? I'm registered as an Apple Developer but I'm not there... Tom On 6/6/11 8:29 PM, Jason Costa wrote: Hi everyone, We're incredibly excited about the announcement that Apple made at WWDC today. We believe that Twitter's deep integration with iOS is going to open up a lot of exciting opportunities for developers. For your apps, this includes: - single sign-on and lightweight identity - taking advantage of the tweet sheet feature - the ability to tweet a photo from your app - pulling down a user's following graph and a whole lot more. As part of the announcement, we're looking to host a workshop at Twitter's headquarters this Wednesday (6/8) from 6:30pm to 8:30pm at 795 Folsom Street. At this event, we'll cover what the integration hooks mean for developers. Loren Brichter will also be talking about ABUIKit, a UI framework specifically for Mac, which we'll be open-sourcing. In order to attend, you'll need to first be registered as an Apple Developer - you can register with Apple here: http://developer.apple.com/programs/register/ Please also RSVP at the link below (with your Apple Developer login): http://bit.ly/jBX5B6 We hope you'll be able to join us for the evening. --@jasoncosta -- 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: Twitter New Direct Message View
There isn't an API endpoint that supports this directly, you just need to fetch recent sent and received DMs and create the list for yourself. @orian On May 30, 3:28 am, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Hai All, i am trying to implement Direct message view for a mobile app, how the message view is showing in the new web twitter showing the buddies list first and once u click on the buddy it should show the message conversation between the current user and the specific buddy. But currently twitter is providing only two API to fectch the messages http://api.twitter.com/1/direct_messages.formatfor INBOXhttp://api.twitter.com/1/direct_messages/sent.formatfor SENT i didn't find any API to fetch the list of buddies to whom u sent the messages/who sent u the messages and to fetch the conversation between the two, to show view as per the new requirement. Is anybody implemented the new view please let me know how to proceed. Thanks In Advance. Kamesh. -- 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 New Direct Message View
Hai orian, Thanks for the Reply. i am developing a mobile application. Let's Think about a senario that there happend a Message conversation of 50 messages(choosen 50 because it is mobile app...it also might be heavy operation for a mobile) each Between two Tweple. Now As u said we use two Below specified API's to fetch 50 inbox and sent messages.But in the List has only two users Meand the other Person to whom i sent the messages. we can't Get the list of messages with otherpeople. it is very hard to know by using this API's to get the list of all users to whom u sent the messages. i want to find a simple solution get the Buddy list and the conversation...please correct me if i am wrong Thanks Regards, //Kamesh On Tue, May 31, 2011 at 7:24 AM, Orian Marx or...@orianmarx.com wrote: There isn't an API endpoint that supports this directly, you just need to fetch recent sent and received DMs and create the list for yourself. @orian On May 30, 3:28 am, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Hai All, i am trying to implement Direct message view for a mobile app, how the message view is showing in the new web twitter showing the buddies list first and once u click on the buddy it should show the message conversation between the current user and the specific buddy. But currently twitter is providing only two API to fectch the messages http://api.twitter.com/1/direct_messages.formatfor INBOX http://api.twitter.com/1/direct_messages/sent.formatfor SENT i didn't find any API to fetch the list of buddies to whom u sent the messages/who sent u the messages and to fetch the conversation between the two, to show view as per the new requirement. Is anybody implemented the new view please let me know how to proceed. Thanks In Advance. Kamesh. -- 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: Twitter New Direct Message View
You are correct in your analysis of the problem. This is a limitation of how Twitter built their API and there isn't something that does what you want. You can see that even on twitter.com they don't show you *everyone* you've ever had a DM conversation with. One thing you can do is keep a cache for your users as they use the app so while they won't have old conversations to start, as they have new ones your app will remember. @orian On May 31, 10:00 am, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Hai orian, Thanks for the Reply. i am developing a mobile application. Let's Think about a senario that there happend a Message conversation of 50 messages(choosen 50 because it is mobile app...it also might be heavy operation for a mobile) each Between two Tweple. Now As u said we use two Below specified API's to fetch 50 inbox and sent messages.But in the List has only two users Meand the other Person to whom i sent the messages. we can't Get the list of messages with otherpeople. it is very hard to know by using this API's to get the list of all users to whom u sent the messages. i want to find a simple solution get the Buddy list and the conversation...please correct me if i am wrong Thanks Regards, //Kamesh On Tue, May 31, 2011 at 7:24 AM, Orian Marx or...@orianmarx.com wrote: There isn't an API endpoint that supports this directly, you just need to fetch recent sent and received DMs and create the list for yourself. @orian On May 30, 3:28 am, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Hai All, i am trying to implement Direct message view for a mobile app, how the message view is showing in the new web twitter showing the buddies list first and once u click on the buddy it should show the message conversation between the current user and the specific buddy. But currently twitter is providing only two API to fectch the messages http://api.twitter.com/1/direct_messages.formatforINBOX; http://api.twitter.com/1/direct_messages/sent.formatforSENT; i didn't find any API to fetch the list of buddies to whom u sent the messages/who sent u the messages and to fetch the conversation between the two, to show view as per the new requirement. Is anybody implemented the new view please let me know how to proceed. Thanks In Advance. Kamesh. -- 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: Twitter API to Get the HashTags List
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
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] Re: Twitter Search Widget on iPad
Not much help to you but I've noticed the same thing on IPad2, IPad1 and IPhone/IPod etc. Safari on a PC works fine, the same as other browsers, but on mobile devices it doesn't seem to show scrollbars. FYI there is a discussion about this problem Scrollbar missing on Safari Mobile which you can follow but there is no solution. One thing which they suggest which does work for me (IPad2) is to use the 2 finger resize gesture, within the list, which does allow you to scroll but it's not easy to find the sweet spot that scrolls the list as opposed to resizing. On May 18, 1:42 pm, Phil Johns p...@pjstudio.co.uk wrote: Hi All, I recently launched this website:http://makesmyjobeasy.com I have had a few people tell me that the scroll bar visible on the right of the twitter search widget used to move the tweets up and down so you can see the rest doesnt appear on the Safari iPad2 browser (unsure about ipad1). Anyone shed some light onto why or is this just standard?!?! Thanks, Phil -- 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 Error codes ( not HTML errors )
Hi! On Thu, May 26, 2011 at 23:42, Maomor maldw...@gmail.com wrote: Thanks - the silence is strange. Actually - no, it isn't. It's quite telling. It shows, that (almost?) nobody knows the answer and twitter.com people don't want outsiders to know. So it's an implementation specific detail, which shouldn't be used by other apps. Alexander -- ↯ Lifestream (Twitter, Blog, …) ↣ http://sup.skwar.me/ ↯ ↯ Chat (Jabber/Google Talk) ↣ a...@skwar.me ; Twitter: @alexs77 ↯ -- 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 Error codes ( not HTML errors )
Hi. On Fri, May 27, 2011 at 09:12, Maomor maldw...@gmail.com wrote: Implementation specific ? Yep. What should I do if my app needs to detect and handle a Duplicate Tweet error, for example ? Well, if those values aren't officially documented, it would be a bad bet to use these values for anything. Sure, it might work, but if it's not documented to be a stable value, nobody should cry foul if Twitter decides to change the meaning without notifying anybody in advance. And why can't Twitter document what you are telling us informally ? I don't know. Alexander -- ↯ Lifestream (Twitter, Blog, …) ↣ http://sup.skwar.me/ ↯ ↯ Chat (Jabber/Google Talk) ↣ a...@skwar.me ; Twitter: @alexs77 ↯ -- 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: Twitter Error codes ( not HTML errors )
I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- 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 Error codes ( not HTML errors )
I don't think it's a silly question, just that no one knows except twitter. +1 for an answer from the twitter team is possible, because it's easier to parse and react to '39' than the equivalent strings. Anyone ? Bueller, Bueller, Bueller ? :-) On 26 May 2011, at 08:57, Maomor wrote: I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- 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: Twitter Error codes ( not HTML errors )
Thanks - the silence is strange. On May 26, 12:38 pm, hax0rsteve hax0rc...@btinternet.com wrote: I don't think it's a silly question, just that no one knows except twitter. +1 for an answer from the twitter team is possible, because it's easier to parse and react to '39' than the equivalent strings. Anyone ? Bueller, Bueller, Bueller ? :-) On 26 May 2011, at 08:57, Maomor wrote: I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- 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: Twitter Error codes ( not HTML errors )
I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- 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: Twitter Mentions since_id
Im using Delphi for coding and to be honest, I started using http://chuckbeasley.com/index.php/2009/05/28/twitter-for-delphi-code/ , but nothing i found worked 100% so i used the code there and modified it. At this point i can only use querystring as we decided to go with it from the start (and the API did say it support it. Hope this helps? On May 23, 8:22 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rno http://twitter.com/rno On Sun, May 22, 2011 at 11:58 PM, Paul jpb@gmail.com wrote: Im trying to get mentions using the since_id parameter. If I leave out the since_id parameter I get all my mentions, which is correct, but as soon as I add the since_id, I get 401, unauthorised. Since Im VERY new to the twitter and oAuth API, it might be the way my string is made up, but I need some help please. http://api.twitter.com/1/statuses/mentions.json?since_id=1oauth_cons...{key}oauth_nonce={key}oauth_signature_method=HMAC-SHA1oauth_signature={key}oauth_timestamp=1306132513oauth_token={key}oauth_version=1.0 Where {key} are the correct values. I've tried adding the since_id at the back but without any luck. From the source code it seems that the signature is created on the base code of : http://api.twitter.com/1/statuses/mentions.json?since_id=1and afterwards the rest is added to that string. Any ideas? Thank you -- 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: [twitter-api-announce] A new permission level
Hi Matt, 1. xAuth apps are already approved by you guys and have a (I'm assuming) higher threshold to get access to. I'd really ask you guys to re-consider and allow xAuth access to DMs. Or at the very least allow clients to apply for exceptions to this rule. 2. Under 2 weeks is way too short of a time for this big of a change. On May 18, 2011, at 12:01 PM, Matt Harris wrote: Hey everyone, We recently updated our OAuth screens to give users greater transparency about the level of access applications have to their accounts. The valuable feedback Twitter users and developers have given us played a large part in that redesign and helped us identify where we can do more. In particular, users and developers have requested greater granularity for permission levels. In response to this feedback, we have created a new permission level for applications called “Read, Write Direct Messages”. This permission will allow an application to read or delete a user's direct messages. When we enforce this permission, applications without a “Read, Write Direct Messages” token will be unable to read or delete direct messages. To ensure users know that an application is receiving access to their direct messages, we are also restricting this permission to the OAuth /authorize web flow only. This means applications which use xAuth and want to access direct messages must send a user through the full OAuth flow. What does this mean for your application? If you do not need access to direct messages: you won’t need to make any changes to your application. When we enforce the new permission level your read or read/write token will automatically lose access to direct messages. If you do need access to direct messages: you will need to edit your application record on https://dev.twitter.com/apps and change the permission level of your application to “Read, Write and Direct Messages”. The new permission will not affect existing tokens which means existing users or your app or service will need to reauthorize. We know this will take some time so we are allowing a transition period until the end of this month. During this time there will be no change to the access Read/Write tokens have to a users account. However, at the end of the month any tokens which have not been upgrade to “Read, Write and Direct Messages” will be unable to access and delete direct messages. Affected APIs and requests On the REST API, Read and Read/Write applications will no longer be able to use these API methods: /1/direct_messages.{format} /1/direct_messages/sent.{format} /1/direct_messages/show.{format} /1/direct_messages/destroy.{format} For the Streaming API, both User Streams and Site Streams will only receive direct messages if the user has authorised an application to access direct messages. Applications that use “Sign-in with Twitter” or xAuth will only be able to receive Read or Read/Write tokens. What this means is only applications which direct a user through the OAuth web flow will be able to receive access tokens that allow access to direct messages. Any other method of authorization, including xAuth, will only be able to receive Read/Write tokens. What will happen when the permission is activated When we activate the new permission, all Read and Read/Write user_tokens issued to third-party applications will lose their ability to read direct messages. Any attempt to read direct messages will result in an HTTP 403 error being returned. For example, a GET request to https://api.twitter.com/1/direct_messages/sent.json will return an HTTP 403 Forbidden with the response body: {errors:[{code:93,message:This application is not allowed to access or delete your direct messages}]} Key Points * If you wish to access a user’s direct messages you will need to update your application and reauthorize existing tokens. * The only way to get direct message access is to request access through the OAuth /authorize web flow. You will not be permitted to access direct messages if you use xAuth. * When we enforce the permission Read/Write and Read tokens will be unable to access and delete direct messages. * Read/Write tokens will be able to send direct messages after the permission is enforced. We’ll be collating responses and adding more information on our developer resources permission model page: https://dev.twitter.com/pages/application-permission-model We have also blogged about this on the Twitter blog: http://blog.twitter.com/2011/05/mission-permission.html Best, @themattharris -- Twitter API documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Change your membership to this group: http://groups.google.com/group/twitter-api-announce?hl=en --- Paul Haddad paul.had...@gmail.com, p...@tapbots.com, p...@pth.com -- Twitter developer
[twitter-dev] Re: Twitter Streaming API blocked user
I agree this nice idea. On 5月19日, 午前2:30, Fabien Penso fabienpe...@gmail.com wrote: Another one : It would be nice to have those events in the stream (new blocked user / removal of a blocked user) so we don't need to fetch those through the REST API once our streaming process is running. On Wed, May 18, 2011 at 10:27 AM, Fabien Penso fabienpe...@gmail.com wrote: Thanks Taylor, I wish the streaming did, is that planned at all in the future? Don't want to code something if you guys are planning it soon :) On Wed, May 18, 2011 at 7:30 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Fabien, The Streaming API/Site Streams/User Streams don't support certain kinds of post-filter user settings like blocked users/no retweets from this user/etc. -- if you want to provide that filtering, you can keep an index of the users they block and filter in real time. http://dev.twitter.com/doc/get/blocks/blocking/idsto get the ids. @episod - Taylor Singletary On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.com wrote: Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- 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 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: Twitter Search API - Questions Regarding Scaling Out
Thanks for the feedback Brian. Late response here, but I'd be more than willing to provide you with more details regarding our application in a private email. You should be receiving said email shortly. Regards, Corey On Apr 14, 1:12 pm, Brian Sutorius bsutor...@twitter.com wrote: While the Streaming API may not provide processed results to you in the way that search queries can (logical ORs, etc.), it's a more scalable solution for returning a lot of Tweets. Our search system can rate limit queries if they become too computationally expensive (in addition to the normal query limit), so continuing to add parameters to the query up front rather than doing this processing yourself may cause you to keep running into limits. Ultimately, circumventing the limits put in place by our APIs is not allowed by our API ToS, and building your architecture this way just to get around the defaults is something we strongly discourage. If you keep being rate limited, you should think about re-factoring your prioritization strategy. Can you go into a little more detail about what your application does? We might be able to guide you towards a mix of Streaming API and search queries that gets you what you need but stays within the rate limits. Brian Sutorius Twitter API Policy On Apr 13, 10:28 am, Corey Ballou ball...@gmail.com wrote: I'm still looking for a community leader answer on this one. On Apr 11, 5:50 pm, Corey Ballou ball...@gmail.com wrote: Thanks for the reply, I appreciate it. I have concerns regarding the streaming APIs, which mainly concern the following: * usage of logical OR when using locations * firehose limitations * the user’s location field is not used to filter tweets * increased application complexity for parsing the resulting stream of data back out into individual searches I know that the Search API is not Twitter's preferred choice, but it's currently returning the best applicable results for my application. It's also worth noting that the API recently received a drastic improvement to speed which should theoretically relax the strain on the API: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faste... I guess I'm mainly interested in knowing whether @twitterapi will allow me to use the Search API in the manner I indicated above? Essentially I would be willing to guarantee the application worker nodes handles 420 rate limiting errors accordingly while still supporting multiple twitter accounts and searches. On Apr 11, 1:05 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I don't see an answer here, but I'll tell you how *I* would go about implementing this: 1. Switch to the Streaming API. Using Search in an application puts a strain on Twitter's servers and makes it difficult to Twitter to manage capacity. That's why it's rate-limited and why the rate limits aren't publicly disclosed. 2. If your application is a desktop application, use User Streams. If it is a server, use User Streams on a desktop or the low-frequency free access to Streaming on a server to prototype and develop. Your target for a server will be Site Streams, but that's in closed beta at the moment IIRC. 3. *Concurrently with development*, your business development / sales / marketing / planning people, or yourself, if it's a one-person shop, should be negotiating with Twitter for access to Site Streams, I'm assuming an agile development methodology - customer-in-the-loop - and one of the parties that needs to be in the loop is Twitter for Site Streams. You simply *can't* build an at-scale Twitter application without direct business discussions with Twitter! On Mon, Apr 11, 2011 at 8:14 AM, Corey Ballou ball...@gmail.com wrote: I tried speaking with Ryan Sarver directly, but he's forwarding me here to the community advocates to answer. I believe this answer will need to come top down from Twitter, as it's your rate limiting that I'm most worried about. I have a technical question for all of you in regards to the Search API as I want to maintain full compliancy. Currently, the old Search API implementation (albeit slower) provides a fuller result set and allows for more flexibility in the types and combinations of searches allowed. The manner I have developed my application would allow for a number of daemonized worker instances running on different IP addresses to make calls to the search API on behalf of the stored OAuth credentials to avoid rate limiting issues. I had a conversation with the Pluggio developer in which he stated Twitter had threatened to shutdown his application if he didn't switch to a different implementation of the Search API. The problem indicated was that he was performing searches for
[twitter-dev] Re: Twitter Profile Widget Change Header Text
Personally I read the full source to see what's going on, and then figure out how to work around bits of it, so for example I might see when the header title is set and the selectors used, and then use its own routines to modify them (eg hdr = widget.byClass(twtr-hd, div) and then manipulate the DOM myself) rather than use a modified version of the widget js file itself. This way it's easier for me to keep up with changes to the widgets (eg the recent addition of intents) and to ensure I'm staying within the rules about presenting twitter content (logos, names, etc), but YMMV -- T -- 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: Twitter Retweet integration into Facebook's iframe
OK. I've put a target=_parent and it works now (not in an iframe, but that's not a problem, it's even better how it works now). Best, Lukasz Wolnik On May 11, 3:39 pm, Łukasz lukasz.wol...@gmail.com wrote: I'd like to add an Tweet button to an Facebook App's iframe [1]. Here's code for Tweet button: a class=twitter href=http://twitter.com/intent/retweet? tweet_id=65809349737594882amp;related=twitterapi,twittermedia,twitter,supp ortTweet/ a If a user click on that link this [2] happens. Why it doesn't work? Is this possible to put an Tweet button inside Facebook's iframe? Best, Lukasz Wolnik [1]http://dl.dropbox.com/u/460712/Images/twitter-fb-button.png [2]http://dl.dropbox.com/u/460712/Images/twitter-fb-button-2.png -- 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: Twitter Profile Widget Change Header Text
If the standard widget code (http://twitter.com/widgets) is what you're looking at then I should point out * Author: Dustin Diaz (dus...@twitter.com) * For full documented source see http://twitter.com/javascripts/widgets/widget.js * Hosting and modifications of the original source IS allowed. Reading the full documented source is quite useful I use it to figure out how to slightly subvert the official widget code -- T -- 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: Twitter Profile Widget Change Header Text
Thanks Tim.. yes i just ended up modifying the full source.. very strange they would let you change the footer but not the header! On May 12, 8:12 am, Tim Meadowcroft meer...@gmail.com wrote: If the standard widget code (http://twitter.com/widgets) is what you're looking at then I should point out * Author: Dustin Diaz (dus...@twitter.com) * For full documented source seehttp://twitter.com/javascripts/widgets/widget.js * Hosting and modifications of the original source IS allowed. Reading the full documented source is quite useful I use it to figure out how to slightly subvert the official widget code -- T -- 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: Twitter Search Api Keyword Geocode Query concern ?
Thank Also can u help me in this .. I want to send a query to curl library(php) to get tweets , for searching tweets with two words ,i.e New york OR Minneapolis. $adde1=New York; $adde2=Minneaolis; $url=http://search.twitter.com/search.atom?q=; . urlencode( $adde1 + OR + $adde2) . lang=enrpp=10page=1; This isnt working It gives me tweets with work.letter 0 . I also tried $url=http://search.twitter.com/search.atom?q=; . urlencode( $adde1 ) . OR . urlencode($adde2) . lang=enrpp=10page=1; This also didnt work. Can you help with this On May 10, 1:36 pm, Matt Harris thematthar...@twitter.com wrote: Hi Harik, That is correct. Adding Geocode as a querystring parameter will AND it with the queried keywords. There is an updated description of how this works on our developer resources site: http://dev.twitter.com/doc/get/search and http://dev.twitter.com/pages/using_search Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, May 10, 2011 at 11:08 AM, harik padmahar...@gmail.com wrote: Can I combine Keyword and Geocode query this way ? http://search.twitter.com/search.atom?q=twittergeocode=37.781157,-12... I read here tht geocode does not support disjunction? http://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:... So will the abv query work? Also ,does the above query work as an And operator? Like it would give the tweets with the word twitterand near to that location? If I am wrong please correct me. -- 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: Twitter Search Api Keyword Geocode Query concern ?
You need more lessons in PHP, you are parsing strings incorrectly $url=http://search.twitter.com/search.atom?q=; . urlencode($adde1 . OR . $adde2) . lang=enrpp=10page=1; artesea -- 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: [twitter-api-announce] Visual refresh of the OAuth screens
Here is a screenshoot of the new page. https://picasaweb.google.com/4braham/Screenshots#5600743120809142002 Note that app descriptions are now shown to users incase you were lazy (like me) and didn't include a real description. Abraham - Abraham Williams | InboxQ http://inboxq.com/ | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Thu, Apr 28, 2011 at 14:02, Matt Harris thematthar...@twitter.comwrote: Hey Developers, Some of you may have noticed already that earlier today we deployed a redesign of the OAuth screens. We know both you and your users have been asking for better clarity about what an application can see and do with an account and these screens are a step towards doing that. One of the areas we wanted to improve is showing the details of your application. If you visit the new screens you will see we've separated your application details from the permissions that are being requested. We did this to help users see that it is your application, not Twitter's. Remember you can update your application details at anytime on http://dev.twitter.com/apps . Mobile and international support has also been improved and we now use the same rendering templates as those created for Web Intents. This ensures the design matches the rest of #newtwitter and, more importantly, works cross-browser, cross-platform, and multilingual. We hope you find the new designs more welcoming and friendly. Let us know what you think. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter API documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Change your membership to this group: http://groups.google.com/group/twitter-api-announce?hl=en -- 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: Twitter Search Api and geolocations
hI ... I am trying to map the tweets which I can retrive using Twitter Search API. This is what I have observed. When I search for tweets based on location(lat n long) using the query: search.twitter.com/search.atom?geocode=37.781157,-122.398720,1mi I see that (in the xml format) there is location tag where the latitude ,longitude or semantic address like minneapolis,MN etc are mentioned. But suppose I search for tweets based on a keyword ,say IPL search.twitter.com/search.atom?q=@IPL Then I do not see any location tag in the atom code.In fact I am not able to get any kind of location information . I know that not may people have enabled the geolocation feature,so the % of tweets having the location is very less. But What I have cross checked is,I used a map interface, and when I click on it ,it takes the co-ordinates and gives the tweets near by .These have the location tag.Suppose I choose a word from the first tweet and then search for that word as a search keyword, the I do get the same tweet as the latest tweet ,but it does not have the location tag. Why is this so? Can any one tell me On Apr 18, 10:06 pm, Mohan Arun mar...@gmail.com wrote: On Apr 18, 8:47 pm, harik padmahar...@gmail.com wrote: I wantsearchfor queries (using a keyword eg: worldcup) ,and then want to get the geolocations of the user .I am able to retrieve the queries usingsearchapi, but i find all geo fields are null . So is there any way I can retrieve the geolocations of the user ? Also when i tried to send rpp=10page=5 in the query ,I see only 10 tweets and i do not find any link to next page of 10 tweets ? SO how can i view all the tweets? If the geo fields are null, I think it means the user chose not to add the geolocation info to his tweet in the first place. As for thenext question, try sending rpp=10page=6 Mohan -- 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: Twitter Search Api and geolocations
On Apr 18, 8:47 pm, harik padmahar...@gmail.com wrote: I want search for queries (using a keyword eg: worldcup) ,and then want to get the geolocations of the user .I am able to retrieve the queries using search api, but i find all geo fields are null . So is there any way I can retrieve the geolocations of the user ? Also when i tried to send rpp=10page=5 in the query ,I see only 10 tweets and i do not find any link to next page of 10 tweets ? SO how can i view all the tweets? If the geo fields are null, I think it means the user chose not to add the geolocation info to his tweet in the first place. As for thenext question, try sending rpp=10page=6 Mohan -- 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: Twitter Search API - Questions Regarding Scaling Out
On Apr 13, 10:28 am, Corey Ballou ball...@gmail.com wrote: I'm still looking for a community leader answer on this one. On Apr 11, 5:50 pm, Corey Ballou ball...@gmail.com wrote: Thanks for the reply, I appreciate it. I have concerns regarding the streaming APIs, which mainly concern the following: * usage of logical OR when using locations * firehose limitations * the user’s location field is not used to filter tweets * increased application complexity for parsing the resulting stream of data back out into individual searches I know that the Search API is not Twitter's preferred choice, but it's currently returning the best applicable results for my application. It's also worth noting that the API recently received a drastic improvement to speed which should theoretically relax the strain on the API: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faste... I guess I'm mainly interested in knowing whether @twitterapi will allow me to use the Search API in the manner I indicated above? Essentially I would be willing to guarantee the application worker nodes handles 420 rate limiting errors accordingly while still supporting multiple twitter accounts and searches. On Apr 11, 1:05 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I don't see an answer here, but I'll tell you how *I* would go about implementing this: 1. Switch to the Streaming API. Using Search in an application puts a strain on Twitter's servers and makes it difficult to Twitter to manage capacity. That's why it's rate-limited and why the rate limits aren't publicly disclosed. 2. If your application is a desktop application, use User Streams. If it is a server, use User Streams on a desktop or the low-frequency free access to Streaming on a server to prototype and develop. Your target for a server will be Site Streams, but that's in closed beta at the moment IIRC. 3. *Concurrently with development*, your business development / sales / marketing / planning people, or yourself, if it's a one-person shop, should be negotiating with Twitter for access to Site Streams, I'm assuming an agile development methodology - customer-in-the-loop - and one of the parties that needs to be in the loop is Twitter for Site Streams. You simply *can't* build an at-scale Twitter application without direct business discussions with Twitter! On Mon, Apr 11, 2011 at 8:14 AM, Corey Ballou ball...@gmail.com wrote: I tried speaking with Ryan Sarver directly, but he's forwarding me here to the community advocates to answer. I believe this answer will need to come top down from Twitter, as it's your rate limiting that I'm most worried about. I have a technical question for all of you in regards to the Search API as I want to maintain full compliancy. Currently, the old Search API implementation (albeit slower) provides a fuller result set and allows for more flexibility in the types and combinations of searches allowed. The manner I have developed my application would allow for a number of daemonized worker instances running on different IP addresses to make calls to the search API on behalf of the stored OAuth credentials to avoid rate limiting issues. I had a conversation with the Pluggio developer in which he stated Twitter had threatened to shutdown his application if he didn't switch to a different implementation of the Search API. The problem indicated was that he was performing searches for multiple Twitter accounts, which is exactly my use case. Site streams does not make as much sense for my application given the search queries I wish to perform and the necessity for logical AND operations on geo-location. Do you foresee any problems with my current method of using different IP addresses to stay under the rate limit? I'm trying to stay in full compliance with Twitter's TOS and would love to find the most applicable and API friendly solution. I know headway is being made with Twitter's new search implementation so I would like to stay ahead of the curve and not get myself stuck in a box. I still need a method for polling for new search results (say, every 30 minutes, dependent upon the pricing plan) for non-logged in users. Below is a scaled down representation of how I'm currently handling searches to help you decide the best plan of action: 1) Searches are performed on a rolling queue basis, say one search every thirty minutes. There can be a finite number of searches per Twitter user (say 5 searches per Twitter account). There can be any number of Twitter accounts. 2) Search results are stored locally for retrieval by a javascript AJAX long-poller every minute to check for frequent changes. 3) When a user visits the search results page and filters
[twitter-dev] Re: Twitter Search API - Questions Regarding Scaling Out
While the Streaming API may not provide processed results to you in the way that search queries can (logical ORs, etc.), it's a more scalable solution for returning a lot of Tweets. Our search system can rate limit queries if they become too computationally expensive (in addition to the normal query limit), so continuing to add parameters to the query up front rather than doing this processing yourself may cause you to keep running into limits. Ultimately, circumventing the limits put in place by our APIs is not allowed by our API ToS, and building your architecture this way just to get around the defaults is something we strongly discourage. If you keep being rate limited, you should think about re-factoring your prioritization strategy. Can you go into a little more detail about what your application does? We might be able to guide you towards a mix of Streaming API and search queries that gets you what you need but stays within the rate limits. Brian Sutorius Twitter API Policy On Apr 13, 10:28 am, Corey Ballou ball...@gmail.com wrote: I'm still looking for a community leader answer on this one. On Apr 11, 5:50 pm, Corey Ballou ball...@gmail.com wrote: Thanks for the reply, I appreciate it. I have concerns regarding the streaming APIs, which mainly concern the following: * usage of logical OR when using locations * firehose limitations * the user’s location field is not used to filter tweets * increased application complexity for parsing the resulting stream of data back out into individual searches I know that the Search API is not Twitter's preferred choice, but it's currently returning the best applicable results for my application. It's also worth noting that the API recently received a drastic improvement to speed which should theoretically relax the strain on the API: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faste... I guess I'm mainly interested in knowing whether @twitterapi will allow me to use the Search API in the manner I indicated above? Essentially I would be willing to guarantee the application worker nodes handles 420 rate limiting errors accordingly while still supporting multiple twitter accounts and searches. On Apr 11, 1:05 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I don't see an answer here, but I'll tell you how *I* would go about implementing this: 1. Switch to the Streaming API. Using Search in an application puts a strain on Twitter's servers and makes it difficult to Twitter to manage capacity. That's why it's rate-limited and why the rate limits aren't publicly disclosed. 2. If your application is a desktop application, use User Streams. If it is a server, use User Streams on a desktop or the low-frequency free access to Streaming on a server to prototype and develop. Your target for a server will be Site Streams, but that's in closed beta at the moment IIRC. 3. *Concurrently with development*, your business development / sales / marketing / planning people, or yourself, if it's a one-person shop, should be negotiating with Twitter for access to Site Streams, I'm assuming an agile development methodology - customer-in-the-loop - and one of the parties that needs to be in the loop is Twitter for Site Streams. You simply *can't* build an at-scale Twitter application without direct business discussions with Twitter! On Mon, Apr 11, 2011 at 8:14 AM, Corey Ballou ball...@gmail.com wrote: I tried speaking with Ryan Sarver directly, but he's forwarding me here to the community advocates to answer. I believe this answer will need to come top down from Twitter, as it's your rate limiting that I'm most worried about. I have a technical question for all of you in regards to the Search API as I want to maintain full compliancy. Currently, the old Search API implementation (albeit slower) provides a fuller result set and allows for more flexibility in the types and combinations of searches allowed. The manner I have developed my application would allow for a number of daemonized worker instances running on different IP addresses to make calls to the search API on behalf of the stored OAuth credentials to avoid rate limiting issues. I had a conversation with the Pluggio developer in which he stated Twitter had threatened to shutdown his application if he didn't switch to a different implementation of the Search API. The problem indicated was that he was performing searches for multiple Twitter accounts, which is exactly my use case. Site streams does not make as much sense for my application given the search queries I wish to perform and the necessity for logical AND operations on geo-location. Do you foresee any problems with my current method of using different IP addresses to stay under the rate limit? I'm trying to stay in
[twitter-dev] Re: Twitter Search API - Questions Regarding Scaling Out
I'm still looking for a community leader answer on this one. On Apr 11, 5:50 pm, Corey Ballou ball...@gmail.com wrote: Thanks for the reply, I appreciate it. I have concerns regarding the streaming APIs, which mainly concern the following: * usage of logical OR when using locations * firehose limitations * the user’s location field is not used to filter tweets * increased application complexity for parsing the resulting stream of data back out into individual searches I know that the Search API is not Twitter's preferred choice, but it's currently returning the best applicable results for my application. It's also worth noting that the API recently received a drastic improvement to speed which should theoretically relax the strain on the API: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faste... I guess I'm mainly interested in knowing whether @twitterapi will allow me to use the Search API in the manner I indicated above? Essentially I would be willing to guarantee the application worker nodes handles 420 rate limiting errors accordingly while still supporting multiple twitter accounts and searches. On Apr 11, 1:05 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I don't see an answer here, but I'll tell you how *I* would go about implementing this: 1. Switch to the Streaming API. Using Search in an application puts a strain on Twitter's servers and makes it difficult to Twitter to manage capacity. That's why it's rate-limited and why the rate limits aren't publicly disclosed. 2. If your application is a desktop application, use User Streams. If it is a server, use User Streams on a desktop or the low-frequency free access to Streaming on a server to prototype and develop. Your target for a server will be Site Streams, but that's in closed beta at the moment IIRC. 3. *Concurrently with development*, your business development / sales / marketing / planning people, or yourself, if it's a one-person shop, should be negotiating with Twitter for access to Site Streams, I'm assuming an agile development methodology - customer-in-the-loop - and one of the parties that needs to be in the loop is Twitter for Site Streams. You simply *can't* build an at-scale Twitter application without direct business discussions with Twitter! On Mon, Apr 11, 2011 at 8:14 AM, Corey Ballou ball...@gmail.com wrote: I tried speaking with Ryan Sarver directly, but he's forwarding me here to the community advocates to answer. I believe this answer will need to come top down from Twitter, as it's your rate limiting that I'm most worried about. I have a technical question for all of you in regards to the Search API as I want to maintain full compliancy. Currently, the old Search API implementation (albeit slower) provides a fuller result set and allows for more flexibility in the types and combinations of searches allowed. The manner I have developed my application would allow for a number of daemonized worker instances running on different IP addresses to make calls to the search API on behalf of the stored OAuth credentials to avoid rate limiting issues. I had a conversation with the Pluggio developer in which he stated Twitter had threatened to shutdown his application if he didn't switch to a different implementation of the Search API. The problem indicated was that he was performing searches for multiple Twitter accounts, which is exactly my use case. Site streams does not make as much sense for my application given the search queries I wish to perform and the necessity for logical AND operations on geo-location. Do you foresee any problems with my current method of using different IP addresses to stay under the rate limit? I'm trying to stay in full compliance with Twitter's TOS and would love to find the most applicable and API friendly solution. I know headway is being made with Twitter's new search implementation so I would like to stay ahead of the curve and not get myself stuck in a box. I still need a method for polling for new search results (say, every 30 minutes, dependent upon the pricing plan) for non-logged in users. Below is a scaled down representation of how I'm currently handling searches to help you decide the best plan of action: 1) Searches are performed on a rolling queue basis, say one search every thirty minutes. There can be a finite number of searches per Twitter user (say 5 searches per Twitter account). There can be any number of Twitter accounts. 2) Search results are stored locally for retrieval by a javascript AJAX long-poller every minute to check for frequent changes. 3) When a user visits the search results page and filters results, no API calls to Twitter are made, only a local query is required Due to this process, the queue is constantly searching for the next searches
[twitter-dev] Re: Twitter Search API - Questions Regarding Scaling Out
Thanks for the reply, I appreciate it. I have concerns regarding the streaming APIs, which mainly concern the following: * usage of logical OR when using locations * firehose limitations * the user’s location field is not used to filter tweets * increased application complexity for parsing the resulting stream of data back out into individual searches I know that the Search API is not Twitter's preferred choice, but it's currently returning the best applicable results for my application. It's also worth noting that the API recently received a drastic improvement to speed which should theoretically relax the strain on the API: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html I guess I'm mainly interested in knowing whether @twitterapi will allow me to use the Search API in the manner I indicated above? Essentially I would be willing to guarantee the application worker nodes handles 420 rate limiting errors accordingly while still supporting multiple twitter accounts and searches. On Apr 11, 1:05 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I don't see an answer here, but I'll tell you how *I* would go about implementing this: 1. Switch to the Streaming API. Using Search in an application puts a strain on Twitter's servers and makes it difficult to Twitter to manage capacity. That's why it's rate-limited and why the rate limits aren't publicly disclosed. 2. If your application is a desktop application, use User Streams. If it is a server, use User Streams on a desktop or the low-frequency free access to Streaming on a server to prototype and develop. Your target for a server will be Site Streams, but that's in closed beta at the moment IIRC. 3. *Concurrently with development*, your business development / sales / marketing / planning people, or yourself, if it's a one-person shop, should be negotiating with Twitter for access to Site Streams, I'm assuming an agile development methodology - customer-in-the-loop - and one of the parties that needs to be in the loop is Twitter for Site Streams. You simply *can't* build an at-scale Twitter application without direct business discussions with Twitter! On Mon, Apr 11, 2011 at 8:14 AM, Corey Ballou ball...@gmail.com wrote: I tried speaking with Ryan Sarver directly, but he's forwarding me here to the community advocates to answer. I believe this answer will need to come top down from Twitter, as it's your rate limiting that I'm most worried about. I have a technical question for all of you in regards to the Search API as I want to maintain full compliancy. Currently, the old Search API implementation (albeit slower) provides a fuller result set and allows for more flexibility in the types and combinations of searches allowed. The manner I have developed my application would allow for a number of daemonized worker instances running on different IP addresses to make calls to the search API on behalf of the stored OAuth credentials to avoid rate limiting issues. I had a conversation with the Pluggio developer in which he stated Twitter had threatened to shutdown his application if he didn't switch to a different implementation of the Search API. The problem indicated was that he was performing searches for multiple Twitter accounts, which is exactly my use case. Site streams does not make as much sense for my application given the search queries I wish to perform and the necessity for logical AND operations on geo-location. Do you foresee any problems with my current method of using different IP addresses to stay under the rate limit? I'm trying to stay in full compliance with Twitter's TOS and would love to find the most applicable and API friendly solution. I know headway is being made with Twitter's new search implementation so I would like to stay ahead of the curve and not get myself stuck in a box. I still need a method for polling for new search results (say, every 30 minutes, dependent upon the pricing plan) for non-logged in users. Below is a scaled down representation of how I'm currently handling searches to help you decide the best plan of action: 1) Searches are performed on a rolling queue basis, say one search every thirty minutes. There can be a finite number of searches per Twitter user (say 5 searches per Twitter account). There can be any number of Twitter accounts. 2) Search results are stored locally for retrieval by a javascript AJAX long-poller every minute to check for frequent changes. 3) When a user visits the search results page and filters results, no API calls to Twitter are made, only a local query is required Due to this process, the queue is constantly searching for the next searches and mentions to perform. I foresee rate limiting concerns cropping up with searches being performed for any number of users. Can you steer me in the right direction to avoid shutdown
[twitter-dev] Re: twitter verified
From what I understand, Verified by Twitter is generally no longer in use. Ad.ly was able to get @CharlieSheen verified by pulling some strings, you may try them. Bryan G On Mar 16, 2:13 pm, Dean Collins d...@cognation.net wrote: Who is responsible for Twitter verified? I have someone who I'm helping out with some Facebook stuff who just told me this is no longer possible to get accounts twitter verified. Yes you would have heard of them - yes it's appropriate to get this account verified. Regards, Dean Collins Cognation Inc d...@cognation.net mailto:d...@cognation.net +1-212-203-4357 New York +61-2-9016-5642 (Sydney in-dial). +44-20-3129-6001 (London in-dial). -- 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: Twitter Search API and location parameter
Ok, thanks :) Do you know when will this issue be fixed? Cheers, Francesca @francescatosi On Mar 18, 3:06 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: We're looking into this issue; in the meantime you can mitigate by collecting the screen_names of users you want to know the location of and passing them to users/lookup. @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Fri, Mar 18, 2011 at 3:32 AM, Francesca francesca.t...@gmail.com wrote: Hi, I am new from this list but I am using twitter search API from a long time. From a few days the parameter location is disappeared from the response. Am I missing something? What's wrong? Thank you, Francesca -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter group API
er, there might be.. For Group substitute list. Maximum is 500 followers/list. If they are following you, you can message them. Where's the problem? On Mar 15, 9:25 pm, Tim Haines tmhai...@gmail.com wrote: No, there's not. On Tue, Mar 15, 2011 at 1:03 PM, Richard fireston...@gmail.com wrote: Does anyone know if there is program available to create several groups using one Twitter account and allowing you to message each of those groups individually? For example - Twitter.com/username Group 1 (100 followers) Group 2 (56 followers) Group 3 (77 followers) I would like to send separate messages to each of those groups. Please let me know if you know of any way to do this via API or a 3rd party program. Thank you. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter Search bug: confusing Swedish place Åre with English verb are
Any response on this from twitter? Sent from my iPhone On Mar 3, 2011, at 1:46 PM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: Hi, We have a customer who is trying to find tweets with the Swedish word Åre, which is a place, and is getting tweets with the English word are in it. I've reproduced this on search.twitter.com ... If the search is Åre -are it return nothing, because it seems that search.twitter.com sees them as the same word. Can this get addressed? And/or is there a workaround (not involving streams)? (fyi: Geographic/location related search will not work in this situation). Thanks, jeffrey greenberg www.tweettronics.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-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
[twitter-dev] Re: twitter app to be used at a kiosk (aka public computer)
Thanks for your reply Abraham. Unfortunately, that is not an option in my case. I remember running into the same troubles last year with Facebook, but there was a solution: we can call a logout URL on facebook.com with a security token and an URL to redirect to as a querystring parameters. I wish there was the same at Twitter! On Mar 8, 1:10 am, Abraham Williams 4bra...@gmail.com wrote: The best work around I currently know of is after users logout of your site to display a prompt reminding them to logout of twitter.com too. Abraham - Abraham Williams | Hacker Advocate | abrah.am http://abrah.amJust launched from Answerly http://answerly.com: InboxQhttp://inboxq.comfor Chrome @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Mon, Mar 7, 2011 at 14:11, Chris ch...@deliens.be wrote: Hi, We are currently developing a twitter app to allow people to tweet what they experienced at a fair, from a public computer. everything works fine except that users stays logged in when using the oauth/authenticate or oauth/authorize mehods. appending the force_login=true parameter to the oauth/authenticate actually forces the login screen to display (that's kind of a fix for now...), but this is a security risk, as the previous user is still logged in ;) I found that an issue (#1453 - http://code.google.com/p/twitter-api/issues/detail?id=1453) was opened over a year ago states this, but no updates... does anyone know a way to logout a user programmatically or at least prevent twitter.com for storing its authentication cookies after a successful login? thx! -- 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: twitter app to be used at a kiosk (aka public computer)
If you have control of the browser used to show the login page, maybe you can manually reset the cookies of the entire browser when the user finished the interaction. You can try making a plugin, or even a greasemonkey script could help. Or maybe you can apply for XAuth if it is an application and not a webpage. This will let you handle authentication as you want. -- Gonzalo. On Tue, Mar 8, 2011 at 10:35 AM, Chris ch...@deliens.be wrote: Thanks for your reply Abraham. Unfortunately, that is not an option in my case. I remember running into the same troubles last year with Facebook, but there was a solution: we can call a logout URL on facebook.com with a security token and an URL to redirect to as a querystring parameters. I wish there was the same at Twitter! On Mar 8, 1:10 am, Abraham Williams 4bra...@gmail.com wrote: The best work around I currently know of is after users logout of your site to display a prompt reminding them to logout of twitter.com too. Abraham - Abraham Williams | Hacker Advocate | abrah.am http://abrah.amJust launched from Answerly http://answerly.com: InboxQhttp://inboxq.comfor Chrome @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Mon, Mar 7, 2011 at 14:11, Chris ch...@deliens.be wrote: Hi, We are currently developing a twitter app to allow people to tweet what they experienced at a fair, from a public computer. everything works fine except that users stays logged in when using the oauth/authenticate or oauth/authorize mehods. appending the force_login=true parameter to the oauth/authenticate actually forces the login screen to display (that's kind of a fix for now...), but this is a security risk, as the previous user is still logged in ;) I found that an issue (#1453 - http://code.google.com/p/twitter-api/issues/detail?id=1453) was opened over a year ago states this, but no updates... does anyone know a way to logout a user programmatically or at least prevent twitter.com for storing its authentication cookies after a successful login? thx! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: twitter dump where i only care about size
So Taylor or Matt or someone, can I do this for-trailing historical export or would that be in violation of the republish rule? I don't want to bring the FailWhale down on us Marc On Mar 6, 9:43 pm, Ted Pedersen tpede...@d.umn.edu wrote: Thanks very much! I don't know the ins and outs of Twitter's data distribution rules, but my intent is to use this strictly for classroom assignments and we will not post or distribute the data in any way. Cordially, Ted On Sun, Mar 6, 2011 at 8:55 PM, @IDisposable idisposa...@gmail.com wrote: Is such a collection available for download anywhere, or is there an existing program I could use to simply record twitter data for some period of time? (I've heard about both the firehose and the streaming API, but can't seem to find anything that is ready to run with that for this particular taskbut I might not know where to look). I could possibly export the STLTweels database in JSON format, but I don't want to run afoul of Twitter policies... We've got 47MM tweets from 600K tweeps... -- 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 -- Ted Pedersenhttp://www.d.umn.edu/~tpederse -- 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: twitter dump where i only care about size
Is such a collection available for download anywhere, or is there an existing program I could use to simply record twitter data for some period of time? (I've heard about both the firehose and the streaming API, but can't seem to find anything that is ready to run with that for this particular taskbut I might not know where to look). I could possibly export the STLTweels database in JSON format, but I don't want to run afoul of Twitter policies... We've got 47MM tweets from 600K tweeps... -- 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: twitter dump where i only care about size
Thanks very much! I don't know the ins and outs of Twitter's data distribution rules, but my intent is to use this strictly for classroom assignments and we will not post or distribute the data in any way. Cordially, Ted On Sun, Mar 6, 2011 at 8:55 PM, @IDisposable idisposa...@gmail.com wrote: Is such a collection available for download anywhere, or is there an existing program I could use to simply record twitter data for some period of time? (I've heard about both the firehose and the streaming API, but can't seem to find anything that is ready to run with that for this particular taskbut I might not know where to look). I could possibly export the STLTweels database in JSON format, but I don't want to run afoul of Twitter policies... We've got 47MM tweets from 600K tweeps... -- 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 -- Ted Pedersen http://www.d.umn.edu/~tpederse -- 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: Twitter Error While Authenticating ..IPhone Application
Huh... Why it is such a mystery on xAuth. It should be very clear how oAuth xAuth work. You need to explain well about your app before you can apply and get your xAuth approve. On Mar 2, 8:44 pm, Battan Amit batta...@gmail.com wrote: for xAuth I think we have to give the itune URL and other detail of application As my application is in developing stage ... So How I will get it. OR And for now how I am using oAuth in MGTwitterEngine AB On 2 March 2011 17:19, Rich rhyl...@gmail.com wrote: Have you applied for xAuth access, oAuth is enabled for clients by default but xAuth you have to apply for. On Mar 1, 12:53 pm, Battan Ror batta...@gmail.com wrote: Hi I am using MGTwitterEngine in Iphone application But I am getting error in log of function - (void)requestFailed:(NSString *)connectionIdentifier withError: (NSError *)error { NSLog(@Twitter Request failed for connectionIdentifier = %@, error = %@ (%@), connectionIdentifier, [error localizedDescription], [error userInfo]); } Error Log Twitter Request failed for connectionIdentifier = 8E192CD3-35E5-46C8-86E9-1EADEE38B6E8, error = The operation couldn’t be completed. (HTTP error 401.) ({ body = ?xml version=\1.0\ encoding=\UTF-8\?\nhash\n request/oauth/access_token/request\n errorClient application is not permitted to use xAuth./error\n/hash\n; response = NSHTTPURLResponse: 0x603b6a0; }) following code in controller class -(IBAction)twitterBtnAct:(id)sender{ // Put your Twitter username and password here: NSString *username = @myusername; NSString *password = @mypassword; NSString *consumerKey = @b2jD5AXJewSNfmCBfzvlw; NSString *consumerSecret = @ceqEECJalqtVUnxl8sNQxrh5dXGUvo9cg4HxKNn6g; // Most API calls require a name and password to be set... if (! username || ! password || !consumerKey || !consumerSecret) { NSLog(@You forgot to specify your username/password/key/ secret in AppController.m, things might not work!); NSLog(@And if things are mysteriously working without the username/ password, it's because NSURLConnection is using a session cookie from another connection.); } // Create a TwitterEngine and set our login details. twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self]; [twitterEngine setUsesSecureConnection:NO]; [twitterEngine setConsumerKey:consumerKey secret:consumerSecret]; // This has been undepreciated for the purposes of dealing with Lists. // At present the list API calls require you to specify a user that owns the list. [twitterEngine setUsername:username]; [twitterEngine getXAuthAccessTokenForUsername:username password:password]; } #pragma mark Twitter methods #pragma mark MGTwitterEngineDelegate methods - (void)accessTokenReceived:(OAToken *)aToken forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Access token received! %@,aToken); token = [aToken retain]; [self runTests]; } - (void)requestSucceeded:(NSString *)connectionIdentifier { NSLog(@Twitter Request succeeded for connectionIdentifier = %@, connectionIdentifier); } - (void)statusesReceived:(NSArray *)statuses forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got statuses for %@:\r%@, connectionIdentifier, statuses); } - (void)directMessagesReceived:(NSArray *)messages forRequest: (NSString *)connectionIdentifier { NSLog(@Twitter Got direct messages for %@:\r%@, connectionIdentifier, messages); } - (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got user info for %@:\r%@, connectionIdentifier, userInfo); } -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter integration for IPhone App
No Official Twitter iOS SDK. You want better user experience on iOS app use xAuth. I will be releasing book chapter on iOS app soon with code example. On Mar 1, 4:56 am, Battan Amit batta...@gmail.com wrote: Hi I am working on a iphone application in which I will integrate the twitter I have questions - What is different between oAuth and xAuth? Which one should I use? - I want when I login into my application then user's twitter account automatically logged in if he/she provide the authentic detail already. Is it possible, if then using oAuth or xAuth? - Is any twitter official iOS sdk for twitter, like MGTwitterEngine, if it then please provide the source if it is free? Thanks Amit -- 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: Twitter integration for IPhone App
I found some links from twitter site MGTwitterEngine etc. and use it. this is supporting both xAuth and oAuth as per its documentation and try it using xAuth as a function calling named getXAuthAccessTokenForUsername But my application is in developing stage .. and twitter not approving it .. they will approve it after release... I am not able to use oAuth using MGTwitterEngine Can you help me... Even I am not able to use oAuth version http://mobile.tutsplus.com/tutorials/iphone/twitter-api-iphone/comment-page-1/ I can update my status using it... But not able do any thing else I try [twitterObj getUserInformationForEmail:@batta...@gmail.com]; then getting error Request 9EF8DE73-6E04-46F1-9D90-484F90FCA44F failed with error: Error Domain=HTTP Code=404 The operation couldn’t be completed. (HTTP error 404.) Request 016DB024-1BFB-4E9B-8734-3FFCCB93D6E4 failed with error: Error Domain=HTTP Code=403 The operation couldn’t be completed. (HTTP error 403.) AB On 3 March 2011 17:49, Bess bess...@gmail.com wrote: No Official Twitter iOS SDK. You want better user experience on iOS app use xAuth. I will be releasing book chapter on iOS app soon with code example. On Mar 1, 4:56 am, Battan Amit batta...@gmail.com wrote: Hi I am working on a iphone application in which I will integrate the twitter I have questions - What is different between oAuth and xAuth? Which one should I use? - I want when I login into my application then user's twitter account automatically logged in if he/she provide the authentic detail already. Is it possible, if then using oAuth or xAuth? - Is any twitter official iOS sdk for twitter, like MGTwitterEngine, if it then please provide the source if it is free? Thanks Amit -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter Error While Authenticating ..IPhone Application
Have you applied for xAuth access, oAuth is enabled for clients by default but xAuth you have to apply for. On Mar 1, 12:53 pm, Battan Ror batta...@gmail.com wrote: Hi I am using MGTwitterEngine in Iphone application But I am getting error in log of function - (void)requestFailed:(NSString *)connectionIdentifier withError: (NSError *)error { NSLog(@Twitter Request failed for connectionIdentifier = %@, error = %@ (%@), connectionIdentifier, [error localizedDescription], [error userInfo]); } Error Log Twitter Request failed for connectionIdentifier = 8E192CD3-35E5-46C8-86E9-1EADEE38B6E8, error = The operation couldn’t be completed. (HTTP error 401.) ({ body = ?xml version=\1.0\ encoding=\UTF-8\?\nhash\n request/oauth/access_token/request\n errorClient application is not permitted to use xAuth./error\n/hash\n; response = NSHTTPURLResponse: 0x603b6a0; }) following code in controller class -(IBAction)twitterBtnAct:(id)sender{ // Put your Twitter username and password here: NSString *username = @myusername; NSString *password = @mypassword; NSString *consumerKey = @b2jD5AXJewSNfmCBfzvlw; NSString *consumerSecret = @ceqEECJalqtVUnxl8sNQxrh5dXGUvo9cg4HxKNn6g; // Most API calls require a name and password to be set... if (! username || ! password || !consumerKey || !consumerSecret) { NSLog(@You forgot to specify your username/password/key/ secret in AppController.m, things might not work!); NSLog(@And if things are mysteriously working without the username/ password, it's because NSURLConnection is using a session cookie from another connection.); } // Create a TwitterEngine and set our login details. twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self]; [twitterEngine setUsesSecureConnection:NO]; [twitterEngine setConsumerKey:consumerKey secret:consumerSecret]; // This has been undepreciated for the purposes of dealing with Lists. // At present the list API calls require you to specify a user that owns the list. [twitterEngine setUsername:username]; [twitterEngine getXAuthAccessTokenForUsername:username password:password]; } #pragma mark Twitter methods #pragma mark MGTwitterEngineDelegate methods - (void)accessTokenReceived:(OAToken *)aToken forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Access token received! %@,aToken); token = [aToken retain]; [self runTests]; } - (void)requestSucceeded:(NSString *)connectionIdentifier { NSLog(@Twitter Request succeeded for connectionIdentifier = %@, connectionIdentifier); } - (void)statusesReceived:(NSArray *)statuses forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got statuses for %@:\r%@, connectionIdentifier, statuses); } - (void)directMessagesReceived:(NSArray *)messages forRequest: (NSString *)connectionIdentifier { NSLog(@Twitter Got direct messages for %@:\r%@, connectionIdentifier, messages); } - (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got user info for %@:\r%@, connectionIdentifier, userInfo); } -- 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: Twitter Error While Authenticating ..IPhone Application
for xAuth I think we have to give the itune URL and other detail of application As my application is in developing stage ... So How I will get it. OR And for now how I am using oAuth in MGTwitterEngine AB On 2 March 2011 17:19, Rich rhyl...@gmail.com wrote: Have you applied for xAuth access, oAuth is enabled for clients by default but xAuth you have to apply for. On Mar 1, 12:53 pm, Battan Ror batta...@gmail.com wrote: Hi I am using MGTwitterEngine in Iphone application But I am getting error in log of function - (void)requestFailed:(NSString *)connectionIdentifier withError: (NSError *)error { NSLog(@Twitter Request failed for connectionIdentifier = %@, error = %@ (%@), connectionIdentifier, [error localizedDescription], [error userInfo]); } Error Log Twitter Request failed for connectionIdentifier = 8E192CD3-35E5-46C8-86E9-1EADEE38B6E8, error = The operation couldn’t be completed. (HTTP error 401.) ({ body = ?xml version=\1.0\ encoding=\UTF-8\?\nhash\n request/oauth/access_token/request\n errorClient application is not permitted to use xAuth./error\n/hash\n; response = NSHTTPURLResponse: 0x603b6a0; }) following code in controller class -(IBAction)twitterBtnAct:(id)sender{ // Put your Twitter username and password here: NSString *username = @myusername; NSString *password = @mypassword; NSString *consumerKey = @b2jD5AXJewSNfmCBfzvlw; NSString *consumerSecret = @ceqEECJalqtVUnxl8sNQxrh5dXGUvo9cg4HxKNn6g; // Most API calls require a name and password to be set... if (! username || ! password || !consumerKey || !consumerSecret) { NSLog(@You forgot to specify your username/password/key/ secret in AppController.m, things might not work!); NSLog(@And if things are mysteriously working without the username/ password, it's because NSURLConnection is using a session cookie from another connection.); } // Create a TwitterEngine and set our login details. twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self]; [twitterEngine setUsesSecureConnection:NO]; [twitterEngine setConsumerKey:consumerKey secret:consumerSecret]; // This has been undepreciated for the purposes of dealing with Lists. // At present the list API calls require you to specify a user that owns the list. [twitterEngine setUsername:username]; [twitterEngine getXAuthAccessTokenForUsername:username password:password]; } #pragma mark Twitter methods #pragma mark MGTwitterEngineDelegate methods - (void)accessTokenReceived:(OAToken *)aToken forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Access token received! %@,aToken); token = [aToken retain]; [self runTests]; } - (void)requestSucceeded:(NSString *)connectionIdentifier { NSLog(@Twitter Request succeeded for connectionIdentifier = %@, connectionIdentifier); } - (void)statusesReceived:(NSArray *)statuses forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got statuses for %@:\r%@, connectionIdentifier, statuses); } - (void)directMessagesReceived:(NSArray *)messages forRequest: (NSString *)connectionIdentifier { NSLog(@Twitter Got direct messages for %@:\r%@, connectionIdentifier, messages); } - (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)connectionIdentifier { NSLog(@Twitter Got user info for %@:\r%@, connectionIdentifier, userInfo); } -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter API Timeouts
Hi All - Since early yesterday (India time) I have been seeing significant 403 errors - Failed to search tweets: 403:The request is understood, but it has been refused. An accompanying error message will explain why. {error:since date or since_id is too old} Neither of the above reasons is true since I poll about 2 times in a minute and am only using a since_id since the last poll (at most a few minutes old). Is there something else that has changed. This was working fine till last weekend. Thanks in advance for any reply. Best Rakesh Using twitter search api via twitter4j On Mar 1, 4:02 am, Colin Howe colintheh...@googlemail.com wrote: Looks like it is working as normal again now... Horrid way to find out our internal poller has a 10 minute timeout on a request though :D On Feb 28, 7:30 pm, Marc Mims marc.m...@gmail.com wrote: * Taylor Singletary taylorsinglet...@twitter.com [110228 06:57]: Thanks for the reports -- we're looking into the timeout issue. I've been seeing this, too. To combat it, I've set my request timeout to 8 seconds and I use with Net::Twitter's RetryOnError trait (perl). Last year, at Chrip, one of the speakers said Twitter's internal strategy is to timeout quickly and re-queue. From my tests, it appears requests normally fail in 4-5 seconds with a 502 if they can't be fulfilled in that amount of time by the backend. Taylor, can you confirm that? What is Twitter's internal cutoff? That would help me set an optimum request timeout on my end. FWIW, the Net::Twitter RetryOnError strategy is to retry any request that fails with an HTTP status code = 500. It delays 250ms before the first retry and doubles the retry delay until it gets to 4 seconds. If it still can't get a successful return, it throws an error at that point. -Marc- Hide quoted text - - Show quoted text - -- 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: Twitter API Timeouts
We have been seeing this behavior as well since early yesterday. We have a lot of connections (a noticeable percentage) simply timeout. We have tested various timeouts and work arounds and it appears as though the connections will happily be kept open indefinitely with no response if there is no timeout set.. I am also curious if there was a change made that would be attributed to this change in behavior. --Naveen On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote: Hi, We've started seeing the API drop a lot of our requests. No error, no response at all. Is this a known issue or is it a change I should have been aware of? Cheers, Colin -- 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: Twitter API Timeouts
Hi, I have noticed the same behaviour today, connections time out after 30 seconds, even the verify_credentials api call fails... the api status page shows everything is fine though. Regards, Leon Meijer _ From: Naveen [mailto:knig...@gmail.com] To: Twitter Development Talk [mailto:twitter-development-talk@googlegroups.com] Sent: Mon, 28 Feb 2011 11:36:57 +0100 Subject: [twitter-dev] Re: Twitter API Timeouts We have been seeing this behavior as well since early yesterday. We have a lot of connections (a noticeable percentage) simply timeout. We have tested various timeouts and work arounds and it appears as though the connections will happily be kept open indefinitely with no response if there is no timeout set.. I am also curious if there was a change made that would be attributed to this change in behavior. --Naveen On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote: Hi, We've started seeing the API drop a lot of our requests. No error, no response at all. Is this a known issue or is it a change I should have been aware of? Cheers, Colin -- 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: Twitter API Timeouts
Hi, Even echofon clients are timing out. It coul be a general failure of service. Let us see if Twitter wants to clarify Regards Umashankar Das On Mon, Feb 28, 2011 at 5:13 PM, Leon Meijer l...@lmeijer.nl wrote: Hi, I have noticed the same behaviour today, connections time out after 30 seconds, even the verify_credentials api call fails... the api status page shows everything is fine though. Regards, Leon Meijer -- *From:* Naveen [mailto:knig...@gmail.com] *To:* Twitter Development Talk [mailto: twitter-development-talk@googlegroups.com] *Sent:* Mon, 28 Feb 2011 11:36:57 +0100 *Subject:* [twitter-dev] Re: Twitter API Timeouts We have been seeing this behavior as well since early yesterday. We have a lot of connections (a noticeable percentage) simply timeout. We have tested various timeouts and work arounds and it appears as though the connections will happily be kept open indefinitely with no response if there is no timeout set.. I am also curious if there was a change made that would be attributed to this change in behavior. --Naveen On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote: Hi, We've started seeing the API drop a lot of our requests. No error, no response at all. Is this a known issue or is it a change I should have been aware of? Cheers, Colin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Twitter API Timeouts
Hi all, Thanks for the reports -- we're looking into the timeout issue. Taylor On Mon, Feb 28, 2011 at 4:43 AM, Umashankar Das umashankar...@gmail.comwrote: Hi, Even echofon clients are timing out. It coul be a general failure of service. Let us see if Twitter wants to clarify Regards Umashankar Das On Mon, Feb 28, 2011 at 5:13 PM, Leon Meijer l...@lmeijer.nl wrote: Hi, I have noticed the same behaviour today, connections time out after 30 seconds, even the verify_credentials api call fails... the api status page shows everything is fine though. Regards, Leon Meijer -- *From:* Naveen [mailto:knig...@gmail.com] *To:* Twitter Development Talk [mailto: twitter-development-talk@googlegroups.com] *Sent:* Mon, 28 Feb 2011 11:36:57 +0100 *Subject:* [twitter-dev] Re: Twitter API Timeouts We have been seeing this behavior as well since early yesterday. We have a lot of connections (a noticeable percentage) simply timeout. We have tested various timeouts and work arounds and it appears as though the connections will happily be kept open indefinitely with no response if there is no timeout set.. I am also curious if there was a change made that would be attributed to this change in behavior. --Naveen On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote: Hi, We've started seeing the API drop a lot of our requests. No error, no response at all. Is this a known issue or is it a change I should have been aware of? Cheers, Colin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Twitter API Timeouts
* Taylor Singletary taylorsinglet...@twitter.com [110228 06:57]: Thanks for the reports -- we're looking into the timeout issue. I've been seeing this, too. To combat it, I've set my request timeout to 8 seconds and I use with Net::Twitter's RetryOnError trait (perl). Last year, at Chrip, one of the speakers said Twitter's internal strategy is to timeout quickly and re-queue. From my tests, it appears requests normally fail in 4-5 seconds with a 502 if they can't be fulfilled in that amount of time by the backend. Taylor, can you confirm that? What is Twitter's internal cutoff? That would help me set an optimum request timeout on my end. FWIW, the Net::Twitter RetryOnError strategy is to retry any request that fails with an HTTP status code = 500. It delays 250ms before the first retry and doubles the retry delay until it gets to 4 seconds. If it still can't get a successful return, it throws an error at that point. -Marc -- 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: Twitter feed for corporate website/portal
Peter Denton, I have a corporate website and I would like to show Twitter feeds of my selected keywords (Theme Based). For that I would like to use API which get me the feeds directly..without creating any Twitter account, just like anonymous user..my question is, will Twitter consider it as SPAM.. Or Shall I follow 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. Thanks for any help on this. On Jan 12, 9:15 am, Peter Denton petermden...@gmail.com wrote: also, check out Twitter Widgets. You can pull in tweets based on search, profile, or list-- so you might be able to use that. Since the request is client side, rate limiting is not going to be as big of an issue. You could also completely customize the UI if needed, both through the form Twitter provides to generate the UI as well as with plain old css. http://twitter.com/about/resources/widgets If you need any help, I would be happy to help you off the list. On Tue, Jan 11, 2011 at 8:08 PM, Adam Green 140...@gmail.com wrote: 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.comwill work. You can even usehttp://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 -- Peter Denton Co-Founder, Product Marketingwww.mombo.com cell: (206) 427-3866 twitter @Mombo_movies twitter - personal: @petermdenton -- 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: Twitter feed for corporate website/portal
If you want to display a feed of tweets matching a search term, I would use the Twitter javascript widgets. Since the requests are client side, you don't have to worry about rate limiting, and you can style the widget as you please. Fetching tweets, storing them in a database, and serving them is overkill. If you would like to see an example, I can set up a page. Regarding spam, anytime you are displaying tweets on your site, you are doing something positive for Twitter. Spam is usually an issue when you are broadcasting into twitter vs pulling information out. On Wed, Feb 23, 2011 at 2:55 AM, Richard navin@gmail.com wrote: Peter Denton, I have a corporate website and I would like to show Twitter feeds of my selected keywords (Theme Based). For that I would like to use API which get me the feeds directly..without creating any Twitter account, just like anonymous user..my question is, will Twitter consider it as SPAM.. Or Shall I follow 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. Thanks for any help on this. On Jan 12, 9:15 am, Peter Denton petermden...@gmail.com wrote: also, check out Twitter Widgets. You can pull in tweets based on search, profile, or list-- so you might be able to use that. Since the request is client side, rate limiting is not going to be as big of an issue. You could also completely customize the UI if needed, both through the form Twitter provides to generate the UI as well as with plain old css. http://twitter.com/about/resources/widgets If you need any help, I would be happy to help you off the list. On Tue, Jan 11, 2011 at 8:08 PM, Adam Green 140...@gmail.com wrote: 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.comwill work. You can even usehttp://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 -- Peter Denton Co-Founder, Product Marketingwww.mombo.com cell: (206) 427-3866 twitter @Mombo_movies twitter - personal: @petermdenton -- Twitter developer documentation and
[twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?
Thanks Scott. I found the token from that page but I get Could not authenticate you when I try and use it. Do you happen to know where I might get some code or tutorial which would explain how to use the tokens from the site? -- 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: Twitter OAuth PHP - Submit tweets without user login?
Here is pretty much the simplest code to post a new status: https://gist.github.com/564882 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 Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote: Hi Abraham. I tried to hack your example to use the static tokens but to be honest I'm out of my depth. Is there any chance of an example on how to use the API without logins? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?
Genius, thanks Abraham that worked great, and so simple. -- 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: Twitter OAuth PHP - Submit tweets without user login?
I'd also like to add that if you want to start *reading* tweets, which is probably inevitable, you should configure your local test server as local.dev vice localhost (mapping 127.0.0.1 to local.dev in addition to localhost). On Feb 17, 2:17 pm, Adamantus dan.cottre...@gmail.com wrote: Genius, thanks Abraham that worked great, and so simple. -- 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