[twitter-dev] Reminder: Status IDs are changing at 10am PDT/5pm UTC Tuesday 12th October 2010
Hey everyone, Just a quick reminder that Snowflake (the new way we will generate Status IDs) is scheduled to go live at 10am PDT/5pm UTC Tuesday 12th October 2010 - today for many of you and tomorrow for those of you who are on PDT. We'll send a Tweet on @twitterapi as a reminder just before we do this, and another after Snowflake is enabled. The original announcement along with more information can be found in our Announcements archive: http://groups.google.com/group/twitter-api-announce/browse_thread/thread/7982e3b037eeef95 Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Tweet button-unicode URL
Hello, I am trying to pass this URL(has Greek letters) via Tweet button but It always returns ...'url' parameter does not contain a valid URL. http://www.wadja.com/petty01#Ελληνική Οικονομία I've tried all the below using JavaScript but no luck: escape(), encodeURI(), encodeURIComponent() Please advice. Thanks in advance Wadja Team -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Reminder: Status IDs are changing at 10am PDT/5pm UTC Tuesday 12th October 2010
Quick question, for the timeline I've been using max_id=123456789 as a method of paging backwards instead of page=2. This stops the last few tweets from the previous page appearing at the top as more people tweet. So if the last tweet on the current page has an ID of 123456790, I make a request for max_id=123456789 (minus one to stop the same tweet appearing). However if the tweets will no longer be directly incremental, will this method still work or could the odd tweet disappear (I assume they would need to be posted at the same millisecond, but it could be possible)? Thanks Ryan On Oct 12, 7:03 am, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Just a quick reminder that Snowflake (the new way we will generate Status IDs) is scheduled to go live at 10am PDT/5pm UTC Tuesday 12th October 2010 - today for many of you and tomorrow for those of you who are on PDT. We'll send a Tweet on @twitterapi as a reminder just before we do this, and another after Snowflake is enabled. The original announcement along with more information can be found in our Announcements archive: http://groups.google.com/group/twitter-api-announce/browse_thread/thr... Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Trying to use Streaming API with OAuth but times out - Suggestions?
On Tue, Oct 12, 2010 at 3:16 AM, Bartek bart.ci...@gmail.com wrote: Hi there, I'm new to the Twitter API so forgive me if I'm missing something blatant. I just wrote a small node.js script that connects to Twitter and fetches the specified timeline. The library I am using for OAuth is: http://github.com/ciaranj/node-oauth If I specify a timeline outside of the Streaming API I get a full result - Works great! However, if I specify one in the Streaming API, e.g.: oa.getProtectedResource(http://stream.twitter.com/1/statuses/ sample.json, GET, oauth_access_token, oauth_access_token_secret, function(error, data , response) { ... } I simply get a Timed out error. If I access that same page directly it works fine. Tried a few times and checked the Status of Twitter, but no luck. Any advice as to what I am doing wrong? Hiyah, this page: http://github.com/ciaranj/node-oauth/wiki/Interacting-with-Twitter should explain your issue. You're using the non-streaming method/approach to access a streaming resource :) Cheers. -cj -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Trying to use Streaming API with OAuth but times out - Suggestions?
Thanks a bunch! On Oct 12, 5:39 am, Ciaran ciar...@gmail.com wrote: On Tue, Oct 12, 2010 at 3:16 AM, Bartek bart.ci...@gmail.com wrote: Hi there, I'm new to the Twitter API so forgive me if I'm missing something blatant. I just wrote a small node.js script that connects to Twitter and fetches the specified timeline. The library I am using for OAuth is: http://github.com/ciaranj/node-oauth If I specify a timeline outside of the Streaming API I get a full result - Works great! However, if I specify one in the Streaming API, e.g.: oa.getProtectedResource(http://stream.twitter.com/1/statuses/ sample.json, GET, oauth_access_token, oauth_access_token_secret, function(error, data , response) { ... } I simply get a Timed out error. If I access that same page directly it works fine. Tried a few times and checked the Status of Twitter, but no luck. Any advice as to what I am doing wrong? Hiyah, this page:http://github.com/ciaranj/node-oauth/wiki/Interacting-with-Twitter should explain your issue. You're using the non-streaming method/approach to access a streaming resource :) Cheers. -cj -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Skip the authentication
I have used the function to authenticate my application with the user and allow it to access the twitter functionalist from my web site. The function does everything correctly and gets the oauth_ details. If I want to skip the authentication required from the user until he rejects my application from his application list from the Twitter. I require to use his first time authenticated details instead of asking the credentials again and again. I store every credentials in a local variable and formed the URLs with the required details. But, it throws The remote server returned an error: (401) Unauthorized. How to avoid the approval from the registered user in twitter on every time my application request to connect with the Twitter and fetch the details. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Trying to use Streaming API with OAuth but times out - Suggestions?
np ;) -cj. On Tue, Oct 12, 2010 at 12:22 PM, Bartek bart.ci...@gmail.com wrote: Thanks a bunch! On Oct 12, 5:39 am, Ciaran ciar...@gmail.com wrote: On Tue, Oct 12, 2010 at 3:16 AM, Bartek bart.ci...@gmail.com wrote: Hi there, I'm new to the Twitter API so forgive me if I'm missing something blatant. I just wrote a small node.js script that connects to Twitter and fetches the specified timeline. The library I am using for OAuth is: http://github.com/ciaranj/node-oauth If I specify a timeline outside of the Streaming API I get a full result - Works great! However, if I specify one in the Streaming API, e.g.: oa.getProtectedResource(http://stream.twitter.com/1/statuses/ sample.json, GET, oauth_access_token, oauth_access_token_secret, function(error, data , response) { ... } I simply get a Timed out error. If I access that same page directly it works fine. Tried a few times and checked the Status of Twitter, but no luck. Any advice as to what I am doing wrong? Hiyah, this page:http://github.com/ciaranj/node-oauth/wiki/Interacting-with-Twitter should explain your issue. You're using the non-streaming method/approach to access a streaming resource :) Cheers. -cj -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: problem with since_id in search
anyone ? 2010/10/12 João Paulo Sabino de Moraes jona...@gmail.com hi everyone, since_id is not filtering correctly with search... below there is an example that explains better what I mean: the id in this query is related to the second newer tweet from nibuzz search without since_id: http://search.twitter.com/search?q=nibuzzsince_id=2707390922 http://search.twitter.com/search?q=nibuzzsince_id=2707390922So the above query should return only one ocurrence, cause there is only one tweet with nibuzz and id bigger than 2707390922http://search.twitter.com/search?q=nibuzzsince_id=2707390922 . Although it is returning all ocurrences of nibuzz in twitter is there any other thing to do ? thanks -- João Paulo S. de Moraes +55 81 3432 3804 +55 81 9189 3814 (mobile) -- João Paulo S. de Moraes +55 81 3432 3804 +55 81 9189 3814 (mobile) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Streaming API sampling and filter limiting algorithms switched to new status id
The new status id format, previewed as new_id, requires slightly different algorithms for sampling and imposing filter limits on the Streaming API. In preparation for the big switch later today, we've cut over to using the new_id for these cases at about 6:30am PDT, 13:30 UTC. Only the most careful observer of the sampled streams should notice a difference. Consumers of the Streaming filter endpoint (track, loc, etc.) that aggressively push the rate limits may notice some minor differences in when the limits are imposed. We may tweak this algorithm and the associated Filter limits in the future. Overall, the results for Sample and Filter should be very similar to the previous sequentially generated status id system. -John Kalucki http://twitter.com/jkalucki Twitter, Inc. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: problem with since_id in search
In the example you are showing here, you're using a tweet id that is way outside of range (if we're just talking about digits, you're missing one..) If you look at the JSON results at: http://search.twitter.com/search.json?q=nibuzzsince_id=2707390922 (with the since_id you're presenting here), you'll see that the tweets being returned are a bit larger than your query: 27100248453 27073909221 27073903828 Yours: 2707390922 Was there a copy paste error? Thanks, Taylor 2010/10/12 João Paulo Sabino de Moraes jona...@gmail.com anyone ? 2010/10/12 João Paulo Sabino de Moraes jona...@gmail.com hi everyone, since_id is not filtering correctly with search... below there is an example that explains better what I mean: the id in this query is related to the second newer tweet from nibuzz search without since_id: http://search.twitter.com/search?q=nibuzzsince_id=2707390922 So the above query should return only one ocurrence, cause there is only one tweet with nibuzz and id bigger than 2707390922 . Although it is returning all ocurrences of nibuzz in twitter is there any other thing to do ? thanks -- João Paulo S. de Moraes +55 81 3432 3804 +55 81 9189 3814 (mobile) -- João Paulo S. de Moraes +55 81 3432 3804 +55 81 9189 3814 (mobile) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Skip the authentication
Hi Andrew, You should store the oauth_token and oauth_token_secret (securely) you received alongside any kind of identifying data you have for your user. Then, when making subsequent API calls, you use the access token to represent the user's permission and identity. You don't need to re-authenticate the user against Twitter every time (unless you want to). Taylor On Tue, Oct 12, 2010 at 4:08 AM, Andrew Cross. Gna success@gmail.comwrote: I have used the function to authenticate my application with the user and allow it to access the twitter functionalist from my web site. The function does everything correctly and gets the oauth_ details. If I want to skip the authentication required from the user until he rejects my application from his application list from the Twitter. I require to use his first time authenticated details instead of asking the credentials again and again. I store every credentials in a local variable and formed the URLs with the required details. But, it throws The remote server returned an error: (401) Unauthorized. How to avoid the approval from the registered user in twitter on every time my application request to connect with the Twitter and fetch the details. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] HornetQ JMS Integration with twitter versus new authentication
We have a bridge to support HornetQ (JBoss' newest Messaging Server) and twitter. The idea was to provide applications the possibility of tweet right from an enterprise BUS, like being a bot. On this case we don't have a client or user doing the authentication.. it's just a robot twitting. Is there a way we could have the robot to authenticate himself without human interaction? We could configure the user/password before on the robot but it seems this is not supported any longer. We have created an issue on our JIRA here to track this issue: https://jira.jboss.org/browse/HORNETQ-549 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] HornetQ JMS Integration with twitter versus new authentication
You can simply hardcode the access tokens.. Tom On 10/12/10 5:06 PM, Clebert Suconic wrote: We have a bridge to support HornetQ (JBoss' newest Messaging Server) and twitter. The idea was to provide applications the possibility of tweet right from an enterprise BUS, like being a bot. On this case we don't have a client or user doing the authentication.. it's just a robot twitting. Is there a way we could have the robot to authenticate himself without human interaction? We could configure the user/password before on the robot but it seems this is not supported any longer. We have created an issue on our JIRA here to track this issue: https://jira.jboss.org/browse/HORNETQ-549 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Need abit help with verify_credentials OAuth method
I'm integrating Sign in with twitter account function at my site. So, I'm sending request to https://twitter.com/oauth/request_token, getting token, making redirect to https://twitter.com/oauth/authenticate?oauth_token=%oauth_token% Then I recieving call back with oauth_token and oauth_verifier This goes fine. But than I need to call https://api.twitter.com/1/account/verify_credentials.json to get authorizated client details I'm sending: GET https://api.twitter.com/1/account/verify_credentials.json Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: q=0.8,en-us;q=0.5,en;q=0.3 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 X-Auth-Service-Provider: https://api.twitter.com/1/account/verify_credentials.json X-Verify-Credentials-Authorization: OAuth realm=http:// api.twitter.com/, oauth_signature=acYFjEgUrTcyb4FMBoJF8MlwZGw%3D, oauth_timestamp=1286899670, oauth_consumer_key=%CONSUMER_KEY%, oauth_nonce=268310006, oauth_token=%oauth_token%, oauth_version=1.0, oauth_signature_method=HMAC-SHA1 %oauth_token% - token got when twitter redirects me back the cleint %CONSUMER_KEY% - my twitter account's consumer key And getting back HTTP/1.1 401 Unauthorized Cache-Control: no-cache, max-age=300 Connection: close Date: Tue, 12 Oct 2010 16:07:45 GMT Server: hi Vary: Accept-Encoding WWW-Authenticate: Basic realm=Twitter API {error:Could not authenticate you.,request:/1/account/ verify_credentials.json} Can anyone plz advice me what's wrong here? Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] API responds to JSON requests with XHTML
When the Twitter API responds with an HTTP 500 error, as was occurring for a brief period yesterday, the response body is an XHTML document (http://twitter.com/500) as opposed to JSON, as I requested. This is not the case for HTTP 4xx errors, which respond in the requested format, for example: {error:Not Found,request:/1/statuses/show/1.json} I would ask that 5xx responses be made conditional on the requested format, so that I can parse Twitter API responses consistently. Note: in addition to affecting the API, this problem could be seen on the new twitter.com. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] OAuth Problems
Hi! i'm programming basic http post for twitter. I allready have my applicaton in the app's of twitter developers. Ihave the Consumer key, Consumer secret, Access Token (oauth_token) and Access Token Secret (oauth_token_secret) Here is my code: POST /1/statuses/update.xml HTTP/1.1 Host: api.twitter.com Authorization: OAuth oauth_nonce=\sdf78746x4v897sd8g45\, oauth_signature_method=\HMAC-SHA1\, oauth_timestamp=\1286899405\, oauth_consumer_key=\1LYqQbWtZ6jvtskMg1nGnA\, oauth_signature=%2BXCwW9MqFybLCRZgtXw1gaAQd6M%3D, oauth_token= \57336211-iQXeMulz4Ibrgtq9Xb7q5SvjeJ6ovOYzK9QLlkdxV\, oauth_version= \1.0\ Content-Type: application/x-www-form-urlencoded Content-Length: 15 status=SOROPEZA ** Can some one help me why i get this error: HTTP/1.1 401 Unauthorized Date: Tue, 12 Oct 2010 16:04:12 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: Basic realm=Twitter API X-Runtime: 0.00286 Content-Type: application/xml; charset=utf-8 Content-Length: 150 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=189.247.7.12.1286899452316939; path=/; expires=Tue, 19- Oct-10 16:04:12 GMT; domain=.twitter.com Set-Cookie: guest_id=128689945232176133; path=/; expires=Thu, 11 Nov 2010 16:04:12 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCKJJL6ErAToHaWQiJTQ3NThkNzM4MDA5MWEy %250ANzUzYjBhMzgxY2EwMWFmYjI1IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--6a6c68777540385753d80a98768550a26bdc738b; domain=.twitter.com; path=/ Expires: Tue, 12 Oct 2010 16:34:12 GMT Vary: Accept-Encoding Connection: close ?xml version=1.0 encoding=UTF-8? hash errorCould not authenticate with OAuth./error request/1/statuses/update.xml/request /hash ** I don't know how to obtain THE auth_signature,oauth_nonce and the timestamp. THKS!!! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Reminder: Status IDs are changing at 10am PDT/5pm UTC Tuesday 12th October 2010
Hey Ryan, The link that Matt Harris pointed to states: ...parameters such as max_id and since_id will work as expected...things like counting Tweets by subtracting status IDs will not be possible. So, on the one hand it seems like you'll be able to continue without modification ... but on the other hand, it seems like you will have to modify your methods - specifically, the minus one to stop the same tweet appearing part. I'm guessing that you'll have to slightly modify your code to not use a 'less one' approach, but hopefully someone else can give you a more solid answer. -Jim On Oct 12, 4:51 am, artesea ryancul...@gmail.com wrote: Quick question, for the timeline I've been using max_id=123456789 as a method of paging backwards instead of page=2. This stops the last few tweets from the previous page appearing at the top as more people tweet. So if the last tweet on the current page has an ID of 123456790, I make a request for max_id=123456789 (minus one to stop the same tweet appearing). However if the tweets will no longer be directly incremental, will this method still work or could the odd tweet disappear (I assume they would need to be posted at the same millisecond, but it could be possible)? Thanks Ryan On Oct 12, 7:03 am, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Just a quick reminder that Snowflake (the new way we will generate Status IDs) is scheduled to go live at 10am PDT/5pm UTC Tuesday 12th October 2010 - today for many of you and tomorrow for those of you who are on PDT. We'll send a Tweet on @twitterapi as a reminder just before we do this, and another after Snowflake is enabled. The original announcement along with more information can be found in our Announcements archive: http://groups.google.com/group/twitter-api-announce/browse_thread/thr... Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Reminder: Status IDs are changing at 10am PDT/5pm UTC Tuesday 12th October 2010
Actually, the minus one part will be fine as well. Tom On Oct 12, 2010, at 8:10 PM, Jim Chevalier jcheval...@gmail.com wrote: Hey Ryan, The link that Matt Harris pointed to states: ...parameters such as max_id and since_id will work as expected...things like counting Tweets by subtracting status IDs will not be possible. So, on the one hand it seems like you'll be able to continue without modification ... but on the other hand, it seems like you will have to modify your methods - specifically, the minus one to stop the same tweet appearing part. I'm guessing that you'll have to slightly modify your code to not use a 'less one' approach, but hopefully someone else can give you a more solid answer. -Jim On Oct 12, 4:51 am, artesea ryancul...@gmail.com wrote: Quick question, for the timeline I've been using max_id=123456789 as a method of paging backwards instead of page=2. This stops the last few tweets from the previous page appearing at the top as more people tweet. So if the last tweet on the current page has an ID of 123456790, I make a request for max_id=123456789 (minus one to stop the same tweet appearing). However if the tweets will no longer be directly incremental, will this method still work or could the odd tweet disappear (I assume they would need to be posted at the same millisecond, but it could be possible)? Thanks Ryan On Oct 12, 7:03 am, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Just a quick reminder that Snowflake (the new way we will generate Status IDs) is scheduled to go live at 10am PDT/5pm UTC Tuesday 12th October 2010 - today for many of you and tomorrow for those of you who are on PDT. We'll send a Tweet on @twitterapi as a reminder just before we do this, and another after Snowflake is enabled. The original announcement along with more information can be found in our Announcements archive: http://groups.google.com/group/twitter-api-announce/browse_thread/thr... Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: problem with since_id in search
Thanks Taylor, I've found the error, that was an error in the API I'm using, the tweet id was not being read correctly. now it is working! thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] What data is usually contained in the place field?
I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] setting up the api and OAuth for multiple sites
Hi There, im new to the whole twitter scene bu tim making a component that i can install on several client sites that will allow them to update thier twitter accounts. for now i have set up my own account and created an app and im successfully pulling my tweets into my php component and im also posting new tweets from the application. my question is how can i make it easy for clients to configure the component. do they have to input thier own CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET or do they just input thier CONSUMER_KEY, CONSUMER_SECRET, do they have to go through the whole process of registering an app on http://dev.twitter.com ? or is there any easier process (as alot of them would be lost!) Thanks alot Sean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Site Streams: Work Locally / 401 Unauthorized From EC2 (/cc @jkalucki)
I've been working on a site stream implementation for the past week or so from my local environment without any issues. However, I just setup a new EC2 instance this morning and I'm unable to connect from it (I receive 401 Unauthorized). I've tried a few attempts over the course of several hours. I'm using @frflyapp and I've tried both my development oauth app and my production oauth app (both of which work locally) with the same result. My last failed attempt was at: Tue Oct 12 20:08:17 + 2010 I received the following response: HTTP/1.1 401 Unauthorized WWW-Authenticate: Basic realm=Firehose Cache-Control: must-revalidate,no-cache,no-store Content-Type: text/html; charset=iso-8859-1 Content-Length: 1286 Server: Jetty(6.1.25) My EC2 instance is at: stream1.frf.ly 174.129.10.194 With the default security group on EC2, I don't think it's possible to ping the instance and I'm not sure if that's related or not. Thanks, in advance, for any help you can provide. -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Site Streams: Work Locally / 401 Unauthorized From EC2 (/cc @jkalucki)
I can see what you describe in the logs. The most likely problem is that the EC2-based client isn't signing the OAuth correctly somehow. There should be nothing on our end that allows you in on one IP, but 401s you on another. -John On Tue, Oct 12, 2010 at 1:28 PM, tsmango tsma...@gmail.com wrote: I've been working on a site stream implementation for the past week or so from my local environment without any issues. However, I just setup a new EC2 instance this morning and I'm unable to connect from it (I receive 401 Unauthorized). I've tried a few attempts over the course of several hours. I'm using @frflyapp and I've tried both my development oauth app and my production oauth app (both of which work locally) with the same result. My last failed attempt was at: Tue Oct 12 20:08:17 + 2010 I received the following response: HTTP/1.1 401 Unauthorized WWW-Authenticate: Basic realm=Firehose Cache-Control: must-revalidate,no-cache,no-store Content-Type: text/html; charset=iso-8859-1 Content-Length: 1286 Server: Jetty(6.1.25) My EC2 instance is at: stream1.frf.ly 174.129.10.194 With the default security group on EC2, I don't think it's possible to ping the instance and I'm not sure if that's related or not. Thanks, in advance, for any help you can provide. -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: No of statuses extracted by statuses/filter
Hi everybody! Thank you Edward. I copy paste part of your answer: [If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past.] -Can anyone confirm this? -I think, taking Edward's approach, I've still the same problem : even taking a very narrow criteria I can never know what's the total, so I can'´t know if all the tweets got by streaming are useful or not. I think I have to remark that I don't need to know an exact total of tweets in a given moment. What I'd like to know is an approximate percentage over some approximate total of tweets estimation. I dare to think it's part of the service providing specification. I do understand that it can be difficult to exactly define total of tweets when streaming and having tweets going into Twitter permanently but not constantly, but some estimated info would be great. Thank you all in advance. Alejandro. On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Quoting AA alejandro.ale...@gmail.com: Hi everybody! I'm designing an app to do some mining over a corpus of tweets. I think I'll use streaming api, statuses/filter filtering by keywords. I'd like to know, before starting development, what is the percentage of tweets delivered by this stream over the total tweets ('meaning total tweets' the total of tweets that have the tracking keywords) . This is information is crucial because of statistical confidence: a very little sample may not be significant. Addittionally, Ive been googling and reading a lot for 3 days and I can't figure out how i can use different 'level accesses'. I've readhttp://dev.twitter.com/pages/streaming_api_methods#statuses-filter but how can I use this different levels levels of access? Thanks in advance! Regards Alejandro. I actually think the answer to *yout* question is, If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past. But *my* question is, How does one determine the total number of tweets, for some definition of total? a. All tweets created, including those that aren't public? b. All public tweets created, including those from low quality users that don't get indexed by search or sent to the filter stream? c. All tweets sent to the inlet of the filter stream and the various elevated access level stream? Remind me again - when does Snowflake go live? I haven't looked at Streaming data for a couple months. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: No of statuses extracted by statuses/filter
Hey Alejandro, When you receive Tweets through the Streaming API filter method we will deliver all the Tweets that match the keywords/user_ids you ask for. If there are more Tweets than your Sample is allowed we will send a 'rate limited' message indicating how many you missed. This means, if you don't get a rate limited message, that you got all the Tweets for that moment in time. Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Oct 12, 2010 at 2:36 PM, AA alejandro.ale...@gmail.com wrote: Hi everybody! Thank you Edward. I copy paste part of your answer: [If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past.] -Can anyone confirm this? -I think, taking Edward's approach, I've still the same problem : even taking a very narrow criteria I can never know what's the total, so I can'´t know if all the tweets got by streaming are useful or not. I think I have to remark that I don't need to know an exact total of tweets in a given moment. What I'd like to know is an approximate percentage over some approximate total of tweets estimation. I dare to think it's part of the service providing specification. I do understand that it can be difficult to exactly define total of tweets when streaming and having tweets going into Twitter permanently but not constantly, but some estimated info would be great. Thank you all in advance. Alejandro. On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Quoting AA alejandro.ale...@gmail.com: Hi everybody! I'm designing an app to do some mining over a corpus of tweets. I think I'll use streaming api, statuses/filter filtering by keywords. I'd like to know, before starting development, what is the percentage of tweets delivered by this stream over the total tweets ('meaning total tweets' the total of tweets that have the tracking keywords) . This is information is crucial because of statistical confidence: a very little sample may not be significant. Addittionally, Ive been googling and reading a lot for 3 days and I can't figure out how i can use different 'level accesses'. I've readhttp://dev.twitter.com/pages/streaming_api_methods#statuses-filter but how can I use this different levels levels of access? Thanks in advance! Regards Alejandro. I actually think the answer to *yout* question is, If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past. But *my* question is, How does one determine the total number of tweets, for some definition of total? a. All tweets created, including those that aren't public? b. All public tweets created, including those from low quality users that don't get indexed by search or sent to the filter stream? c. All tweets sent to the inlet of the filter stream and the various elevated access level stream? Remind me again - when does Snowflake go live? I haven't looked at Streaming data for a couple months. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] What data is usually contained in the place field?
Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info: http://dev.twitter.com/doc/post/statuses/update ) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: No of statuses extracted by statuses/filter
If you don't receive a limit message, you know that you've received all possible tweets for the predicate. If you do receive a limit message, you know the precise proportion of tweets received and dropped. -John Kalucki http://twitter.com/jkalucki Twitter Inc. On Tue, Oct 12, 2010 at 2:36 PM, AA alejandro.ale...@gmail.com wrote: Hi everybody! Thank you Edward. I copy paste part of your answer: [If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past.] -Can anyone confirm this? -I think, taking Edward's approach, I've still the same problem : even taking a very narrow criteria I can never know what's the total, so I can'´t know if all the tweets got by streaming are useful or not. I think I have to remark that I don't need to know an exact total of tweets in a given moment. What I'd like to know is an approximate percentage over some approximate total of tweets estimation. I dare to think it's part of the service providing specification. I do understand that it can be difficult to exactly define total of tweets when streaming and having tweets going into Twitter permanently but not constantly, but some estimated info would be great. Thank you all in advance. Alejandro. On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Quoting AA alejandro.ale...@gmail.com: Hi everybody! I'm designing an app to do some mining over a corpus of tweets. I think I'll use streaming api, statuses/filter filtering by keywords. I'd like to know, before starting development, what is the percentage of tweets delivered by this stream over the total tweets ('meaning total tweets' the total of tweets that have the tracking keywords) . This is information is crucial because of statistical confidence: a very little sample may not be significant. Addittionally, Ive been googling and reading a lot for 3 days and I can't figure out how i can use different 'level accesses'. I've readhttp:// dev.twitter.com/pages/streaming_api_methods#statuses-filter but how can I use this different levels levels of access? Thanks in advance! Regards Alejandro. I actually think the answer to *yout* question is, If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past. But *my* question is, How does one determine the total number of tweets, for some definition of total? a. All tweets created, including those that aren't public? b. All public tweets created, including those from low quality users that don't get indexed by search or sent to the filter stream? c. All tweets sent to the inlet of the filter stream and the various elevated access level stream? Remind me again - when does Snowflake go live? I haven't looked at Streaming data for a couple months. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp:// twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: No of statuses extracted by statuses/filter
Sorry. Gmail fail / Groups fail. On Tue, Oct 12, 2010 at 3:17 PM, John Kalucki j...@twitter.com wrote: If you don't receive a limit message, you know that you've received all possible tweets for the predicate. If you do receive a limit message, you know the precise proportion of tweets received and dropped. -John Kalucki http://twitter.com/jkalucki Twitter Inc. On Tue, Oct 12, 2010 at 2:36 PM, AA alejandro.ale...@gmail.com wrote: Hi everybody! Thank you Edward. I copy paste part of your answer: [If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past.] -Can anyone confirm this? -I think, taking Edward's approach, I've still the same problem : even taking a very narrow criteria I can never know what's the total, so I can'´t know if all the tweets got by streaming are useful or not. I think I have to remark that I don't need to know an exact total of tweets in a given moment. What I'd like to know is an approximate percentage over some approximate total of tweets estimation. I dare to think it's part of the service providing specification. I do understand that it can be difficult to exactly define total of tweets when streaming and having tweets going into Twitter permanently but not constantly, but some estimated info would be great. Thank you all in advance. Alejandro. On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Quoting AA alejandro.ale...@gmail.com: Hi everybody! I'm designing an app to do some mining over a corpus of tweets. I think I'll use streaming api, statuses/filter filtering by keywords. I'd like to know, before starting development, what is the percentage of tweets delivered by this stream over the total tweets ('meaning total tweets' the total of tweets that have the tracking keywords) . This is information is crucial because of statistical confidence: a very little sample may not be significant. Addittionally, Ive been googling and reading a lot for 3 days and I can't figure out how i can use different 'level accesses'. I've readhttp:// dev.twitter.com/pages/streaming_api_methods#statuses-filter but how can I use this different levels levels of access? Thanks in advance! Regards Alejandro. I actually think the answer to *yout* question is, If your filter criteria are sufficiently narrow, you get *all* of the public tweets with those keywords sent by users who aren't being blocked by Twitter's quality filter. At least that's what the documentation has said in the past. But *my* question is, How does one determine the total number of tweets, for some definition of total? a. All tweets created, including those that aren't public? b. All public tweets created, including those from low quality users that don't get indexed by search or sent to the filter stream? c. All tweets sent to the inlet of the filter stream and the various elevated access level stream? Remind me again - when does Snowflake go live? I haven't looked at Streaming data for a couple months. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp:// twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: What data is usually contained in the place field?
Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: What data is usually contained in the place field?
Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: What data is usually contained in the place field?
Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: What data is usually contained in the place field?
I think it's also strange that you include Street address, Country but NO City and NO State! I think State and City/Town name would be very helpful On Oct 12, 6:55 pm, D. Smith emai...@sharedlog.com wrote: Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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
Re: [twitter-dev] Re: What data is usually contained in the place field?
We only return enough to display the basic information about a place. This is because some places have a lot of information in their place object, for example some cities and areas have a polygon with over 600 points. For more detailed information make a request to the URL given in the place object: http://api.twitter.com/1/geo/id/247f43d441defc03.json Things like city and state come from the Geo hierarchy indicated by the contained_within data returned from the place URL. @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Oct 12, 2010 at 4:31 PM, D. Smith emai...@sharedlog.com wrote: I think it's also strange that you include Street address, Country but NO City and NO State! I think State and City/Town name would be very helpful On Oct 12, 6:55 pm, D. Smith emai...@sharedlog.com wrote: Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer
[twitter-dev] Re: What data is usually contained in the place field?
I understand, but without City and State it's really not very useful. Sure I can lookup more using your place id, but with streaming api, things are downloaded blindingly fast, really don't want to make a new call for every status that has place ID. I in interested in using streaming api to do stats on number of mentions of certain words/people per city/state/day Right not I can only record place id, then once a day download city/ state data per each place id, so it would not really be real time On Oct 12, 7:52 pm, Matt Harris thematthar...@twitter.com wrote: We only return enough to display the basic information about a place. This is because some places have a lot of information in their place object, for example some cities and areas have a polygon with over 600 points. For more detailed information make a request to the URL given in the place object: http://api.twitter.com/1/geo/id/247f43d441defc03.json Things like city and state come from the Geo hierarchy indicated by the contained_within data returned from the place URL. @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 4:31 PM, D. Smith emai...@sharedlog.com wrote: I think it's also strange that you include Street address, Country but NO City and NO State! I think State and City/Town name would be very helpful On Oct 12, 6:55 pm, D. Smith emai...@sharedlog.com wrote: Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [
[twitter-dev] Question about source field
I noticed that the value of source field looks somewhat strange: source:a href=\http://www.echofon.com/\; rel=\nofollow\Echofon \/a, Why in the world would you have an html string as a value and on top of than why do you include the rel=nofollow tag? This just looks wrong, not structured. The right way whould have been to represent the source as an object with fileds: name, url, like this: source:{name : Echofon, url:http://www.echofon.com}, Usually you try to pre-parse everying for us, but in the case or source, we have to do extra parsing to extract values of title and url Will you fix this soon? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Woe is me, I can't seek what I find (or Search is failing me)
Hi, I too have looked at the streaming API for our use but the restrictions of single keywords has stopped us from implementing it. We are also having issues in the other thread related to this issue and almost 0 data for some of our geolocated search terms. Nick On Oct 12, 8:04 am, @IDisposable idisposa...@gmail.com wrote: From that thread ticket 1930 was filed on our issue tracker which we will update when a fix is deployed: http://code.google.com/p/twitter-api/issues/detail?id=1930 Excellent, I hope it gets fixed while there is still time to back-fill some of this data,,,otherwise we're going to have a silly-looking hole in the next State of Twitter in St. Louis report :) I understand your reasons for the location tracking using the Search API but wondered if you knew that the mentions search you are doing can be carried out on using the Streaming API filter method. That should cut down on the number or REST queries you need to make. More information on that method is here: http://dev.twitter.com/pages/streaming_api_methods#statuses-filter Yes, I really need to switch to streaming for that... I just haven't had he bandwidth as of yet... we are using a Search (nee Summize) based infrastructure from a long while back and me being the one guy in the room, I've not had a chance to really skim through and update our stuff for streaming. Out of curiosity what is the third column of your figures represent? It may be possible to track that one using the Streaming API as well. We do about 68 searches (mostly hashtags, a couple keyword or user searches--for legacy/coverage guarantees) and 64 timeline follows (mostly lists, one hometimel). Each of these sources applies a label based on the source of incoming data (which search/timeline) for our various categories (seehttp://stltweets.comand click the category menus e.g. Blues). For ALL of these searches, we also apply a top-level category (e.g. Sports) and finally ALL of the tweets get a label of Everything for ease of seperating various sub-sites. Thus, the Everything column in my numbers is the overall volume of tweets from all sources. SO, am I to assume that the geocode search bug, once fixed, will go back to returning the tweets from people whose _profile location_ reads something near St. Louis like before? Thanks, 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
Re: [twitter-dev] Question about TT's
Hello there. Obviously this is not the proper place, but since it's being a lot of talking in Brazil, have you heard anything about Twitter monitoring the TT's for political reasons? In Brazil some are saying the Hashtag #dilma13 was somehow pulled off the TT's (it's a brazilian Candidate to Presidential Pools). Also as a Journalist I wonder if that is somehow possible (since Twitter is able to accept a promoted TT) but as far as I know, not Stop a Trending (if really trending). Anyway, thank you all again Emerson 2010/10/12 D. Smith emai...@sharedlog.com I noticed that the value of source field looks somewhat strange: source:a href=\http://www.echofon.com/\; rel=\nofollow\Echofon \/a, Why in the world would you have an html string as a value and on top of than why do you include the rel=nofollow tag? This just looks wrong, not structured. The right way whould have been to represent the source as an object with fileds: name, url, like this: source:{name : Echofon, url:http://www.echofon.com}, Usually you try to pre-parse everying for us, but in the case or source, we have to do extra parsing to extract values of title and url Will you fix this soon? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- *Emerson Damasceno http://www.twitter.com/emersonanomia http://www.blog.opovo.com.br/bloganomia/* *http://www.opovo.com.br/colunas/tecnologia/listagemmidiaesocial/* *Tel: +55 85-8697 3224/ 85-3458 1977/ 11- 7356 9693* *Nextel: 55*86*28199* *Damasceno Associados* *Shopping Aldeota 1620/1621* -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk