[twitter-dev] Retweet chain
Let us assume: C follows B. B follows A A sends a tweet and B retweets it. C gets the retweet on his timeline and retweets it again. I'm connected to UserStream of A and I receive both the retweets. But not sure how to find the retweet chain How can we know that C retweeted it via B? Is it exposed in any API methods? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter + Gnip Partnership
can some one please tell me what happens to users who are at 'restricted track' or 'partner track' levels for streaming API access? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Previous Cursor issue in follower/Following list
Hi all, I am trying to achieve paging in my following and followers list. My page consist of 20 user each. I am totally having around 400 Following. So In my application , I want to achieve 20 pages of following list.I want to navigate Next and Previous pages. So I am using the below Twitter API: http://api.twitter.com/statuses/friends.json?cursor=-1count=20 In the Next page , I would be using the Next cursor value of the above Req response. With this API , I am able to navigate to all the next pages using next cursor values given. But when I navigate to previous pages , I try to use previous cursor values which always given Blank pages. I mean whenever I use prev cursor values , the response always blank(no users present). Please help me out to resolve this issue. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Per user retweet count
Hi, Is there any way to get the Retweet count per user? i.e., number of tweets of a particular user that are Retweeted? Search api with 'RT @username' gives the retweets but again its a only a few days of data. 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] New twitter.com uses an OAuth app called web?
Just read from this blog post (http://engineering.twitter.com/2010/09/ tech-behind-new-twittercom.html), that new Twitter.com is a client to Twitter API. I can't help but wonder if, 1) Twitter.com uses an OAuth app called web? 2) Does the site generate OAuth access tokens for every user from their raw credentials? I assume you guys don't have exclusive access to basic auth :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: List of all users who tweeted in the last 30 seconds
Search API can return only 1500 recent tweets. Real pain is you have to poll the API 15 times (rpp=100) Look into the Streaming API. There are lower access levels which can give you certain proportion of tweets. http://dev.twitter.com/pages/streaming_api_methods#statuses-sample But for getting all tweets, you will require Firehose access level. Remember, you will have keep listening to the Streaming server for 30 seconds, inorder to receive tweets posted during that period. On Sep 9, 10:18 pm, Jim Goodling jim.goodl...@sas.com wrote: I'm trying to get a list of all the users who tweeted in the last 30 seconds. Currently I'm using the seach api with since= today and result_type=recent subsetting on result on my server and then calling the users api. Is there any way I can specify a datetime on the since=? Is there a better way to get a list of all the users who tweeted in the last 30 seconds? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Home timeline without authentication
Ok. I didn't know this 10 minutes limitation. Thanks for confirming. Will tell my client, this is not feasible. On Sep 4, 6:42 pm, John Kalucki j...@twitter.com wrote: This won't contain protected accounts, and would only contain tweets from the last ten minutes or so. -John Kaluckihttp://twitter.com/jkalucki Twitter, Inc. On Fri, Sep 3, 2010 at 10:12 PM, Karthik fermis...@gmail.com wrote: - Create a fake user that has follows the same accounts, No, I'd like to construct home timeline of any random user. How about this approach? Find friend ids of the user Listen to Streaming API's filter method following user's friends, specify a negative count to receive historic stream (retweets included) Process display the tweets On Sep 4, 1:03 am, Bernd Stramm bernd.str...@gmail.com wrote: On Fri, 3 Sep 2010 12:12:19 -0700 (PDT) Karthik fermis...@gmail.com wrote: Is it feasible to construct home timeline of any user without using the API statuses/home_timeline, which requires user's authentication? We could iterate through user's friends graph, gather each friend's statuses and sort them by time. But it's an overkill for an user with more following. Any other options? - Create a fake user that has follows the same accounts, Or, - Pay Twitter for the data, I'm sure they will be happy to accommodate you ;) -- Bernd Stramm bernd.str...@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?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?hl=en
[twitter-dev] Radomly , 401 in my twitter api request when i use x-auth
Dear all, I am getting radomly 401 (invalid signature ) error from server . I ma using the nonce as timestamp+random() ; (ramdom number) What could be the reason.. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Radomly , 401 in my twitter api request when i use x-auth
Dear all, I am getting radomly 401 (invalid signature ) error from server . I ma using the nonce as timestamp+random() ; (ramdom number) What could be the reason..? Most of the time my requests are served fine by the twitter server. but then and there am getting 401 ...please help me out -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Error 401 only in Target (working fine in simulator)
Dear Taylor, I am getting one new issue. In my application , randomly some api's returns 401 - invalid signature error... I am not sure whether twitter server only returns 401 randomly or some problem in my request..? Most of the time my requests are working fine... Please help me out Regards, Karthik On Sep 2, 2:07 am, Taylor Singletary taylorsinglet...@twitter.com wrote: Our generous time range is actually +- ~ 15 minutes -- I just tell everyone within 5 minutes to keep things proper and sane. :) Understand that our correction here is a bit sudden; we may make a compromise tweak that will restrict future timestamps, but now with a more relaxed resolution than 15 minutes -- with the intention to rectify this more gradually in the future. In the meantime, we strongly suggest clients perform a timestamp sanity check. I'll work on formalizing and abstracting the few options developers have to make this smooth. Some day we'll finally release our improved OAuth 1.0A implementation that will also be very specific with you about the drift detected in your timestamp. Thanks, Taylor On Wed, Sep 1, 2010 at 1:55 PM, M. Edward (Ed) Borasky zn...@borasky-research.net wrote: That's a surprise - I'd expect Apple to be on top of stuff like that! Even so, 18 seconds is well within Twitter's outrageously generous tolerance of five minutes. Then again, I used to work at Goddard Space Flight Center - I was spoiled by having clocks accurate to a microsecond available as wall plugs. ;-) -- M. Edward (Ed) Borasky http://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting Tom van der Woerdt i...@tvdw.eu: Not iOS (iPhone, iPod Touch, etc) - my iPod Touch seems to be 18 seconds out of sync. Tom On 9/1/10 10:39 PM, M. Edward (Ed) Borasky wrote: I'd think mobiles - at least the common ones (iPhone, Android, Symbian, Blackberry, Palm, etc.) would be synchronized to world time automatically. At least my old LG ENV and current Verizon Droid Incredible tell me what time it is. ;-) -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?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?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?hl=en
[twitter-dev] Re: Error 401 only in Target (working fine in simulator)
Dear Taylor, I am getting one new issue. In my application , randomly some api's returns 401 - invalid signature error... I am not sure whether twitter server only returns 401 randomly or some problem in my request..? Most of the time my requests are working fine... Please help me out Regards, On Sep 1, 9:34 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Karthik, Make sure that the time on your device is in sync with Twitter's clocks. We return our current time in the Date HTTP header of every response. One easy way to fixate an application's clock with our servers is to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml-- it's a non-rate-limited request and will allow you to adjust your clock in relation to ours. The oauth_timestamp in your example here is for Dec 31st, 2009. Taylor On Wed, Sep 1, 2010 at 9:10 AM, Karthik karthikduraisw...@gmail.com wrote: Hi , I am developing a Twitter application in MTK (Media tek ) platform. I am using Oauth and and My application has the X-auth permission I am first using POST with required params and the am using below URL https://api.twitter.com/oauth/access_token to get the access token in exchange with the username, password. I am able to get the access token and My application is working fine in the simulator (I ma using the proxy server in simulator) But in the Mobile (I amm not using proxy) , when I post https://api.twitter.com/oauth/access_token I am always getting 401 - Unauthorized (Failed to validate oauth signature and token) The below is my sample input string to get the signature (hmac-sha1) POSThttp%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com Please someone help me to resolve this issue.. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?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?hl=en
[twitter-dev] Home timeline without authentication
Is it feasible to construct home timeline of any user without using the API statuses/home_timeline, which requires user's authentication? We could iterate through user's friends graph, gather each friend's statuses and sort them by time. But it's an overkill for an user with more following. Any other options? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Home timeline without authentication
- Create a fake user that has follows the same accounts, No, I'd like to construct home timeline of any random user. How about this approach? Find friend ids of the user Listen to Streaming API's filter method following user's friends, specify a negative count to receive historic stream (retweets included) Process display the tweets On Sep 4, 1:03 am, Bernd Stramm bernd.str...@gmail.com wrote: On Fri, 3 Sep 2010 12:12:19 -0700 (PDT) Karthik fermis...@gmail.com wrote: Is it feasible to construct home timeline of any user without using the API statuses/home_timeline, which requires user's authentication? We could iterate through user's friends graph, gather each friend's statuses and sort them by time. But it's an overkill for an user with more following. Any other options? - Create a fake user that has follows the same accounts, Or, - Pay Twitter for the data, I'm sure they will be happy to accommodate you ;) -- Bernd Stramm bernd.str...@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?hl=en
[twitter-dev] Re: Error 401 only in Target (working fine in simulator)
Thanks you all ...Actually the problem with the API which I am using to get the target mobile time. The API always returns local time when I change it to GMT The things are fine in target. Thanks once again for this timely help on Time... On Sep 2, 4:45 am, Andrew W. Donoho andrew.don...@gmail.com wrote: On Sep 1, 2010, at 15:55 , M. Edward (Ed) Borasky wrote: That's a surprise - I'd expect Apple to be on top of stuff like that! Even so, 18 seconds is well within Twitter's outrageously generous tolerance of five minutes. There are different sync. points for different devices. For example, iPhones sync with ATT. iPads sync with Apple. There appears to be a ≈30 second difference between them. While being far from a time sync expert, I suspect leap seconds are the issue. Anon, Andrew Andrew W. Donoho Donoho Design Group, L.L.C. a...@ddg.com, +1 (512) 750-7596 We did not come to fear the future. We came here to shape it. -- President Barack Obama, Sept. 2009 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Error 401 only in Target (working fine in simulator)
Hi , I am developing a Twitter application in MTK (Media tek ) platform. I am using Oauth and and My application has the X-auth permission I am first using POST with required params and the am using below URL https://api.twitter.com/oauth/access_token to get the access token in exchange with the username, password. I am able to get the access token and My application is working fine in the simulator (I ma using the proxy server in simulator) But in the Mobile (I amm not using proxy) , when I post https://api.twitter.com/oauth/access_token I am always getting 401 - Unauthorized (Failed to validate oauth signature and token) The below is my sample input string to get the signature (hmac-sha1) POSThttp%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com Please someone help me to resolve this issue.. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: xAuth not Working (Help)
Dear Taylor, I am developing an twitter app in MTK (Mediatek platform and my app has the x-auth privilages) My Issue: I am getting errocode 401 (Failed to validate oauth signature and token), only in the mobile (MTK - media tek - where I am not using proxy). I ma getting the x-auth access token and all other api's are working fine in the simualtor (where I am using proxy) So when I look in to the TCP packets : In simulator: POST https:api.twitter.com/oauth/access_token HTTP/1.1 (Absolute URL) Host: api.twitter.com authorization: OAuth oauth_consumer_key=abcdefghijklm, oauth_nonce=1262304257, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1262304256, oauth_version=1.0, oauth_signature=4vvYMzqy1BBixGRh4bpeA5xa%2BPo%3D but in target I ma getting as : POST /oauth/access_token HTTP/1.1 (Relative URL) Other than this , no other changes I have found between simulator and target. My Signature simple string : POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%abcdefghijklm%26oauth_nonce %3D1262304257%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304256%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com I am using the platform provided sha1-hmac algorithm which is same in target and simulator. Please help me find out the issue which is only occuring in my target. Regards, Karthik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: xAuth not Working (Help)
Dear Tom, its is in sorted order only. And moreover the same order working fine in Simualtor On Sep 1, 9:37 pm, Tom van der Woerdt i...@tvdw.eu wrote: You should sort the fields in the Base String. Tom On 9/1/10 6:35 PM, Karthik wrote: Dear Taylor, I am developing an twitter app in MTK (Mediatek platform and my app has the x-auth privilages) My Issue: I am getting errocode 401 (Failed to validate oauth signature and token), only in the mobile (MTK - media tek - where I am not using proxy). I ma getting the x-auth access token and all other api's are working fine in the simualtor (where I am using proxy) So when I look in to the TCP packets : In simulator: POST https:api.twitter.com/oauth/access_token HTTP/1.1 (Absolute URL) Host: api.twitter.com authorization: OAuth oauth_consumer_key=abcdefghijklm, oauth_nonce=1262304257, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1262304256, oauth_version=1.0, oauth_signature=4vvYMzqy1BBixGRh4bpeA5xa%2BPo%3D but in target I ma getting as : POST /oauth/access_token HTTP/1.1 (Relative URL) Other than this , no other changes I have found between simulator and target. My Signature simple string : POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%abcdefghijklm%26oauth_nonce %3D1262304257%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304256%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com I am using the platform provided sha1-hmac algorithm which is same in target and simulator. Please help me find out the issue which is only occuring in my target. Regards, Karthik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Error 401 only in Target (working fine in simulator)
Dear Taylor, I still done get how to sync my mobile clock to the twitter server clock. Can you explain little more..? On Sep 1, 9:34 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Karthik, Make sure that the time on your device is in sync with Twitter's clocks. We return our current time in the Date HTTP header of every response. One easy way to fixate an application's clock with our servers is to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml-- it's a non-rate-limited request and will allow you to adjust your clock in relation to ours. The oauth_timestamp in your example here is for Dec 31st, 2009. Taylor On Wed, Sep 1, 2010 at 9:10 AM, Karthik karthikduraisw...@gmail.com wrote: Hi , I am developing a Twitter application in MTK (Media tek ) platform. I am using Oauth and and My application has the X-auth permission I am first using POST with required params and the am using below URL https://api.twitter.com/oauth/access_token to get the access token in exchange with the username, password. I am able to get the access token and My application is working fine in the simulator (I ma using the proxy server in simulator) But in the Mobile (I amm not using proxy) , when I post https://api.twitter.com/oauth/access_token I am always getting 401 - Unauthorized (Failed to validate oauth signature and token) The below is my sample input string to get the signature (hmac-sha1) POSThttp%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com Please someone help me to resolve this issue.. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?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?hl=en
[twitter-dev] Re: Error 401 only in Target (working fine in simulator)
You mean I just issue a http request http://api.twitter.com/1/help/test.xml to the server before I start my login..? On Sep 1, 9:34 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Karthik, Make sure that the time on your device is in sync with Twitter's clocks. We return our current time in the Date HTTP header of every response. One easy way to fixate an application's clock with our servers is to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml-- it's a non-rate-limited request and will allow you to adjust your clock in relation to ours. The oauth_timestamp in your example here is for Dec 31st, 2009. Taylor On Wed, Sep 1, 2010 at 9:10 AM, Karthik karthikduraisw...@gmail.com wrote: Hi , I am developing a Twitter application in MTK (Media tek ) platform. I am using Oauth and and My application has the X-auth permission I am first using POST with required params and the am using below URL https://api.twitter.com/oauth/access_token to get the access token in exchange with the username, password. I am able to get the access token and My application is working fine in the simulator (I ma using the proxy server in simulator) But in the Mobile (I amm not using proxy) , when I post https://api.twitter.com/oauth/access_token I am always getting 401 - Unauthorized (Failed to validate oauth signature and token) The below is my sample input string to get the signature (hmac-sha1) POSThttp%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs %2540google.com Please someone help me to resolve this issue.. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?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?hl=en
[twitter-dev] Re: Streaming api returning 401 error on phrase tracking(logical AND)
for example: trackwords: {starwars,obama} authorization with username,password: working using oauth :working trackwords: {star wars,obama} authorization with user name,password: working using oauth i get 401 error Thanks, Karthik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Streaming api returning 401 error on phrase tracking(logical AND)
I am getting strange results when using streaming api with and without Oauth. Without oauth i am able to track phrases whereas with oauth i get a 401 error, able to track normal words with oauth.Is there any restriction on phrase tracking? Could not find any pointers in the docs.btw i use twitter4j. Thanks, Karthik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Twitter Streaming API rate limiting frequency-track
Thanks John, but my application needs to add/remove keywords on a regular basis, and i am planning an algorithm which does something like calculate current frequency for main account which is near approximation for the current time (calculating based on last 10 mins,1 hr,1 day frequencies) and on adding a new keyword it increases. I cant find a way to determine when to stop adding new keyword without knowing an upper limit. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Using twitter @nywhere with rest api
This is tracked on http://code.google.com/p/twitter-api/issues/detail?id=1694#c0 On Aug 2, 10:31 pm, worshamweb worsham...@gmail.com wrote: This is probably an easy one, but I haven't been able to figure it out, and I can't find anything on the web that points me in the right direction. Is there a way to use �...@nywhere and the rest api of without forcing the user to log in twice? I like the features of @nywhere, but also need ability to send tweets on the users behalf.
[twitter-dev] Re: OAuth and a readonly app
Yes. But, you don't need a separate Twitter account. Just create an OAuth app in one of your existing twitter accounts, note down the OAuth tokens, get your own account's access tokens from My Access Token link. You can use these tokens to enjoy the 350 per hour limit. On Aug 10, 7:39 am, russ.au russell.say...@gmail.com wrote: Hi all, Let's say I'm writing a read only app - you come to my website enter someones twitter name, and I give you some statistics about them. I can get all the stats I need by making anon calls to the REST api from my webserver. The API docs say Anonymous calls are based on the IP of the host and are permitted 150 requests per hour, where as OAuth calls are permitted 350 requests per hour. If my app gets popular enough I'd like to make as many calls as I can. What is the protocol here? Should I create a twitter account just for my app, take this account through the OAuth process, and use this account's access token for all my requests? Thanks, Russ
[twitter-dev] Using stored OAuth tokens in Anywhere
Let's assume, we already have tokens of users, who logged into site via normal OAuth process. Now, if we integrate Anywhere in our site frontend, users are required to do a separate OAuth login for following people via Anywhere hover cards. Is there a way to suppress the second OAuth login, as we already have their tokens with us?
[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)
Raffi, A bit advanced request. Would it be possible to attach list of significant words and phrases present in the tweet. We could then use this info to categorize tweets and even build a trends list on the tweets aggregated by our apps. In one of our apps, we use Yahoo Terms Extraction service to extract phrases from tweets. Thanks, Karthik
[twitter-dev] Re: Logical AND supported in streaming API filter endpoint
Great!! Many thanks to the Streaming API Team. You've done this, just when I needed it. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Upcoming changes to the way status IDs are sequenced
My applications will have an impact in the SQL queries. Right now, to display tweets in reverse chronological order and with pagination, my query has something like this: SELECT * FROM tweets INNER JOIN mytable on tweets.id = mytable.tweet_id GROUP BY tweets.id ORDER BY tweets.id DESC LIMIT 100, 20 Having the group and order clause on the same field (tweets.id) improves the performance. But after this change, I'm forced to use the timestamp in the ORDER clause. To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[twitter-dev] Re: What tools do you use?
Arc90 - PHP Library for REST and Search API - http://lab.arc90.com/2008/06/03/php-twitter-api-client/ PhireHose - PHP library for Streaming API - http://code.google.com/p/phirehose CodeIgniter as PHP framework and Netbeans PHP IDE
[twitter-dev] Re: strange search api behavior
I have this problem as well. I use since_id and I query for newer results every minute. For past 10 days, I'm seeing my app was not indexing many tweets. I compared the results with search.twitter.com and I can clearly see that I'm missing out a lot of tweets, if I keep including the since_id parameter. I guess, there are some issues in the search system. On Nov 19, 3:30 am, Tadeu Andrade tadeu.andr...@gmail.com wrote: hi folks, since last week, I noticed thatsearchis behaving a little strange. For example, if I do a query on a keyword using since_id, sometimes I get no results. If I remove since_id parameters, the query succeed and if I repeat the initial query (with since_id), then I get results. Same thing occurs if I query from the web page and later from API (via json). Anyone else has noticed this weird behavior? cheers Tadeu
[twitter-dev] Re: Delay on tweets from the API
Which API method do you use?
[twitter-dev] Re: At Symbol (@) in Twitter Search
This is strange. Did you also notice that for Non-English tweets returned from http://twitter.com/#search?q=%40, the user names are decorated with links to their profile pages? Well, Twitter doesn't index symbols like @ # $ ^. If you'd like to gather the tweets containing references to twitter names, you should use the Streaming API to do so, because Search API doesn't treat @ as a keyword. On Oct 8, 3:18 am, Nick t2then...@gmail.com wrote: The at symbol (@) does not seem to work when searching tweets. When the @ symbol is alone (surrounded by nothing or whitespace) in a search, the search returns 0 English results. Sometimes languages that use non-ascii characters seem to be found. However, when the @ is followed by at least 1 alphanumeric character, the query seems to work fine. I found this by searching for @ the diner downtown, and I was getting back 0 results, but at least 1 results should have been returned, because that's what I tweeted. This probably affects searches for mentions too, because you can't just search for @. I've used the web site and the search API:http://twitter.com/#search?q=%40http://search.twitter.com/search.atom?q=%40 Has anyone gotten a query to work with @ standing alone? This there a different way to perform the same search?
[twitter-dev] Clarification on location in search API
As per the documentation, when we limit the search results to a location by using the geocode parameter, the location is taken from user's profile. But, is it true that if someone tweets from GPS enabled applications, then the geo-coordinates of the tweet take precedent over the user’s profile location, as far as the search by location feature is concerned?
[twitter-dev] Re: statuses/friends page count?
yes, each page request counts against the API limit On Fri, Jul 24, 2009 at 10:25 PM, Joseph northwest...@gmail.com wrote: Just as aside, does anyone know if each call to a new page counts against the API limit? On Jul 24, 8:08 am, st...@implu.com st...@implu.com wrote: I'm experiencing the same issue with implu. With 14,408 follows, I should go up to page 145. However, the last page of data is 101 and 102 onwards returns nothing. http://twitter.com/statuses/friends/implu.xml?page=102 The following call does seem to return all the friends/ids however. http://twitter.com/friends/ids/implu.xml Any thoughts? On Jul 10, 10:47 am, Karthik Murugan fermis...@gmail.com wrote: It's also possible, that some intermediate pages return empty result set. Try this, http://twitter.com/statuses/followers.json?id=billcrosbypage=124 This profile has 44K followers and some of the intermediate pages return empty result sets. Not sure why, but my obvious guess is that all the followers in this page are suspended. So, empty result set doesn't mean that you are done with the traversal. I've modified my scripts to crawl N number of pages, where N is (number of followers/100). Total number of followers can be retrieved by users/show - Karthik On Jul 6, 11:31 pm, Doug Williams d...@twitter.com wrote: Duane,Yes, you will get an empty result set if you step off the end: doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=43; | grep /user | wc -l 100 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=44; | grep /user | wc -l 17 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=45; | grep /user | wc -l 0 Thanks, Doug -- Do you follow me?http://twitter.com/dougw On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands duane.roela...@gmail.comwrote: Do you ever get an empty response set? I was experimenting with the pagination and I found that if you request page 20 (for example) for someone who only has one page of friends, you simply get the page 1 response set. On Jul 6, 1:09 pm, Doug Williams d...@twitter.com wrote: You should either page throughstatuses/friendsuntil you get an empty response set or use statuses/show to get the number of friends expected and intelligently page to the end of the list. Thanks, Doug
[twitter-dev] Re: Matt Sanford, signing off.
Good Luck Matt!! On Jul 18, 2:18 am, Matt Sanford m...@twitter.com wrote: Hi everybody*, Starting next week I'm not going to be responding to mails on the dev list or working on Google Code issues as part of my daily work. I have been working on the Search and API/Platform teams here at Twitter since the acquisition of Summize a year ago and the time has come for a change. I'm leaving both teams to take on the role of technical lead for the new Twitter internationalization team. Anybody who's gotten me talking about language detection or language-specifics (especially in person) knows this is something I have a personal interest in. The other team member are going to continue to keep an eye on the dev list and the Google Code issues. As always you can email a...@twitter.com directly if you need something. I'll continue working on the Google Code issues assigned to me or in some cases someone will take them over next week. I mostly felt like I should send you all a good bye since you're considered an extension of the API/Platform team. This change should be fully backward compatible so I didn't see the need for 7-days notice. Good night, and good luck; – Matt Sanford / @mzsanford Twitter Dev * = Who just said Hi, Dr. Nick. out loud? Your cube neighbor thinks you're crazy.
[twitter-dev] Re: statuses/friends page count?
It's also possible, that some intermediate pages return empty result set. Try this, http://twitter.com/statuses/followers.json?id=billcrosbypage=124 This profile has 44K followers and some of the intermediate pages return empty result sets. Not sure why, but my obvious guess is that all the followers in this page are suspended. So, empty result set doesn't mean that you are done with the traversal. I've modified my scripts to crawl N number of pages, where N is (number of followers/100). Total number of followers can be retrieved by users/show - Karthik On Jul 6, 11:31 pm, Doug Williams d...@twitter.com wrote: Duane,Yes, you will get an empty result set if you step off the end: doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=43; | grep /user | wc -l 100 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=44; | grep /user | wc -l 17 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD http://twitter.com/statuses/followers.xml?count=100page=45; | grep /user | wc -l 0 Thanks, Doug -- Do you follow me?http://twitter.com/dougw On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands duane.roela...@gmail.comwrote: Do you ever get an empty response set? I was experimenting with the pagination and I found that if you request page 20 (for example) for someone who only has one page of friends, you simply get the page 1 response set. On Jul 6, 1:09 pm, Doug Williams d...@twitter.com wrote: You should either page through statuses/friends until you get an empty response set or use statuses/show to get the number of friends expected and intelligently page to the end of the list. Thanks, Doug
[twitter-dev] Problem with Social Graph API
Hi, My profile is crictwits. When I invoke the friends/ids social graph API for my profile, I'm getting wrong results. The total count seems to be right, but the list isn't. For example, I'm following user shinils (id is 775881), but this user's id is not present in the list returned by http://twitter.com/friends/ids.xml?id=crictwits You can verify that I'm following this user by this call: http://twitter.com/friendships/exists.xml?user_a=crictwitsuser_b=shinils Many other friends are also missing in the list returned by the social graph API. Any clues? Regards, Karthik
[twitter-dev] Re: Does this exist?
I suggest http://www.whofollowswhom.com to find common friends and followers of upto 5 twitter users On Feb 27, 4:43 am, TjL luo...@gmail.com wrote: My favorite part of TwitReports is the Follower Crossover information: Assume a user Joe and a user Ed. Ed follows Joe. Joe might want to know 1) Does anyone I follow also Ed? 2) Who else does Ed follow that I also follow? 3) Who is following both of us? is there a web site out there which shows this information already if I put in two Twitter names? Don't want to reinvent the wheel :-) TjL
[twitter-dev] Re: Freelance Twitter API Dev directory?
Me too, twitter: twitter.com/yemkay elance profile: yemkay.elance.com email: fermis...@gmail.com Thanks Alex. On Feb 23, 11:33 pm, Alex Payne a...@twitter.com wrote: There isn't one that I'm aware of, but if people would like to post their contact info in this thread (Twitter username, URL, email, whatever) I'm happy to collect them on the API Wiki. On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote: Hi All, I have been getting a few requests here and there for twitter API development work. I cannot take on any such projects at the moment, but I always feel bad for leaving them in the lurch. Is there a list or directory anywhere of Twitter API developers that work freelance that I can send to them when this happens? I'm happy to forward on such requests. -Chad -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Re: Include $ as a searchable character
Hi Matt, We are building an App which heavily depends on this new feature. Can you please let me know a tentative date for its release? Thank you. - Karthik On Feb 23, 7:52 pm, Matt Sanford m...@twitter.com wrote: Hi there, I added this info to the ticket. Thanks; — Matt On Feb 23, 2009, at 06:21 AM, Karthik wrote: Can you accept the request for the colon character too? I may use the prefix $IN for Indian stocks and would like to retrieve only the updates containing the term $IN:REL for example? Does that make sense? On Feb 23, 3:39 am, Matt Sanford m...@twitter.com wrote: Hi all, Requests for this have come up before so I opened a ticket for the person working on our tokenizer to add this. I'm not sure when he'll get to it but it's on the road map now. One bit of forewarning: if you try to query for every ticker symbol every five minutes you're building something unscalable and you can expect to hit the rate limit. Not that I'm sure this is what people have in mind but I thought I'd put this out there ahead of time just in case. — Matt On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote: No, they show status updates from unrelated profiles too. I guess, they are indexing updates containing stock names and filtering out posts that don't have a dollar sign before the stock name On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com wrote: My SWAG is that they are just parsing their follower/friend stream themselves and highlighting tokens beginning with $. -Chad On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com wrote: I'm looking for a similar feature too. I wonder howhttp://stocktwits.com/streams/all could show statuses containing $ On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote: Yes, that's correct. Add $ as a token modifier, if you will. -Chad On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel jazzyc...@gmail.com wrote: Sorry I must have been unclear. I don't want the $ by itself, I want it to be a searchable character in conjunction with other strings, so I want to search for $AAPL or $C much like # is with hashtags. FYI, in search engine language this means is that you want words to be tokenized with and without the $ (or other) similar characters. Right now, it sounds like $AAPL is tokenized as AAPL. If I understand correctly, you'd want the search engine to also add the token $AAPL. NIck
[twitter-dev] Using max_id to navigate to pages after 15
Please confirm, if the following is allowed? 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1
[twitter-dev] Re: Include $ as a searchable character
Thanks a lot :) On Feb 23, 7:52 pm, Matt Sanford m...@twitter.com wrote: Hi there, I added this info to the ticket. Thanks; — Matt On Feb 23, 2009, at 06:21 AM, Karthik wrote: Can you accept the request for the colon character too? I may use the prefix $IN for Indian stocks and would like to retrieve only the updates containing the term $IN:REL for example? Does that make sense? On Feb 23, 3:39 am, Matt Sanford m...@twitter.com wrote: Hi all, Requests for this have come up before so I opened a ticket for the person working on our tokenizer to add this. I'm not sure when he'll get to it but it's on the road map now. One bit of forewarning: if you try to query for every ticker symbol every five minutes you're building something unscalable and you can expect to hit the rate limit. Not that I'm sure this is what people have in mind but I thought I'd put this out there ahead of time just in case. — Matt On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote: No, they show status updates from unrelated profiles too. I guess, they are indexing updates containing stock names and filtering out posts that don't have a dollar sign before the stock name On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com wrote: My SWAG is that they are just parsing their follower/friend stream themselves and highlighting tokens beginning with $. -Chad On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com wrote: I'm looking for a similar feature too. I wonder howhttp://stocktwits.com/streams/all could show statuses containing $ On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote: Yes, that's correct. Add $ as a token modifier, if you will. -Chad On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel jazzyc...@gmail.com wrote: Sorry I must have been unclear. I don't want the $ by itself, I want it to be a searchable character in conjunction with other strings, so I want to search for $AAPL or $C much like # is with hashtags. FYI, in search engine language this means is that you want words to be tokenized with and without the $ (or other) similar characters. Right now, it sounds like $AAPL is tokenized as AAPL. If I understand correctly, you'd want the search engine to also add the token $AAPL. NIck
[twitter-dev] Re: Include $ as a searchable character
No, they show status updates from unrelated profiles too. I guess, they are indexing updates containing stock names and filtering out posts that don't have a dollar sign before the stock name On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com wrote: My SWAG is that they are just parsing their follower/friend stream themselves and highlighting tokens beginning with $. -Chad On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com wrote: I'm looking for a similar feature too. I wonder how http://stocktwits.com/streams/all could show statuses containing $ On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote: Yes, that's correct. Add $ as a token modifier, if you will. -Chad On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel jazzyc...@gmail.com wrote: Sorry I must have been unclear. I don't want the $ by itself, I want it to be a searchable character in conjunction with other strings, so I want to search for $AAPL or $C much like # is with hashtags. FYI, in search engine language this means is that you want words to be tokenized with and without the $ (or other) similar characters. Right now, it sounds like $AAPL is tokenized as AAPL. If I understand correctly, you'd want the search engine to also add the token $AAPL. NIck
[twitter-dev] Re: Include $ as a searchable character
I'm looking for a similar feature too. I wonder how http://stocktwits.com/streams/all could show statuses containing $ On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote: Yes, that's correct. Add $ as a token modifier, if you will. -Chad On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel jazzyc...@gmail.com wrote: Sorry I must have been unclear. I don't want the $ by itself, I want it to be a searchable character in conjunction with other strings, so I want to search for $AAPL or $C much like # is with hashtags. FYI, in search engine language this means is that you want words to be tokenized with and without the $ (or other) similar characters. Right now, it sounds like $AAPL is tokenized as AAPL. If I understand correctly, you'd want the search engine to also add the token $AAPL. NIck