[twitter-dev] Re: Basic question re Snowflake/K-sorted
Thanks John, that's the fall back tactic I was considering! Thanks for your help Joel -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: #newtwitter direct message UI
Good points. The order is not random - it's the same each time - just baffling and useless. Perhaps we are meant to delete read messages? A useful 3rd party app might archive and delete them, leaving only new messages on Twitter and helping to resolve the rogue app reading dms issue. On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote: The #newtwitter direct message UI sucks. - There's no indication on the main UI that you have an unread message. If you miss the email notification you will never notice the message. - On the DM page, there's no indication of which conversations have unread messages, or even the most recent messages. The conversations are presented in random order. - When a conversation is displayed, again there is no indication of which messages are unread or which is the most recent. Again they are displayed in random order. So. Are there plans to improve it? Has anyone written their own improved version? Anyone want to collaborate on writing one? --- Jef -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Long representation of Snowflake ids
Oh well, but nevertheless I will need a conversion on the php side because I store it in long format in a java search server (Solr) and it returns in scientific notation as well. Maybe I find a way to return a id_str sytle return type of Solr. Thank you, On Fri, Nov 5, 2010 at 2:50 AM, Matt Harris mhar...@twitter.com wrote: We do this for you by including a string representation of integer IDs in the responses. For example id and id_str. Best, @themattharris On Nov 4, 2010, at 16:58, Furkan Kuru furkank...@gmail.com wrote: I try to adapt my php code to convert snowflake ids to Long strings. I use $id = sprintf('%.0f', $tweet-{'id'}); the $id seems to be not correct because i can not reach the tweet with that $id. Is there any simple way to convert snowflake id to Long string correctly? On Thu, Nov 4, 2010 at 10:51 PM, John Kalucki j...@twitter.com j...@twitter.com wrote: -- Twitter developer documentation and resources: http://dev.twitter.com/dochttp://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk http://groups.google.com/group/twitter-development-talk -- Furkan Kuru -- Twitter developer documentation and resources: http://dev.twitter.com/dochttp://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk 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 -- Furkan Kuru -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: #newtwitter direct message UI
Oh great. I just got my first email spam purporting to be a Twitter DM notification. On Nov 5, 9:19 am, Ken D. k...@cimas.ch wrote: Good points. The order is not random - it's the same each time - just baffling and useless. Perhaps we are meant to delete read messages? A useful 3rd party app might archive and delete them, leaving only new messages on Twitter and helping to resolve the rogue app reading dms issue. On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote: The #newtwitter direct message UI sucks. - There's no indication on the main UI that you have an unread message. If you miss the email notification you will never notice the message. - On the DM page, there's no indication of which conversations have unread messages, or even the most recent messages. The conversations are presented in random order. - When a conversation is displayed, again there is no indication of which messages are unread or which is the most recent. Again they are displayed in random order. So. Are there plans to improve it? Has anyone written their own improved version? Anyone want to collaborate on writing one? --- Jef -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Updating a profile image
Hi, I'm using the PHP Twitter oAuth library (https://github.com/abraham/ twitteroauth) to send a tweet and update a user's profile image. The tweet sends OK, but when I echo out the result of the call, I get the Something is technically wrong. page and a 500 error code in the header. Here's an abridged version of my code: require_once('twitteroauth/twitteroauth.php'); $pic = /path/to/foo.jpg; $connection = new TwitterOAuth ($consumer_key ,$consumer_secret , $access_key , $access_secret ); $connection-format = 'xml'; $image = $connection-post('account/update_profile_image', array('image' = @$pic)); Any ideas where I might be going wrong? Cheers -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Posting to tweeter directly via JS?
Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Suggestion for new feature ..
Hi ! The Favorite option have another concept, and is visible for all! I´d like an option, for mark tweets for read later ... and if is possible, setting a relevance or tags :: Sorry for my BAD english ! :( Regards, On Thu, Nov 4, 2010 at 7:47 PM, Ken D. k...@cimas.ch wrote: Favorite On Nov 4, 10:17 pm, Ronak Kumar Samantray ronak@gmail.com wrote: It would be super-cool to have this feature. Many a times i just skip the tweet for future reference, it would cool if i could mark it somehow.. Ronak Kumar Samantray Hyderabad Mobile : +91-9347290267 040-66933916 On Fri, Nov 5, 2010 at 2:32 AM, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: borat, check out hootsuite. this is a list for dev not end-users. Best, -- Edward H. Hotchkiss http://www.edwardhotchkiss.com/ http://www.twitter.com/edwardhotchkiss/ -- On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote: Hi Guys !! I´m use Twitter for a short time. Sometimes I see important tweets attached with movies and URL links, but, don´t have time for read on this moment. It´s possible mark that tweet for read later ??? And .. other important feauture will be score for ranking tweets. Thanks, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Alexandre E. Knorst Porto Alegre - RS - Brasil -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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 Streaming Question
I am curious how people are handling streaming in general. With the new site stream functionality, are you only grabbing streams for people who are currently active on your site or are you streaming for all users in giant groups as the twitter spec proposes. I am just brainstorming ideas and wondering how people are detecting and triggering the removal of a user from a site stream if they are no longer on the site (if this is how you are doing streaming). Obviously if you are streaming all users regardless if they are active or not, to keep their tweets updated then its a non-issue, just curious what the 'best practice' is in this situation. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Twitter4j on android always return invalid/expired token
My code is the following: public static void loginTwitter(Context mycontext) { if (savedToken==null) { try { consumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); provider = new CommonsHttpOAuthProvider(https://api.twitter.com/ oauth/request_token, https://api.twitter.com/oauth/access_token;, https://api.twitter.com/oauth/authorize;); String authUrl = provider.retrieveRequestToken(consumer, CALLBACK_URL); Toast.makeText(mycontext, login to twitter!, Toast.LENGTH_LONG).show(); mycontext.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))); } catch (Exception e) { Log.e(APP, e.getMessage()); } } else { tweetShareURL(); } } private static void tweetShareURL() { twitter = new TwitterFactory().getInstance(); twitter.setOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); twitter.setOAuthAccessToken(savedToken); // create a tweet String tweet = title+ + url; try { twitter.updateStatus(tweet); } catch (TwitterException e) { Log.e(APP, 2 +e.getMessage()); } finally { utils.hint(tweet ok!); } } static AccessToken savedToken=null; @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Uri uri = intent.getData(); if (uri != null uri.toString().startsWith(CALLBACK_URL)) { String verifier = uri.getQueryParameter(oauth.signpost.OAuth.OAUTH_VERIFIER); Log.e(verifier, +verifier); try { requestToken = consumer.getToken(); requestSecret = consumer.getConsumerSecret(); consumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); consumer.setTokenWithSecret(requestToken, requestSecret); provider = new CommonsHttpOAuthProvider(https://api.twitter.com/ oauth/request_token, https://api.twitter.com/oauth/access_token;, https://api.twitter.com/oauth/authorize;); provider.setOAuth10a(true); // TODO: you might want to store token and token_secret in you app settings savedToken = new AccessToken(requestToken, requestSecret); provider.retrieveAccessToken(consumer, verifier); Log.e(APP, 2); tweetShareURL(); } catch (Exception e) { Log.e(APP, 1 +e.getMessage()); } } } what is the probleme? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Where to get Twitter API
Hi, The Tweeter API itself is not platform-specific. The Tweeter API works as a web service and it all comes down to building HTTP requests and reading responses. To develop, you do not need to download anything. However, to make developing easy, there are a number of libraries available at http://dev.twitter.com/pages/libraries (including one for Cocoa). As the libraries merely offer a standardized way of calling the API and they are made by third-parties, to learn it might be useful to start with the API itself, by reading the documentation and building your own requests to see how things actually work. Hope that helps On Nov 4, 12:59 pm, hazel_eve torrese...@gmail.com wrote: Hi! I am new to Twitter development. Can you please help me where to download Twitter API for iOS? 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] the Sharing API
Hello all, Quick question: is it possible to somehow NOT share a URL? (say if I just want to share text which my site dynamically creates) Or is it possible to somehow customize the shared URL's position whithin the text? Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
۔ the above Unicode character is the closest I could find to a dot, without being a dot... On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
cool, that seems to have worked. Just that it's a funny character to work with: #1748; - try and you'll see Anyway it probably defeats the URL parsing. On Nov 5, 5:11 pm, Ken D. k...@cimas.ch wrote: ۔ the above Unicode character is the closest I could find to a dot, without being a dot... On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
Try tweeting this: http://not-a-url۔com On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter4j on android always return invalid/expired token
Hi, Could you post Twitter4J specific question to http://groups.google.com/group/twitter4j along with the stacktrace? Thanks, Yusuke On Nov 5, 11:40 pm, lacasrac lostinwa...@gmail.com wrote: My code is the following: public static void loginTwitter(Context mycontext) { if (savedToken==null) { try { consumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); provider = new CommonsHttpOAuthProvider(https://api.twitter.com/ oauth/request_token, https://api.twitter.com/oauth/access_token;, https://api.twitter.com/oauth/authorize;); String authUrl = provider.retrieveRequestToken(consumer, CALLBACK_URL); Toast.makeText(mycontext, login to twitter!, Toast.LENGTH_LONG).show(); mycontext.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))); } catch (Exception e) { Log.e(APP, e.getMessage()); } } else { tweetShareURL(); } } private static void tweetShareURL() { twitter = new TwitterFactory().getInstance(); twitter.setOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); twitter.setOAuthAccessToken(savedToken); // create a tweet String tweet = title+ + url; try { twitter.updateStatus(tweet); } catch (TwitterException e) { Log.e(APP, 2 +e.getMessage()); } finally { utils.hint(tweet ok!); } } static AccessToken savedToken=null; @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Uri uri = intent.getData(); if (uri != null uri.toString().startsWith(CALLBACK_URL)) { String verifier = uri.getQueryParameter(oauth.signpost.OAuth.OAUTH_VERIFIER); Log.e(verifier, +verifier); try { requestToken = consumer.getToken(); requestSecret = consumer.getConsumerSecret(); consumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); consumer.setTokenWithSecret(requestToken, requestSecret); provider = new CommonsHttpOAuthProvider(https://api.twitter.com/ oauth/request_token, https://api.twitter.com/oauth/access_token;, https://api.twitter.com/oauth/authorize;); provider.setOAuth10a(true); // TODO: you might want to store token and token_secret in you app settings savedToken = new AccessToken(requestToken, requestSecret); provider.retrieveAccessToken(consumer, verifier); Log.e(APP, 2); tweetShareURL(); } catch (Exception e) { Log.e(APP, 1 +e.getMessage()); } } } what is the probleme? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Exception while using count parameter of streaming api
Thanks for your reply. Actually I have the Shadow access level, which means that I should be able to use the count parameter. Why do I still get the exception? :( Also, I didnt understand what you mean by endpoint? Please explain. Does Note that the count parameter is not allowed elsewhere, including track, sample mean that I cannot use the count parameter with the track parameter? The wording are a little confusing. Thanks, Revati On Nov 2, 11:02 am, Taylor Singletary taylorsinglet...@twitter.com wrote: The count parameter is not available for all streaming roles/endpoints. What end point are you executing and what level of streaming do you have access to? From the docs on the count parameter: *Firehose, Links, Birddog and Shadow* clients interested in capturing all statuses should maintain a current estimate of the number of statuses received per second and note the time that the last status was received. Upon a reconnect, the client can then estimate the appropriate backlog to request. *Note that the count parameter is not allowed elsewhere*, including track, sample and on the default access role. Taylor On Tue, Nov 2, 2010 at 10:14 AM, revati choudhari revati.choudh...@gmail.com wrote: I am doing a project on twitter sentiment analysis, and I was trying to pull previous statuses using the count parameter. Here is the code: inputConfig.Parameters = track= + FilterParametersTbx.Text + count=10; I was granted the shadow access level by twitter yesterday, which means I can use the count parameter. Why do I still get the following exception? System.Net.WebException was unhandled by user code Message=The remote server returned an error: (416) Requested Range Not Satisfiable. Source=System StackTrace: at System.Net.HttpWebRequest.GetResponse() at AdvantIQ.ExampleAdapters.Input.Twitter.TwitterInput.ProduceEvents() in C:\Stream Insight Example\JAhlen - username\ExampleAdapters\Input \Twitter\TwitterInput.cs:line 68 at AdvantIQ.ExampleAdapters.Input.Twitter.TwitterInput.Start() in C: \Stream Insight Example\JAhlen - username\ExampleAdapters\Input\Twitter \TwitterInput.cs:line 45 at Filter.InvokeWithFilter(Action , Func`2 , Action`1 ) at Microsoft.ComplexEventProcessing.Diagnostics.Exceptions.ExecuteWithFilter(Action body, Func`2 filter, Action`1 handler) at Microsoft.ComplexEventProcessing.Adapters.Adapter.ThreadProcStart(Object thisPtr) InnerException: If anyone has any idea about this, 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- Hide quoted text - - Show quoted text - -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter followers order
As far as I know, it has always been that way. Followers are ordered based on when you follow them with the most recent follows appearing first. -N On Nov 5, 8:04 am, Senthil Kumar mastersenthilku...@gmail.com wrote: I know that previously there was no particular order in which followers were displayed. But since newTwitter, i find recent followers in the beginning of the list. So, we see followers in the order they started following us? Any help would be appreciated, thanks, Senthil Kumar. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: followers of followers count
Hello Joel, An easier way would be to get the followers ids, then for each id get user info, which contains followers and friends count. ( to get user info best way is to do it 50 ids at a time with http://api.twitter.com/version/users/lookup.format Hope this helps, Joe On Nov 4, 2:14 pm, joelkeepup taskow...@gmail.com wrote: Is there an efficient way to do this? for now im getting folllower ids and then looping through each and getting their follower ids, then adding them together. This seems to work, but chews up lots of api call quota. thanks Joel -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: How is the newTwitter getting Replies to this Tweet?
That's really unfortunate. Any chance someone could give us more insight into this? @themattharris? @episod? @raffi? On Nov 5, 1:21 am, Abraham Williams 4bra...@gmail.com wrote: Looks like they changed it. Maybe it didn't scale. Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Thu, Nov 4, 2010 at 19:11, Orian Marx (@orian) or...@orianmarx.comwrote: Well, I was super excited to try this out, but it seems like this endpoint has changed to only return related tweets that pretty much aren't related at all. They're just recent tweets to / from the users mentioned in the original tweet, not replies to the original tweet. I have no idea why this would have been changed as whatever you saw, Abraham, is way more useful than what's being returned right now. Argh! Am I missing something? On Sep 20, 6:55 pm, Abraham Williams 4bra...@gmail.com wrote: The related_results/show/status_id method is returning replies to a status_id. Screenshot in the new UI: http://www.flickr.com/photos/4braham/5009432215/ API call: http://app.apigee.com/console/apigee-console-snapshots-128331720_... Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Mon, Sep 20, 2010 at 15:30, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Vega, #newtwitter uses the same API pattern available to all developers for this. When a status contains an in_reply_to_status_id field, then it is considered a reply to a preceding status, which is then fetched by requesting the particular status referenced by in_reply_to_status_id. This is why you'll see that the implementation in #newtwitter doesn't list *replies to* the current status, but instead the original status that sparked the reply-to. These can be chained but in many cases can never show the whole picture easily. It would great if we had a statuses/:id/replies method to return all statuses that reference the original status -- would be very useful in this context. Taylor On Mon, Sep 20, 2010 at 2:33 PM, Vega edgardo.v...@gmail.com wrote: I have heard the new Twitter only uses the api to display information if so how does it get Replies to this Tweet? Cheers, Edgardo -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Removing new_id from Streaming on or after Monday November 15, 2010
The new_id field in Streaming is redundant now that we've completed the switch to the Snowflake status id generation scheme. We'll drop the new_id field from Streaming on or after Monday November 15, 2010. If you are dependent on the new_id field, switch back to the main status id as soon as is practical. -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
[twitter-dev] Re: Random 403 Denied due to update limit errors.
Hi Guys, thanks for the information. I'm sure the authentication is successful. I use the secret_tokens to post that I had generated. This is running on my own server and no other app/program on that server is accessing Twitter. Someone else mentioned that it might also return a 403 error if the tweet is a duplicate of the last one tweeted. They suggested that I keep a check of the last successful tweet and make sure that the next one does not match that. Fair enough, but I don't think that's the case here... Here are the 3 most recent failed messages I received today: This one came in at 8 AM Random Listing (CRON) Auction ID: 101802 Name: BABY FURITURE Start Bid: 5.00 URL: http://bit.ly/aUsmpn Error Message: Request has been refused. Possible causes: denied due to update limits. The next one came in at 10 AM (exactly 2 hours later, just like it's supposed to) Random Listing (CRON) Auction ID: 101792 Name: Queen-Size Headboard Start Bid: 1.50 URL: http://bit.ly/auj0eV Error Message: Request has been refused. Possible causes: denied due to update limits. And this last one came in at 12 PM (again 2 hours later) Random Listing (CRON) Auction ID: 101839 Name: Steel Butterfly Wall Hanging Start Bid: 2.50 URL: http://bit.ly/cJhdRc Error Message: Request has been refused. Possible causes: denied due to update limits. So as you can see, all 3 are different auctions, and all 3 failed. I'm not yet sure how to get back any other message from Twitter on what the actual cause is. I only get back an error number (in this case 403) and I look that number up in a table that has the corresponding error message tied to it, as found here: http://apiwiki.twitter.com/w/page/22554652/HTTP-Response-Codes-and-Errors If anyone has any idea how to get back the additional response as DaveH recommends above, please let me know. Thanks again. Peter On Nov 2, 6:41 pm, DaveH d...@idreia.com wrote: Yaemog: You are right, he does say he is posting to his Twitter Page and that he is using oAuth. My bad... So there is something else going on. - Check that authentication was successful. The rate limit should be higher if he has successfully authenticated. - Check the return message from Twitter. When I see a 403 Twitter also sends a response that tells me why the 403 was returned. - Make sure there is no other program using the same Twitter Application name; the other application will draw down the rate limit. On Nov 2, 10:00 am, yaemog Dodigo yae...@gmail.com wrote: You mention 150/hour so I am guessing that you are not authenticating with Twitter. This means that if there are any other applications sharing the same IP address (shared hosting) then they are also using the same rate limit as your app. If you authenticate you will get the 250/hour ratelimit and it will be all yours to consume. Dave Hi Dave, When I read Peter's post, I thought of the same thing. However, since he is successfully posting, wouldn't that require to be authenticated? --d -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk