[twitter-dev] The New Twitter Developer Site
Today we're launching the new version of our Twitter Developer Site. With over 1,000,000 registered applications and 750,000 developers building on the platform today, we needed a new home to support the Twitter community better. So, we listened to everyone and gathered your ideas. The new site enhances communication channels, offers improved reference material and documentation, and will foster better interaction for everyone who visits it. As you dive in, you’ll notice a number of changes. We focused on tightly structuring the content so it is more easily discoverable and understandable. Because the site will have to change over time to serve the needs of our evolving community, we relaunched it using Drupal, which provides more flexibility, better tools than we had, and a large developer network with whom we can work more closely. The new dev.twitter.com also includes the following highlights: * Discussions - We need a place to talk with each other that gives us more functionality than we have now. So, it’s time to move away from the mailing list. In the new discussions section, you’ll find “Hot Topics” for the most popular conversations. And you can subscribe to the categories and threads that interest you most. Lastly, we created a “Dev Teatime” section to focus on a more social side of the community. We hope to get to know more of you through this feature, so please check it out. https://dev.twitter.com/discussions * Developer Blog - The new blog provides a place to learn about important API announcements, events, tips and how-tos, case studies on great apps, product insights, and more. We’ll be featuring content from a variety of different teams here at Twitter, as well as highlighting great applications built on the platform. We’ll also be featuring guest blog posts from community members. https://dev.twitter.com/blog * Better Documentation - The docs have better structure and searchability and should feel more intuitive. They are easier to update, so you’ll know you are always reading the most up to date information when you’re looking for what you need. https://dev.twitter.com/docs * Improved Apps Management - The new app manager has a streamlined design that provides more comprehensive information for your app. https://dev.twitter.com/apps * Enhanced Search - Powered by Apache Solr, searching the new dev.twitter.com also got a boost. We have a unified search engine with filters and expect results to be more relevant. Also, we can search the archive from our Groups mailing list. https://dev.twitter.com/search Most importantly, this is just a starting point and we really want to hear from everyone. We will continue to add new features based on what we need and what we learn. The site will be an ongoing effort and we’d love to hear your thoughts in the Feedback section of our new Discussions area. We hope everyone enjoys the new site and look forward to making this the best developer site it can be. Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: New Status Using A Query String
Hey there, This has just been deployed. The old status endpoints are now seamlessly redirected (HTTP 301) to the share intent. Please note that we still encourage you to replace these old URLs (i.e. http://twitter.com/?status=hello and http://twitter.com/home/?status=hello) for the Share Intent (i.e. http://twitter.com/intent/tweet?text=hello) Arnaud / @rno http://twitter.com/rno On Fri, Jun 3, 2011 at 3:05 PM, Arnaud Meunier arn...@twitter.com wrote: Bumping this thread to give you guys the last update on this bug. As you know, the status parameter is an old hack belonging to the classic web version of twitter.com. On the other hand, Web Intents were developed specifically for this purpose, they are optimized to load quickly, they are mobile friendly, and we fully support them on the API side. We've heard your feedback: We know there are still many implementations of the old status hack out there, and we understand that it's painful to change all these URLs. That's why we're going to seamlessly redirect these old endpoints to the share intent. That will fix the issue with legacy integrations, without requiring any changes on your side. Please note that we encourage you to replace these old URLs for the Share Intent (that will save an unnecessary 301 hit). While we don't yet have an ETA for this change, we are getting closer to rolling this out and wanted to give you as much advance notice as we could. Arnaud / @rno On May 17, 10:49 pm, DustyReagan dustyrea...@gmail.com wrote: Right on. Thanks for the update Arnaud! :) On May 17, 7:55 pm, omegdadi omegd...@gmail.com wrote: +1. Thanks for the update Arnaud. This is affecting all of our customers at the moment. Cheers, Omar -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Can I get a list of all people who clicked the Tweet button on my website last month?
Hey Mark, You can use our Web Intents JavaScript events to detect User's clicks on your Tweet Button(s), and pipe the click event to the Web analytics solution of your choice. Take a look on this documentation page for more details (be sure to check the Google analytics example at the bottom): https://dev.twitter.com/pages/intents-events Arnaud / @rno On Jun 7, 2011, at 6:43 PM, MarkB123 inbox.mirror.orbis...@gmail.com wrote: Hi Can I get a list of all people who clicked the Tweet button on my website last month? And if so, how? TIA Mark -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] How can I tell if Tweet button is clicked?
Hey there, You can use our new Web Intents JavaScript Events. Take a look on the click event on https://dev.twitter.com/pages/intents-events hope that helps, Arnaud / @rno http://twitter.com/rno On Sun, Jun 5, 2011 at 9:53 PM, MarkB123 inbox.mirror.orbis...@gmail.comwrote: Hi Is there a way to tell if the Tweet button on my webpage was clicked? If it was clicked I want to immediately enable Button2 (asp.net Button) on the same page so users can then click Button2. If the Tweet button wasn't clicked I want Button2 to remain disabled. TIA Mark -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re : Re: New Photo upload feature: What's new coming on the API side
Hey Julien, For now we're focusing on opening the Twitter Photo API endpoints to third party developers. These new API endpoints will be dedicated to Twitter media hosting, you won't be able to use them as a bridge/proxy for other media hosting services. Arnaud / @rno On Jun 6, 2011, at 7:25 AM, Julien Larios julien.lar...@gmail.com wrote: Hi there, I've implemented in Picsi this new way of photo sharing on Twitter (along with Twitpic support) and it works fine (based on Twitter4J 2.2.3). These pictures can be used in the 2 firsts Picsi apps: Media RSS export and ZIP backup But Arnaud (or should I say 'Dear Raptor fan' ? ;), do you know if external picture hosting services (like Twipitc) will be made available via this API branch? That would be great to grab all kind of photo via a single API syntax (instead of funky tweet parsing) Thanks -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Streaming API, Following just a couple of people
Hey Ray, As soon as the connection is established, you start receiving public statuses that match your filter predicates. Are you sure these users were actually tweeting during the time you were consuming the stream? Arnaud / @rno http://twitter.com/rno On Mon, Jun 6, 2011 at 6:04 AM, Ray Slakinski ray.slakin...@gmail.comwrote: I I start following just 1 or 2 people using the streaming API I do not get any of their tweets. Is there a buffer that needs to be filled before I get these? Ray Slakinski -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: New Status Using A Query String
Bumping this thread to give you guys the last update on this bug. As you know, the status parameter is an old hack belonging to the classic web version of twitter.com. On the other hand, Web Intents were developed specifically for this purpose, they are optimized to load quickly, they are mobile friendly, and we fully support them on the API side. We've heard your feedback: We know there are still many implementations of the old status hack out there, and we understand that it's painful to change all these URLs. That's why we're going to seamlessly redirect these old endpoints to the share intent. That will fix the issue with legacy integrations, without requiring any changes on your side. Please note that we encourage you to replace these old URLs for the Share Intent (that will save an unnecessary 301 hit). While we don't yet have an ETA for this change, we are getting closer to rolling this out and wanted to give you as much advance notice as we could. Arnaud / @rno On May 17, 10:49 pm, DustyReagan dustyrea...@gmail.com wrote: Right on. Thanks for the update Arnaud! :) On May 17, 7:55 pm, omegdadi omegd...@gmail.com wrote: +1. Thanks for the update Arnaud. This is affecting all of our customers at the moment. Cheers, Omar -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New Photo upload feature: What's new coming on the API side
Hey Yusuke, No, media URLs will not appear in the URL array. Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 8:51 AM, Yusuke Yamamoto yus...@mac.com wrote: Hi, The media-entities look very similar to url-entities. Are media entity URLs appear in urls object as well? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jun 2, 2011, at 03:34 , Arnaud Meunier wrote: Hey developers, We have just announced a couple of new exciting features at the All Things D conference, one of which is the ability to upload photos to twitter.com. Uploading photos to Twitter is currently available on the twitter.com desktop version, and its access is initially limited to a very small number of users. In the next couple of weeks, as we progressively ramp up the number of users who have access to the feature, we'll provide you with more details about how you can use the Tweet-with-photo API. For now, the only change you'll notice on the API side is a new media entity in the status object. We encourage you to support rendering, and to help you with that, we just revamped the Tweet Entities documentation page, describing in detail how you can use this structured data: http://dev.twitter.com/pages/tweet_entities Note that we also updated our API Terms of Service [1] and our Display Guidelines [2] to include this new feature. As ever, if you have questions about the new media entity or our ToS changes, let us know on the list or through @twitterapi. [1] http://dev.twitter.com/pages/api_terms [2] http://dev.twitter.com/pages/display_guidelines Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New Photo upload feature: What's new coming on the API side
Hey there, The first public tweet with a twitter.com uploaded photo has just been published. We just updated our JSON example on the Tweet entities documentation page: https://dev.twitter.com/pages/tweet_entities#media We're excited to see you guys support rendering of these photos. Let us know how it goes! Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 9:56 AM, Arnaud Meunier arn...@twitter.com wrote: Hey Yusuke, No, media URLs will not appear in the URL array. Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 8:51 AM, Yusuke Yamamoto yus...@mac.com wrote: Hi, The media-entities look very similar to url-entities. Are media entity URLs appear in urls object as well? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jun 2, 2011, at 03:34 , Arnaud Meunier wrote: Hey developers, We have just announced a couple of new exciting features at the All Things D conference, one of which is the ability to upload photos to twitter.com . Uploading photos to Twitter is currently available on the twitter.com desktop version, and its access is initially limited to a very small number of users. In the next couple of weeks, as we progressively ramp up the number of users who have access to the feature, we'll provide you with more details about how you can use the Tweet-with-photo API. For now, the only change you'll notice on the API side is a new media entity in the status object. We encourage you to support rendering, and to help you with that, we just revamped the Tweet Entities documentation page, describing in detail how you can use this structured data: http://dev.twitter.com/pages/tweet_entities Note that we also updated our API Terms of Service [1] and our Display Guidelines [2] to include this new feature. As ever, if you have questions about the new media entity or our ToS changes, let us know on the list or through @twitterapi. [1] http://dev.twitter.com/pages/api_terms [2] http://dev.twitter.com/pages/display_guidelines Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New Photo upload feature: What's new coming on the API side
Hey Paul, Thumbnails are 150x150 maximum. For your information, here are the max sizes we're using today. Note that these sizes might change in the future! - THUMBNAIL: 150x150 max (cropping if necessary) - SMALL: 340x680 max (fit) - MEDIUM: 600x1200 max (fit) - LARGE: 1024x2048 max (fit) Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 12:15 PM, Paul Haddad paul.had...@gmail.com wrote: Arnaud, Can you provide guidance on the thumbnail size, specifically will it be at least 150x150 (that's what the sample has and IMO is a good thumbnail size). On Jun 2, 2011, at 2:12 PM, Arnaud Meunier wrote: Hey there, The first public tweet with a twitter.com uploaded photo has just been published. We just updated our JSON example on the Tweet entities documentation page: https://dev.twitter.com/pages/tweet_entities#media We're excited to see you guys support rendering of these photos. Let us know how it goes! Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 9:56 AM, Arnaud Meunier arn...@twitter.com wrote: Hey Yusuke, No, media URLs will not appear in the URL array. Arnaud / @rno http://twitter.com/rno On Thu, Jun 2, 2011 at 8:51 AM, Yusuke Yamamoto yus...@mac.com wrote: Hi, The media-entities look very similar to url-entities. Are media entity URLs appear in urls object as well? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jun 2, 2011, at 03:34 , Arnaud Meunier wrote: Hey developers, We have just announced a couple of new exciting features at the All Things D conference, one of which is the ability to upload photos to twitter.com. Uploading photos to Twitter is currently available on the twitter.com desktop version, and its access is initially limited to a very small number of users. In the next couple of weeks, as we progressively ramp up the number of users who have access to the feature, we'll provide you with more details about how you can use the Tweet-with-photo API. For now, the only change you'll notice on the API side is a new media entity in the status object. We encourage you to support rendering, and to help you with that, we just revamped the Tweet Entities documentation page, describing in detail how you can use this structured data: http://dev.twitter.com/pages/tweet_entities Note that we also updated our API Terms of Service [1] and our Display Guidelines [2] to include this new feature. As ever, if you have questions about the new media entity or our ToS changes, let us know on the list or through @twitterapi. [1] http://dev.twitter.com/pages/api_terms [2] http://dev.twitter.com/pages/display_guidelines Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk --- Paul Haddad paul.had...@gmail.com, p...@tapbots.com, p...@pth.com -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Language support in the Follow Button
Hey @badosa, This is a bug indeed. If you could also file a Bug on http://code.google.com/p/twitter-api/issues/list that would be great. It will be easier to track and other developers will be able to subscribe to it :) Thanks for reporting it, we'll fix this! Arnaud / @rno http://twitter.com/rno On Wed, Jun 1, 2011 at 12:49 AM, badosa xbad...@gmail.com wrote: Apparently the 7 supported languages are only used in the Follow button, but not in the Following text. Is this a bug or a feature? Do you plan to support more languages in the future? @badosa On May 31, 10:07 pm, Arnaud Meunier arn...@twitter.com wrote: Hey developers, Today we're launching the Follow Button! Similar to the Tweet Button, it's a new widget that lets users easily follow a Twitter account from any web page. The Follow Button has a single click follow experience, simple implementation model, and is configurable to fit the needs of your website. Read our announcement on the Twitter blog, and use the resources below to set up your own Follow Button: - Create a Follow Button here: http://twitter.com/about/resources/followbutton - Detailed documentation:http://dev.twitter.com/pages/follow_button We’ve also added a Javascript layer to our Buttons and Web Intents that makes it possible for you to detect how users are interacting with these tools, and to hook them up to your own web analytics. More details on:http://dev.twitter.com/pages/intents-events We're excited to see how you guys will implement the Follow Button. Let us know what you think, or if you have any questions. Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Will requesting DM access now disable xAuth for my app?
Hey Andrew, All your old Read Read/Write user_tokens will continue to work, but they'll lose their ability to read direct messages. Arnaud / @rno http://twitter.com/rno On Mon, May 30, 2011 at 3:22 AM, janole s...@mobileways.de wrote: Hi Andrew, many thanks for your feedback from me, too! ;-) I didn't dare to make the switch for my xAuth app yet ... I'm just wondering if the actual switch to the new xAuth permission policy next month will have any impact on this? Is xAuth as such still supposed to work, but simply returning RW tokens then? Will the old xAuth tokens continue to work after the switch has been made end of July? Ole On May 29, 6:49 pm, twittelator and...@stone.com wrote: I poured a 4-shot breve latte just in case, flipped the switch athttps:// dev.twitter.com/apps, and was delighted when: - shipping Twittelators already deployed can use and continue to get valid RW XAUTH Tokens - those XAUTH tokens still work - New RWDM tokens are correctly given to new in-house builds of Twittelator So, I can totally relate to the feeling of Am I about to hose 1 million users? but, especially with the enhancements due this week from Twitter, I think we can all make a smooth transition to the new flow. On May 27, 11:31 pm, Ed Finkler funkat...@gmail.com wrote: Fellers, For testing as we prep our apps for the switch to PIN-based auth, I'd like to change the default access level to Read, Write, Private Message. However, I'm concerned this will disable xAuth for existing users immediately, rather than once we hit June 30. Can I do this, or should I register a new application? Or do I have other options? Thanks, -Ed -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter comment on Error responses ?
Hey Maomor, The Error codes don't follow a logic in particular. I'd recommend that you rely on the (error message string + HTTP Code) combination. Hope that helps, Arnaud / @rno http://twitter.com/rno On Mon, May 30, 2011 at 6:05 AM, Maomor maldw...@gmail.com wrote: I do not understand why twitter will not tell us how we should handle their error codes. Our applications need to distinguish between an error response such as 7 ( No data for a place ) and 10 ( Geo services currently unavailable ). Can Twitter understand that we have the need to do this ? And, if so, why do they remain silent on this issue ? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Introducing the Follow Button
Hey Jason, Just like the Tweet Button, the Follow Button is using twitter.com session. You cannot specify an interacting account. It will always be the user logged in on twitter.com. Cf our User interaction flow for more details: https://dev.twitter.com/pages/follow_button#user-interaction Hope that helps, Arnaud / @rno http://twitter.com/rno On Tue, May 31, 2011 at 1:54 PM, noriguard jinbok...@gmail.com wrote: Hi Arnaud, Can I use this button for a user who is signed-in at a web service via oauth, even when the user is signed-in at Twitter as other account or signed-out? Thank you in advance. - Jason On May 31, 1:07 pm, Arnaud Meunier arn...@twitter.com wrote: Hey developers, Today we're launching the Follow Button! Similar to the Tweet Button, it's a new widget that lets users easily follow a Twitter account from any web page. The Follow Button has a single click follow experience, simple implementation model, and is configurable to fit the needs of your website. Read our announcement on the Twitter blog, and use the resources below to set up your own Follow Button: - Create a Follow Button here: http://twitter.com/about/resources/followbutton - Detailed documentation:http://dev.twitter.com/pages/follow_button We’ve also added a Javascript layer to our Buttons and Web Intents that makes it possible for you to detect how users are interacting with these tools, and to hook them up to your own web analytics. More details on:http://dev.twitter.com/pages/intents-events We're excited to see how you guys will implement the Follow Button. Let us know what you think, or if you have any questions. Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] tweet button inside flash
Hey Luciana, We're unfortunately having a bug with this old auto-populating technique. We're hoping to have it solved soon. Our engineers are working on it and we're tracking this issue on http://bit.ly/dxicu6 Also note that on the API side, we developed the Tweet Intent specifically for this purpose. More information on: http://dev.twitter.com/pages/intents#tweet-intent Arnaud / @rno http://twitter.com/rno On Wed, May 25, 2011 at 8:44 AM, Luciana Serantes lum...@gmail.com wrote: Hi, I used to use the following code inside flash: on (release) { getURL(http://twitter.com/home?status=Fiz + total + pontos+no +quiz+sobre+%27Nerds+2%27.+Teste+seus+conhecimentos+tamb%c3%a9m+http%3a %2f%2fabr.io%2f5qr, _blank); } But, this code is not working anymore... Please help! -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Web page to see who I have blocked?
Hey, You could use one of these two API endpoints to retrieve who the authenticated user (i.e. you) is blocking: - /1/blocks/blocking/ids to retrieve an array of user ids (more info on http://dev.twitter.com/doc/get/blocks/blocking/ids) - /1/blocks/blocking to retrieve the user objects (more info on http://dev.twitter.com/doc/get/blocks/blocking) Hope that helps, Arnaud / @rno http://twitter.com/rno On Tue, May 24, 2011 at 7:03 AM, TJ Luoma luo...@gmail.com wrote: Is anyone aware of an oAuth-enabled web service which will show me who I have blocked on Twitter? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: incorrect signature with get parameters
Hey there, The URL you're passing to your getBaseString function is not correct. The correct endpoint to ReTweet a tweet is /1/statuses/retweet/:id (cf http://dev.twitter.com/doc/post/statuses/retweet/:id). Also remove the id part in your parameters. Arnaud / @rno http://twitter.com/rno On Tue, May 24, 2011 at 7:57 AM, galeyte gaetan...@gmail.com wrote: I've tried using POST and GET method. And i've seen the htts: mistake, but doesn't change anything. :( On May 24, 2:25 pm, galeyte gaetan...@gmail.com wrote: Hi again ! I'me still working on my javascript twitter client. At this time, every request i make using POST method work perfectly, but i'm experiencing some trouble using GET parameters with oauth. Here is my code to retweet a message : var parameters = [oauth_consumer_key=+consumer_key, oauth_nonce=+nonce, oauth_signature_method=HMAC-SHA1, oauth_token=+accessor.oauth_token, oauth_timestamp=+time, oauth_version=1.0. id= + id]; var baseString = getBaseString(parameters, nonce, time, GET, htts:// api.twitter.com/1/statuses/+id+.json); var signature = b64_hmac_sha1(consumer_secret + + accessor.oauth_token_secret, baseString); As i'm having the same problems with direct messages, i assume my mistake is in the parameters part or the basestring generation. This signature method perfectly works with POST (i'm currently using it for timeline and mentions). Thanks for helping me ! -- gaetan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] updates status problem with OAuth when include áóí ..etc
Hey Javier, Looks like you're not encoding these characters properly, but it's going to be hard to help you without more details. What do you mean by a new version of OAuth? Did you have a chance to take a look on our Twitter libraries page? https://dev.twitter.com/pages/libraries Arnaud / @rno http://twitter.com/rno On Tue, May 24, 2011 at 8:22 AM, Javier Solís jso...@tssolutions.co.crwrote: I when is sent a update status call with OAuth than include special characters like óíú... Twitter raise a 401 error. I tried with diferent encoding tricks, and stop the error 401, but the characters cannot display fine in twitter status. If you know a new version of OAuth withot this problems, please tell me. Thanks -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Can i tweet to the perticular User....
Hey, Don't know if that would meet your needs, but the easiest way to implement this would be to use Web Intents. Cf https://dev.twitter.com/pages/intents#tweet-intent Arnaud / @rno http://twitter.com/rno On Tue, May 24, 2011 at 7:24 AM, nilesh patel nileshpatel2...@gmail.comwrote: Hi, I want to give the reply of perticular tweet is it possible to do??? if yes then provide me the way to implement it Thanks in advance -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New www.twitter.com/sharetext=, How to remove the automatic shortened url?
Hey David, You can totally use your bit.ly shortened URL with the url parameter. Just remember to also specify your full URL (without the hash) using the counturl parameter in order to make your count box work properly. Exemple here: https://dev.twitter.com/pages/tweet_button#using-shorturl Hope that helps! Arnaud / @rno http://twitter.com/rno On Mon, May 23, 2011 at 7:13 AM, daviddarx david.horsf...@gmail.com wrote: Hi everybody, I discover the new page to share things on twitter: www.twitter.com/share?text= . This new page automatically add in the tweet a shortened url of the page where you're coming from, the page where you pushed the share button. The problem is that the url shortener doesn't work as well as the bit.ly one, as all the windows location hash won't be shortened too. I now search one of these two solutions: 1: make the twitter shortener work well (with #windowsHash shortened too) 2: remove the automatic url shortener of twitter from the tweets, to keep only bit.ly's one. Can somebody help me to achieve that? Thank you a lot in advance for your help! David -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Additional attribute in share link
Hey Tony, This ID is automatically generated by the JavaScript Tweet Button, for internal technical reasons. It's not a property that customizes its behavior :) Arnaud / @rno http://twitter.com/rno On Mon, May 23, 2011 at 9:09 AM, Tony House tonyho...@gmail.com wrote: I'm looking through the FAQ for the tweet button and am not seeing one of the attributes listed. On the page, the different examples have an underscore and equal and a 13 digit number (e.g. http://twitter.com/share?_=1306165040196 ). It looks like the first 10 digits could be a unix timestamp, but I'm not 100% sure about that. It also means the three digits at the end (196) are something else. I couldn't find anything in FAQ, so I'm hoping someone can help. What is this number? Thanks. Tony -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter Mentions since_id
Hey Paul, If you can, I recommend you use header-based OAuth (passing OAuth related parameters in an Authorization header, instead of the query string). Which signature base string are you using? Are you using a library? If yes, could you share the code you're using? :) Arnaud / @rno http://twitter.com/rno On Sun, May 22, 2011 at 11:58 PM, Paul jpb@gmail.com wrote: Im trying to get mentions using the since_id parameter. If I leave out the since_id parameter I get all my mentions, which is correct, but as soon as I add the since_id, I get 401, unauthorised. Since Im VERY new to the twitter and oAuth API, it might be the way my string is made up, but I need some help please. http://api.twitter.com/1/statuses/mentions.json?since_id=1oauth_consumer_key={key}oauth_nonce={key}oauth_signature_method=HMAC-SHA1oauth_signature={key}oauth_timestamp=1306132513oauth_token={key}oauth_version=1.0 Where {key} are the correct values. I've tried adding the since_id at the back but without any luck. From the source code it seems that the signature is created on the base code of : http://api.twitter.com/1/statuses/mentions.json?since_id=1 and afterwards the rest is added to that string. Any ideas? Thank you -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Checking whether a user has given permission to Private Messages
We just started to return the X-Access-Level header for authenticated API requests, that tells you what access level the user token has: - read (Read-only) - read-write (Read Write) - read-write-privatemessages (Read, Write, Private Message) The FAQ on http://dev.twitter.com/pages/application-permission-model-faqwill be udpated in a minute :) Hope that helps, Arnaud / @rno http://twitter.com/rno On Mon, May 23, 2011 at 3:26 PM, Tyson Lowery tysonlow...@gmail.com wrote: I think I found the answer from themattharris: How do we know what the access level of a user token is? This is a great idea and one the team has discussed. What we are going to do is add a new header to authentication requests that will tell you the access level of the token you authenticated with. We’re working on this now and hope to have it released in the next few days. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Checking whether a user has given permission to Private Messages
Hey again, For more consistency, the X-Access-Level header value for the Read, Write Direct Message scope is going to be read-write-directmessages (rather than read-write-privatemessages). We'll also update the Client Application management pages (using Direct Messages and not Private Messages) to match the API methods being called. Arnaud / @rno http://twitter.com/rno On Mon, May 23, 2011 at 4:18 PM, Arnaud Meunier arn...@twitter.com wrote: We just started to return the X-Access-Level header for authenticated API requests, that tells you what access level the user token has: - read (Read-only) - read-write (Read Write) - read-write-privatemessages (Read, Write, Private Message) The FAQ on http://dev.twitter.com/pages/application-permission-model-faqwill be udpated in a minute :) Hope that helps, Arnaud / @rno http://twitter.com/rno On Mon, May 23, 2011 at 3:26 PM, Tyson Lowery tysonlow...@gmail.comwrote: I think I found the answer from themattharris: How do we know what the access level of a user token is? This is a great idea and one the team has discussed. What we are going to do is add a new header to authentication requests that will tell you the access level of the token you authenticated with. We’re working on this now and hope to have it released in the next few days. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: http://widgets.twimg.com/j/2/widget.js without gzip
Hey there, The technical architecture we're currently using to host this file doesn't support serving gzipped content in the standard manner (using the HTTP Accept-Encoding header). Because we can't be sure gzip is supported by the user agent making the request (especially with proxies) we prefer to serve the file uncompressed, prioritizing compatibility over performance. Thanks for your feedback! That's something we're looking to improve in the future. Arnaud / @rno http://twitter.com/rno On Fri, May 20, 2011 at 9:49 AM, cfalar carolfalard...@hotmail.com wrote: Hi, its can be a 20k save on a 30k initial file. i try with Firefox 4 with Accept-Encoding gzip,deflate I work for a tv company and we have the twitter widget on many page. We have a lot of external javascript so a 20k saving is good. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] search api limit
Hey Max, That looks pretty extreme! What's your use case? Why would you need to make that much queries? Are you going to use the Search API or the website? If you're using the API, Did you consider using the Streaming API statuses/filter method with the track parameter? http://dev.twitter.com/pages/streaming_api_methods#statuses-filter All the best, Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 6:26 AM, Max maxdo...@googlemail.com wrote: Hello, for an art installation i will be having 4 cpus running the search twitter query (search.twitter.com) . because the rate limit is not made public, if you could authorize my proposed request frequency. if i have each computer (on the same IP adress) calling the search api every 10 seconds, that comes to 1440 calls per hour (from the same Ip adress) whilst also simultaneously running the sample stream (on each cpu) . would this be allowed? it would be between June 16th and June 24th, continuously during day time hours. thanks alot. max maxdo...@gmail.com -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] logout page redirecting (http://api.twitter.com/logout) to other page
Hey there, You cannot control Twitter website sessions (i.e. login / logout actions). OAuth is just an authorization / authentication mechanism to execute API requests from your app on behalf of a User. You have to handle that logout feature on your app (i.e. allowing the User to authorize or switch to another Twitter account) Hope that helps! Arnaud / @rno http://twitter.com/rno On Wed, May 18, 2011 at 10:00 PM, ricky mae...@gmail.com wrote: I making android twitter app. I want to add log-out funtion in my app, but oAuth has no log-out. So I open web-view with 'http://api.twitter.com/logout' for log-out, but twitter logout page redirecting automatically 'http:// mobile.twitter.com/', so i cant see logout page. Is this normal redireting? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Block API call always fails for specific users
Hey there, If looks like you've hit this bug: http://bit.ly/j1mLSS If you could capture the exact request you made (+ full HTTP response with headers) and share this on the issue page linked above, that would help us a lot. Thanks! Arnaud / @rno http://twitter.com/rno On Wed, May 18, 2011 at 11:21 PM, Alexander Skwar a...@skwar.me wrote: Hi! On 18 Mai, 14:08, Anil Chawla ani...@gmail.com wrote: Our application is experiencing the exact same problem. The block API call often works but will consistently fail when trying to block certain accounts. For example, one of our users reported the error when trying to block @divadmarketing. I was able to recreate when trying to block this same user from my own account (no offense to the person who owns this account). Perhaps you will be able to recreate against this account too? I was the user who complained to Anil about this and would like to add, that it is in no way whatsoever limited to the divadmarketing account, which cannot be blocked. I find, that it is the majority of users, who cannot be blocked via the API. An incomplete list of other accounts, which couldn't be blocked: - pkvneutral24 - PaulaTrumbo - AlexanderHeinzl - aprohirdetesekc - _Geldverdienen_ - SpeedAdvertise … Just wanted to add this, to make it clear that the scope is not one particular strange account, but is much wider. Alexander -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Oauth problem error 401
Hey Javier, We do not support OAuth 2.0 but OAuth 1.0a. If you're looking for a Twitter / OAuth 1.0a library, take on look on this page: https://dev.twitter.com/pages/libraries Hope that helps! Arnaud / @rno http://twitter.com/rno 2011/5/19 Javier Solís jso...@tssolutions.co.cr Hi, i have the problem related here. http://code.google.com/p/twitter-api/issues/detail?id=1345 I readed a lot, but i can't find the solution. I used Oauth 2.0, any ideas. The api works fine but fail a lot of methods. For example fail with Get Retweets sent by User Get Retweets sent to User Get Retweets Of User Get Retweets of the specified tweet Retweet a Tweet Retweeted By Get Home Timeline User Lookup Users Search Thanks. Javier -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Please confirm this OAuth flow ...
Hey everyone, There have been some great discussions and questions across several threads and also directly on Twitter. In order to make it simple for you guys to get answers to your questions, we've just set up a dedicated FAQ page for the new Application Permission model: http://dev.twitter.com/pages/application-permission-model-faq We'll keep updating it as long as your questions come in. Thanks a lot, Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 9:54 AM, janole s...@mobileways.de wrote: Only people with modern devices should read direct messages? Why? What about the 100.000.000 ( yes, 100 million! ) Symbian smartphones, where apps cannot use the external browser for the web oauth flow? As far as I know from my users, they really want to read their direct messages on their phones via my client. They are doing this since early 2009 and they won't understand why they now might not be able to do this anymore. Ole ( @janole / @gravityapp ) On May 19, 5:20 pm, Tom van der Woerdt i...@tvdw.eu wrote: Can you name a modern device on which people will want a client with access to direct messages, without a webbrowser? I can't. Tom On 5/19/11 5:17 PM, Adriaan Pelzer wrote: Understood. In other words, there is no way to consume the authenticated parts of the Twitter API on devices without web browsers anymore? This severe limitation will haunt Twitter in future, without a doubt. Adriaan Pelzer //))//\\//\\||// //\\//7//7///\\ putting you in touch with your crowds http://www.wewillraakyou.com twitter:http://www.twitter.com/adriaan_pelzer linkedIn:http://uk.linkedin.com/pub/adriaan-pelzer/4/874/860/ skype: adriaan_pelzer +4478 7978 1743 On Thu, May 19, 2011 at 4:00 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Like I mentioned in my post - use the actual browser which includes an address bar (that's what it's about - without the address bar the user doesn't know it's actually twitter.com http://twitter.com and you might just as well use xAuth, lol). Use a callback URL which includes a custom scheme (myapp://oauth_redirect, for example) and catch this URL in your code. Tom On 5/19/11 4:58 PM, Adriaan Pelzer wrote: If using a UIWebView is against the TOS, how should app developers (standalone apps, that is) authenticate without xauth, in the light of yesterday's announcements? Adriaan Pelzer //))//\\//\\||// //\\//7//7///\\ putting you in touch with your crowds http://www.wewillraakyou.com twitter:http://www.twitter.com/adriaan_pelzer linkedIn:http://uk.linkedin.com/pub/adriaan-pelzer/4/874/860/ skype: adriaan_pelzer +4478 7978 1743 On Thu, May 19, 2011 at 3:53 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: 1. Yep 2. NO. There's no difference in oauth/authorize and oauth/authenticate, except that authenticate will simply pass the accept/deny screen if the user has already accepted the app. Also, don't display it in a WebView, use the normal browser instead and use a callback URL with a custom scheme - for example myapp://. Let the browser redirect this URL back to the app. Again, do NOT use a UIWebView - I'm pretty sure that that's against the TOS, and if it's not, it soon will be. 3. Yep 4. Yes, you will need to store the consumer token and secret in the code, and store the user's token and secret in the keychain (or somewhere else, secure). The OAuth flow is no different for mobile devices than for desktops. Tom On 5/19/11 4:45 PM, Andrew W. Donoho wrote: Gentle Twitter Support Folks, There is an ambiguity in the OAuth flow for mobile devices. As I now have little time to move from xAuth to OAuth, I would appreciate it if Twitter Support would confirm the following OAuth flow which uses your routes. 1) Use POST oauth/request_token to get the access token needed for the user web dialog. 2) Upon receiving the request token, open a web view using GET oauth/authorize. This is the ambiguous path for mobile devices. It is specified that this path must be used for desktop devices. As a mobile device is really a wireless desktop device, I believe Twitter wants me to use this route in lieu of GET oauth/authenticate. Other vendors also allow the specification of whether this is a mobile device. They then provide a web authorization dialog appropriate for a narrow screen. It does not appear that Twitter offers this functionality.
Re: [twitter-dev] Any current issues with the API?
Hey Steven, I can't reproduce the problem (receiving 5 tweets for page 2). Are you still having this issue? Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 12:38 PM, StevenBullen stevenbul...@gmail.comwrote: I am working on a web app and it's been working fine all day, but for the last few hours the results have changed dramatically. I use the following to get my timeline, normally I would retrieve 200 tweets at a time but thought I would test it out at lower numbers. This line works fine and retrieves my last 5 tweets. https://api.twitter.com/1/statuses/user_timeline.xml?screen_name=stevenbullencount=5page=1include_entities=TRUE Now if I change that to page 2 to get the next 5 tweets I only receive 4 tweets. https://api.twitter.com/1/statuses/user_timeline.xml?screen_name=stevenbullencount=5page=2include_entities=TRUE So was wondering if any issues with the API? Also if it did have a problem does it always get tweeted on @twitterapi? Many thanks in advance -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Any current issues with the API?
Just noticed you're not including retweets (include_rts parameter). The count parameter specifies the number of Tweets to retrieve, but the number of tweets you'll receive can be lower (if they've been published by a deleted or suspended user, for example). In your case, it's because you're stripping retweets. On your user_timeline (hope you won't tweet in the meantime): - With retweets (receiving 5 tweets. Note that 2 of them are actually retweets): https://api.twitter.com/1/statuses/user_timeline.json?screen_name=stevenbullencount=5page=3include_entities=1include_rts=1 - Without retweets (receiving 3 tweets because the 2 retweets have been filtered): https://api.twitter.com/1/statuses/user_timeline.json?screen_name=stevenbullencount=5page=3include_entities=1 Hope that helps! Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 3:00 PM, Arnaud Meunier arn...@twitter.com wrote: Hey Steven, I can't reproduce the problem (receiving 5 tweets for page 2). Are you still having this issue? Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 12:38 PM, StevenBullen stevenbul...@gmail.comwrote: I am working on a web app and it's been working fine all day, but for the last few hours the results have changed dramatically. I use the following to get my timeline, normally I would retrieve 200 tweets at a time but thought I would test it out at lower numbers. This line works fine and retrieves my last 5 tweets. https://api.twitter.com/1/statuses/user_timeline.xml?screen_name=stevenbullencount=5page=1include_entities=TRUE Now if I change that to page 2 to get the next 5 tweets I only receive 4 tweets. https://api.twitter.com/1/statuses/user_timeline.xml?screen_name=stevenbullencount=5page=2include_entities=TRUE So was wondering if any issues with the API? Also if it did have a problem does it always get tweeted on @twitterapi? Many thanks in advance -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Streaming API timeout issues
Hey there, Please be careful when you share pieces of code on this Mailing List. I had to reset your Twitter password because you just shared it publicly. Please go to http://twitter.com/account/resend_password so we can send you password reset instructions. Concerning your issue, the Streaming API doesn't timeout. Our servers hold the connection open indefinitely. Cf this documentation page for more information: http://dev.twitter.com/pages/streaming_api_concepts#connecting Looks like you're disconnecting in your while loop. There are a couple of resources out there (like this Shannon Whitley's blog post: http://bit.ly/ghavU1) that might help you to build your Twitter Streaming API Client :) Hope that helps, Arnaud / @rno http://twitter.com/rno On Thu, May 19, 2011 at 10:12 AM, yippanion yippan...@hotmail.com wrote: Hi I'm trying the following code snippet to connect to your API but it is timing out while waiting for the response. string url = http://stream.twitter.com/1/statuses/filter.json? follow=12; WebRequest req = WebRequest.Create(url); req.Credentials = new NetworkCredential(ConnectTweetPRO, Preston71); WebResponse response = req.GetResponse(); Encoding encode = Encoding.GetEncoding(utf-8); var responseStream = new StreamReader(response.GetResponseStream(), encode); int count = 0; while (!responseStream.EndOfStream count 2) { DateTime end = DateTime.Now + TimeSpan.FromSeconds(60); while (DateTime.Now end) Thread.Sleep(1000); Response.Write(responseStream.ReadLine()); count++; } Can you help please? I'm sure I'm missing something. Ta -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] how to get the tweet which has hightest retweet count
Hey Journey, There is no dedicated API method to retrieve the most retweeted tweet in a given time window. However, every status object comes with a retweet_count attribute that you can for example use to curate the most retweeted tweets of a timeline, a list... Hope that helps! Arnaud / @rno On May 18, 2011, at 7:18 AM, journey yinmathema...@gmail.com wrote: Hi guys, I want to get a tweet which has the highest retweet count number during the last five minutes. Does the api support this? if not support, is there a plan to support it in the future? thanks, Journey -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Auto Populating Tweets Broken?
Hey Yahel, Meet Web Intents: http://dev.twitter.com/pages/intents (take a look on the intent/tweet intent). It really is super easy to implement. For example: http://twitter.com/intent/tweet?text=foobar Arnaud / @rno http://twitter.com/rno On Tue, May 17, 2011 at 1:18 PM, Yahel Carmon yah...@gmail.com wrote: Hey, We've just noticed that auto-populating tweets using http://twitter.com/home/?status=foobar no longer works. Has this feature been totally removed, or is this a temporary glitch? (Perversely, http://twitter.com/?status=foobar works, but that was the older method that broke last year and we were told to add /home to fix it.) I know we're supposed to move to the official Tweet button, but we have a very large scale CRM that still relies on the old method. Please let me know ASAP, as we have a lot of broken tweet links in the wild. Thanks, Yahel -- Yahel Carmon (917) 445-3498 Twitter: http://twitter.com/yahelc Facebook: http://facebook.com/yahel LinkedIn: http://www.linkedin.com/in/yahelc -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New Status Using A Query String
Hey Mo, There is already a thread about this subject: http://bit.ly/j2v5Kd :) I recommend you switch to Web Intents. That's the recommended (and supported way) to do it. More info on this documentation page: http://dev.twitter.com/pages/intents Arnaud / @rno http://twitter.com/rno On Tue, May 17, 2011 at 2:29 PM, Mo maur...@moluv.com wrote: It may just be me, but is anyone else having any problems adding a status to Twitter by passing a query string? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: New Status Using A Query String
Hey Dusty, The status parameter option has not been removed. It's a bug that has been filed, but I unfortunately don't have an ETA on a fix. This parameter is part of the twitter.com website, which is constantly changing. On the API side, we support Web Intents. That's why I recommended its use :) Hope that helps, Arnaud / @rno http://twitter.com/rno On Tue, May 17, 2011 at 3:44 PM, DustyReagan dustyrea...@gmail.com wrote: So Intents are great, but are you officially deprecating the ? status= functionality? Because it's been in place and working for years. We need to know if it's simply going to stop working one day. Also, is today that day? On May 17, 5:12 pm, Megan yarbrough.me...@gmail.com wrote: Having the same issue. On May 17, 5:29 pm, Mo maur...@moluv.com wrote: It may just be me, but is anyone else having any problems adding a status to Twitter by passing a query string? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Maximum length of User ID
Hey Yama, - screen_name: I would go for 20 Chars, as it has been the limit for some time, before we switched to 15 Chars. Some accounts might still have a screen_name 15 Chars. - User ID: I would take the safest option and treat them as Status ID (20 Chars or 64 bits INT). So if we decided in the future to generate User IDs with SnowFlake, you'd be prepared. Hope that helps! Arnaud / @rno http://twitter.com/rno On Tue, May 10, 2011 at 11:19 PM, 山田 eternalsun...@gmail.com wrote: Hi guys, I'm trying to store UserID, UserName, StatusID, TextComment, etc to DB. I found the max length that UserName was 15 chars, and StatusID was 20 figures, and TextComment was 140 char of course. But not sure about UserID. Does anyone have idea? Thank you. Yama -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Basic Streaming API limits question
Hey Thiago, Technically, the limit is account based (each account may create only one standing connection to the Streaming API). Why would you like to start multiple connections from the same IP? What is your use case? Remember it is not allowed to get around limits in statuses/filter (or statuses/track). You should contact us if you need a higher access level :) Arnaud / @rno http://twitter.com/rno On Wed, May 11, 2011 at 8:10 AM, Thiago Souza tcostaso...@gmail.com wrote: Hi, This is pretty basic, but I can not find a clear answer. Is multiple connection from same IP to statuses/filter allowed? If not, what's the limit? Thanks, Thiago Souza -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Basic Streaming API limits question
Yes this will be a problem, as you'd be circumventing the limit in place (400 track keywords for the default access level). Please do not do this, and contact us on a...@twitter.com with as much details as possible on your use case and your implementation :) Arnaud / @rno http://twitter.com/rno On Wed, May 11, 2011 at 9:40 AM, Thiago Souza tcostaso...@gmail.com wrote: Hi, Basically we are building a twitter monitoring system in which each user specify the tracking keywords. As the number of user grows, naturally, 200 won't be enough, so there will be a need of more connections. So, creating multiple connections from the same IP will be a problem in this case? Regards, Thiago Souza On Wed, May 11, 2011 at 13:30, Arnaud Meunier arn...@twitter.com wrote: Hey Thiago, Technically, the limit is account based (each account may create only one standing connection to the Streaming API). Why would you like to start multiple connections from the same IP? What is your use case? Remember it is not allowed to get around limits in statuses/filter (or statuses/track). You should contact us if you need a higher access level :) Arnaud / @rno http://twitter.com/rno On Wed, May 11, 2011 at 8:10 AM, Thiago Souza tcostaso...@gmail.comwrote: Hi, This is pretty basic, but I can not find a clear answer. Is multiple connection from same IP to statuses/filter allowed? If not, what's the limit? Thanks, Thiago Souza -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Widget Multilanguage not working?
Hey there, The Language property (lang) only has effect on the actual Tweet Button. The Share box language comes from the authenticated user settings (Language option on twitter.com/settings/account). Arnaud / @rno http://twitter.com/rno On Tue, May 10, 2011 at 11:30 AM, max2384 mne...@gmail.com wrote: Hi i was testing the widget for tweet a message from my website and i realize that if i use the data-lang=es the tweet button is in spanish but when i hit the button and the twitter windows is open, all the messages in the webpage are in english. seems that the javascript is not sending in the querystring the language, i try to do it but, the javascript is making his own url parsing it. There is a bug with the widget or there is something i can do to change it. Thanks in advance! Regards. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Adding more users to the twitter stream listener
There is a list of best practices on how to update your Filter Predicates in the Streaming API doc: http://dev.twitter.com/pages/streaming_api_concepts#updating-filter-predicates Arnaud / @rno http://twitter.com/rno On Fri, May 6, 2011 at 4:54 PM, Shannon Whitley swhit...@whitleymedia.comwrote: I need to attack this issue too, so I'm looking forward to suggestions. On Fri, May 6, 2011 at 9:35 AM, Ray Slakinski ray.slakin...@gmail.comwrote: I'm working on a program that uses the stream api to listen for tweets from a list of users, if that list of user changes it appears to me that I need to drop connection and reconnect in order to listen to the new list of users even if its just to add one new user. If I do this I could loose tweets during the time it takes to reconnect, especially if its frequent enough. So does the API handle this scenario and I'm just missing something? or any tips/tricks that might make the transition smoother as users get added/removed? Ray Slakinski -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] lists/statuses not work with count option
Thanks for reporting! Will correct this :) Arnaud / @rno http://twitter.com/rno On Fri, May 6, 2011 at 11:08 PM, noki noris...@gmail.com wrote: Hi, I noticed lists/statuses API end point does not work with count option but work with per_page option. The API document( http://dev.twitter.com/doc/get/lists/statuses ) mentions on count option to specifies the number of tweet to get. But http://api.twitter.com/1/lists/statuses.xml?list_id=7286322count=1 alway retrun 20 tweets. And with old style option http://api.twitter.com/1/lists/statuses.xml?list_id=7286322per_page=1 return just one tweet. Thank you. -- noki(Norio Suzuki) Thank you. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] 403 error during status update
Hey there, Could you share the full HTTP Response you're receiving, please? By the way, did you try to change the text (status parameter)? You could be receiving a 403 because you are trying to send the same status as the last user's one. Arnaud / @rno http://twitter.com/rno On Fri, May 6, 2011 at 7:34 PM, j2me kshetriam...@gmail.com wrote: Hello everyone I was able to get token and secret and able to get the timeline of the user. But when i tried to update status i get 403 error. And I am not being able to get the error response. All I get is 403 error which says Forbidden. When I try to get the actual response I exception is thrown. I am using JAVA(desktop). These are my base string, header and connecting url POSThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fupdate.jsonoauth_consumer_key%3Dmy consumer key%26oauth_nonce %3D-783282128%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1304731810%26oauth_token%3Dmy token%26oauth_version%3D1.0%26status %3Dtesting%2520testing OAuth oauth_signature=ZnacQwEWpKCAUmh6D2EEnDKbP7Q%3D, oauth_version=1.0, oauth_nonce=-783282128, oauth_signature_method=HMAC-SHA1, oauth_consumer_key=my consumer key, oauth_token=my token, oauth_timestamp=1304731810 https://api.twitter.com/1/statuses/update.json?status=testing%20testing is there anything wrong going in my basestring, header and url? I tried using a scribe. I get the same basestring, header while using same timestamp and nonce. signature matches. Any help? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Lists randomly disappearing and reappearing (from API and website)
Hey Raul, Could you please give us more details around those two issues (including Full HTTP Request and Response), and ideally file a new bug on https://code.google.com/p/twitter-api/issues/list (if you can reproduce the issue)? Thanks! Arnaud / @rno http://twitter.com/rno On Sat, May 7, 2011 at 1:40 PM, Raul raul.fernan...@formulists.com wrote: It seems like lists have been more unreliable than usual over the last few days. This is what we've been noticing: - /1/lists.json returns with missing lists (for example, we get sometimes 12 lists instead of 20. If we try to create a new list at this point, we get an error message saying there are already 20 lists) - Finding/adding/deleting list members randomly returns a 404 Not Found exception. In most cases, we retry the request after a few seconds and it works. The lists can stay missing for between seconds to hours and disappear from the Twitter website as well. We've been trying to workaround those issues with periodic retries, but it's getting tougher when lists stay missing for extended periods. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Adding more users to the twitter stream listener
Hey Faustino, Yes, you can use an auxiliary connection (reducing your loss window using a delta scheme, as explained in the doc) to manage query velocity. But that really makes sense in a large predicates (higher access level) + frequent updates context. Arnaud / @rno http://twitter.com/rno On Mon, May 9, 2011 at 1:21 AM, Faustino Forcén f...@forcen.com wrote: El 9/5/11 08:01, Arnaud Meunier: There is a list of best practices on how to update your Filter Predicates in the Streaming API doc: http://dev.twitter.com/pages/streaming_api_concepts#updating-filter-predicates Arnaud. Thanks for pointing us to these best practices. I now have a question regarding the use of two users, the main one and the new-users one. Does it mean that we can make two connections with different users from the same IP? I'll give it a try. Thanks again -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] HTTP Response Codes -403
Hey Balaji, Which resource were you trying to connect to? As explained in the doc, the default access level grants you access to statuses/filter ( http://dev.twitter.com/pages/streaming_api_methods/#statuses-filter) and statuses/sample ( http://dev.twitter.com/pages/streaming_api_methods/#statuses-sample). Note that the count parameter is not supported either on default access level. Arnaud / @rno http://twitter.com/rno On Mon, May 9, 2011 at 1:39 AM, Balaji Krishnan bkrish1...@gmail.comwrote: Hi I am trying to develop a simple application using Streaming API. When i try to connect i am getting a HTTP Response code 403. The error message is User authenticated properly but is not in a required role for this resource; contact the API team for appropriate access. Based on the error message what 'appropriate access' do i need and who can provide this to me please. Regards bala -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter - ATOM - google:location tag
Hey Pavithra, Assuming you're using PHP SimpleXML, you could get the location element from the google Namespace with something like: $namespaces = $result-getNameSpaces(true); $google = $result-children($namespaces['google']); echo $google-location; Arnaud / @rno http://twitter.com/rno On Thu, May 5, 2011 at 12:17 PM, Pavithra pavithra.sel...@gmail.com wrote: Hello, My friend and I are working on an app that extracts tweets in and around a location and displays the tweets as text as well as on the map. We are getting tweets with geo location but are wondering how to extract the data in the google:location tag. We are using PHP to display the tweets. Along with the tweets I'd like to display the location too (and then later on mark it on the map. Here is an entry of the tweet in ATOM format: entry idtag:search.twitter.com,2005:66218119324123136/id published2011-05-05T19:10:04Z/published link type=text/html href=http://twitter.com/kath/statuses/ 66218119324123136 rel=alternate/ titleDazzling video: Plan of the City by Joshua Frankel, with music by @juddgreenstein and @NOWEnsemble. http://bit.ly/kHXzAZ/title content type=htmlDazzling video: Plan of the City by Joshua Frankel, with music by lt;a href=quot;http://twitter.com/ juddgreensteinquot;gt;@juddgreensteinlt;/agt; and lt;a href=quot;http://twitter.com/NOWEnsemblequot;gt;@NOWEnsemblelt;/ agt;. lt;a href=quot;http://bit.ly/kHXzAZquot;gt;http://bit.ly/ kHXzAZlt;/agt;/content updated2011-05-05T19:10:04Z/updated link type=image/png href=http://a1.twimg.com/profile_images/ 185321700/Kath_normal.jpg rel=image/ google:locationNew York/google:location twitter:geo /twitter:geo twitter:metadata twitter:result_typerecent/twitter:result_type /twitter:metadata twitter:sourcelt;a href=quot;http://twitter.com/ quot;gt;weblt;/agt;/twitter:source twitter:langen/twitter:lang author namekath (Kath)/name urihttp://twitter.com/kath/uri /author /entry Here is the code that we use to display the details of a Tweet. foreach( $results-entry as $result ) // for ATOM { echo h3a href=\. $result-author-uri .\. $result-author- name .a//h3img src=\. $result-link[1]-attributes()- href .\ style=\float: left;\p. $result-content./pdiv style=\clear:both;\nbsp;/div; } I was thinking more on the lines of $result-google:location Tried all combinations. Nothing worked. Could not find anything on when searching the Internet about this. Would be great if anyone could answer this for us. Thanks, Pavithra -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Problem with Removing Members from Lists
Hey there, You shouldn't get this message if you're using the user_id list_id parameters. Just to be sure, could you please share the full HTTP Request Response? Arnaud / @rno http://twitter.com/rno On Thu, May 5, 2011 at 3:55 PM, Canadaka canad...@gmail.com wrote: I am having trouble removing members from lists with PHP using the Twitter API. I am using lists/members/destroy http://dev.twitter.com/doc/post/lists/members/destroy I am providing the 'user_id' as a POST variable, but the response says You must specify a target user. $id = '972905'; $user_id = '14538949'; $result = $to-OAuthRequest('http://api.twitter.com/1/lists/members/ destroy.xml http://api.twitter.com/1/lists/members/destroy.xml', array('list_id' = $id, 'user_id' = $user_id), 'POST'); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: At Reply Spam
Dewald, These rules apply to third party apps. @twittersuggests is not a third party app, but an experimental feature, developed and owned by Twitter. Now I can also understand this Do as I Say, not as I Do situation can be irritating. But I guess the best thing to do at this point is probably to share your thoughts on the experiment through his dedicated feedback form: https://spreadsheets.google.com/a/twitter.com/spreadsheet/viewform?formkey=dHJ6UnYwdFZ6aHNRRVJoTU1mYl9FMlE6MQ Arnaud / @rno On May 5, 2011, at 11:56 AM, Dewald Pretorius dpr...@gmail.com wrote: Arnaud, That's comforting to know. With that being the case, can you please enlighten us as to why Twitter is apparently violating its own rules, which, as you said, are still in force and we all still are apparently expected to adhere to? Let me help you and quote from your rules the appropriate text: If you are automatically sending @reply messages or Mentions to a bunch of users, the recipients must request or approve this action in advance. Have any of the users targeted by @twittersuggests, which is sending automated @reply messages to a bunch of users, explicitly requested or approved this action in advance? If not, then you may have de facto invalidated that section of your rules and by implication exempted all developers and applications from it. On May 5, 12:45 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Dewald, Neither our TOS nor our Automation Rules Best Practices (http://support.twitter.com/articles/76915) have changed since the launch of @twittersuggests experimental feature :) Arnaud / @rno http://twitter.com/rno On Thu, May 5, 2011 at 6:00 AM, TjL luo...@gmail.com wrote: On Thu, May 5, 2011 at 8:31 AM, Dewald Pretorius dpr...@gmail.com wrote: With reference to @twittersuggests, is other unsolicited @reply spam now also officially sanctioned by Twitter? When has Twitter ever given you the idea that they were playing by the same rules as everyone else? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] At Reply Spam
Hey Dewald, Neither our TOS nor our Automation Rules Best Practices ( http://support.twitter.com/articles/76915) have changed since the launch of @twittersuggests experimental feature :) Arnaud / @rno http://twitter.com/rno On Thu, May 5, 2011 at 6:00 AM, TjL luo...@gmail.com wrote: On Thu, May 5, 2011 at 8:31 AM, Dewald Pretorius dpr...@gmail.com wrote: With reference to @twittersuggests, is other unsolicited @reply spam now also officially sanctioned by Twitter? When has Twitter ever given you the idea that they were playing by the same rules as everyone else? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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 API Console Documentation updates on dev.twitter.com
Hey Developers! You might have noticed that we started updating our developer portal yesterday, starting with the replacement of the old Twurl console with Apigee's. If you've never tried Apigee's test console, you should take a look at it! It's a great tool to test and debug your API calls, and we hope you'll like it as much as we do: http://dev.twitter.com/console On the documentation side, we updated our Twitter libraries page, cleaning and merging our old OAuth + Twitter sections. We know lots of you access our resources through open-sourced libraries, so let us know if you think we're missing a good one: http://dev.twitter.com/pages/libraries We've also been working on our API resources documentation (all of them are listed in the right sidebar on http://dev.twitter.com/doc): - Deprecated resources are now grouped in a new Deprecated resources category (for example http://dev.twitter.com/doc/post/:user/lists). On their doc pages we've recommended a new or replacement method you should use instead. - New lists resources have been documented (8 List, 5 ListMembers and 4 ListSubscribers resources) - Redundant streaming resources have been removed and redirected (all streaming API methods can be found on http://dev.twitter.com/pages/streaming_api_methods). - Lots of other API resources have been updated to reflect the way they're actually working today. We know accurate documentation is important for you guys, so please let us know if you think some of our API resources documentation still need some love. We'd love your feedback :) Arnaud / @rno -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Can I specify my own URL for the Tweet button?
Hey David, The Tweet Button will share your URL as a t.co link that redirects to the URL you provide (in your case: t.co -- bit.ly -- final destination). If you're using the count box, think also to set the counturl parameter to the final destination. Cf exemple here: http://dev.twitter.com/pages/tweet_button#using-shorturl Arnaud / @rno http://twitter.com/rno On Tue, May 3, 2011 at 3:48 PM, David Harkness dharkn...@gmail.com wrote: Greetings all, Our site currently has a Tweet button for news articles and reviews with correctly styling and retweet count. We are using Bitly to shorten the URLs on the backend, but this has caused us to hit the rate limit. To solve this I created a controller to do the shortening when the user clicks the Tweet button and redirect to Twitter's share URL, and I changed the Tweet button to point to this controller instead of twitter.com. However, the Twitter JavaScript is overwriting my URL. Is there any way to tell the JS API to leave the URL alone so we can call our own URL? Alternatively, are there any analytics available with Twitter's URL shortener that we can access? The only reason we need Bitly is for real-time analytics, and if t.co URLs can provide us the same features we'd be more than happy to use them. Thanks, David -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Twitter4j / showStatus method
Hey Luc, 1) You should not, indeed. But this tweet was probably posted before its Author turned protected. In that case, it can take some time to reflect on search results. 2) That unfortunately doesn't help me to reproduce your issue. What is the exact request you've been making? When? Full HTTP request/response would help. Concerning tweet IDs, they are not sequential but they are always increasing (on a 1 second interval). So you could use the since_id parameter with the last tweet ID you received. 3) If for some reason you lost connection with the Streaming API, you could still backfill with the same process you're using today :) Arnaud / @rno http://twitter.com/rno On Mon, May 2, 2011 at 3:35 AM, LucMartinPro captain.drinksa...@gmail.comwrote: Hi Arnaud Thank you for your fast reply! I have some more infor for you; 1) If the tweet is protected why does it show up in the tweet list? Is there a way to filter these out? Because if they’re not public and we cannot read / retrieve it, why are we even notified it exists? 2) We started polling every 15 minutes, but these problems started occurring when we started polling every 5 minutes. We do not use a “since_id” contraint, just the date-limited “since” constraint”. That’s because, as far as we understand, the tweet IDs are not incremental so using the “since_id” could cause tweets to be missed. By using “since”, using the last retrieval date, then looping through the results until we find an older result, should give us all new tweets. We currently do not use the streaming API because we can’t miss any tweets. If our retrieval application goes down for 15 minutes for maintenance, we won’t get any notifications. By using a date-limited query (why isn’t there a date/time limited query?) through the search API we can get everything since our last retrieval run, as long as the number of tweets does not exceed 1500 (Twitter’s maximum number of results for a query).” Thanks in advance! Luc On Apr 29, 6:36 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Luc, You're not getting rate limited. Let's take a closer look on these two errors: 1) First error: *Sorry, you are not authorized to see this status* That means the tweet you're trying to get is protected. Only people approved by its author (following him) can read / retrieve it. 2) Second error: *since_id too recent, poll less frequently* Looks like the since_id tweet you provided hasn't been indexed yet. Would be interesting to know the value you used and if you can reproduce this error (using the same since_id value). On an unrelated note, what kind of search requests are you doing? Have you considered the statuses/filter method of the Streaming API? That could be a much more efficient way for you :) - More info on: http://dev.twitter.com/pages/streaming_api_methods#statuses-filter - Twitter4j doc: http://twitter4j.org/en/javadoc/twitter4j/TwitterStream.html#filter(t...) Arnaud / @rno http://twitter.com/rno On Fri, Apr 29, 2011 at 6:53 AM, LucMartinPro captain.drinksa...@gmail.comwrote: Hello We are using our application CommCenter, to search twitter and get full tweet + user data based on query results using the Twitter4j query and showStatus methods. We need both as the query method does not return enough information (like retweet count and follower count), and we can't search using showStatus. Therefore, we first use query to get basic results, then for each call showStatus to get the detailed information. However, we're getting 403 errors such as 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (http:// support.twitter.com/forums/10711/entries/15364). error - Sorry, you are not authorized to see this status. request - /1/statuses/show/62741653433225216.json? include_entities=true Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=6b80c41cor http://www.google.co.jp/search?q=1b284c1e TwitterException{exceptionCode=[6b80c41c-1b284c1e], statusCode=403, retryAfter=0, rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=339, hourlyLimit=350, resetTimeInSeconds=1304029, secondsUntilReset=900, resetTime=Fri Apr 29 00:19:18 CEST 2011}, version=2.2.1} and 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (http:// support.twitter.com/forums/10711/entries/15364). error - since_id too recent, poll less frequently Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=d35baff5or http://www.google.co.jp/search?q=0886c892
Re: [twitter-dev] Authentication on statuses/retweets call
Hey Charl, The doc is outdated, this endpoint indeed requires authentication. Thanks for reporting, will update the doc. Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 12:02 PM, Charl van Niekerk char...@charlvn.comwrote: Hi All, I seem to be having a small issue: http://pastebin.com/n7jzikwh According to the documentation, Requires Authentication is false: http://dev.twitter.com/doc/get/statuses/retweets/:id Anybody that can help? Thanks, Charl -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Default Access type doesn't change after saving
By the way, I was just thinking... Could you double check you're using http://dev.twitter.com/apps and not any pages at http://twitter.com/apps or http://twitter.com/oauth_clients ? Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 8:48 PM, Arnaud Meunier arn...@twitter.com wrote: Hey Cassiano, Are you still experiencing this problem? I couldn't reproduce the issue. Switching access type works fine on my side (for both newly created existing apps). Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 9:30 AM, BurningFuses cassi...@gmail.com wrote: Hello. I need to create an App that has Read Write access. While creating the App I chose it to have this type of access type, but after saving I noticed that the access type was read-only, so I chose to edit the App and even after selecting Read Write and submitting, the default access type was still read-only. Does anyone knows what could be the problem? Any help is greatly appreciated. burningfuses -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Geolocation and Twitter API
Hey Padma, This location attribute is specific to geo searches (search API requests with geocode parameter), and reflects the way tweets are matched: - It is taking the Geo attribute if the tweet is geotagged. - Otherwise, it fallbacks to the tweet author's location (as defined in its profile). By the way: If you're looking for precision, you should take a look on the Streaming API (statuses/filter method with the locations parameter). Only tweets created using the Geotagging API will be matched this way (no fall-backing to Twitter profile). More info on http://dev.twitter.com/pages/streaming_api_methods#locations Arnaud / @rno http://twitter.com/rno On Fri, Apr 29, 2011 at 4:22 PM, harik padmahar...@gmail.com wrote: hI ... I am trying to map the tweets which I can retrive using Twitter Search API. This is what I have observed. When I search for tweets based on location(lat n long) using the query: search.twitter.com/search.atom?geocode=37.781157,-122.398720,1mi I see that (in the xml format) there is location tag where the latitude ,longitude or semantic address like minneapolis,MN etc are mentioned. But suppose I search for tweets based on a keyword ,say IPL search.twitter.com/search.atom?q=@IPL Then I do not see any location tag in the atom code.In fact I am not able to get any kind of location information . I know that not may people have enabled the geolocation feature,so the % of tweets having the location is very less. But What I have cross checked is,I used a map interface, and when I click on it ,it takes the co-ordinates and gives the tweets near by .These have the location tag.Suppose I choose a word from the first tweet and then search for that word as a search keyword, the I do get the same tweet as the latest tweet ,but it does not have the location tag. Why is this so? Can any one tell me -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] API requests redirect my server to /suspended
Hey Thomas, /statuses is not a valid API endpoint, and our routing system assumes you're trying to reach the statuses account, which is suspended (cf http://twitter.com/statuses). Take a look on our timeline resources on http://dev.twitter.com/doc and use one of these endpoints (for example /1/statuses/public_timeline.json) instead. Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 7:23 AM, Thomas Feron tho.fe...@gmail.com wrote: Hello, My application currently gets an access token and save it to a database for each member of my website. I checked the access tokens saved for my account and the ones in Your Apps MyApp My Access Token and they are correct. My account is not suspended and there is nothing on my application's page which says that it is suspended neither. I don't understand why I am redirected to /suspended when I request a page like /statuses while both of my account and my app are accepted. Is there anybody who can explain my problem ? I'm developing in Ruby using the OAuth gem. I do something like : OAuth::AccessToken.new(MyApp::Application.twitter_consumer, db_token, db_token_secret).get('/statuses') with the MyApp::Application.twitter_consumer method returning : OAuth::Consumer.new(consumer_key, consumer_secret, { :site = 'https:// api.twitter.com' }) Thank you, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter Share button: Change url to share *after* page loaded completely
Hey tburny, If you're trying to render the button after the DOM has loaded, the easiest way is to go for the iFrame version (using query string parameters to customize its behavior). More info on http://dev.twitter.com/pages/tweet_button#using-an-iframe Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 3:00 PM, tburny t.bu...@gmail.com wrote: Hi, I have a homepage where I want to enable users being able to share a radio station they just created. (See http://burnynet.de/combofm) I tried various things, like changing the data-url element or reloading the element completely, etc. Sadly I cannot find any documentation on widgets.js. The button script seems to run when the page is loaded and nothing more. The share button with the inbuilt url shortener would save me a lot of work. Any Ideas? Regards, tburny -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Default Access type doesn't change after saving
Hey Cassiano, Are you still experiencing this problem? I couldn't reproduce the issue. Switching access type works fine on my side (for both newly created existing apps). Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 9:30 AM, BurningFuses cassi...@gmail.com wrote: Hello. I need to create an App that has Read Write access. While creating the App I chose it to have this type of access type, but after saving I noticed that the access type was read-only, so I chose to edit the App and even after selecting Read Write and submitting, the default access type was still read-only. Does anyone knows what could be the problem? Any help is greatly appreciated. burningfuses -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Twitter4j / showStatus method
Hey Luc, You're not getting rate limited. Let's take a closer look on these two errors: 1) First error: *Sorry, you are not authorized to see this status* That means the tweet you're trying to get is protected. Only people approved by its author (following him) can read / retrieve it. 2) Second error: *since_id too recent, poll less frequently* Looks like the since_id tweet you provided hasn't been indexed yet. Would be interesting to know the value you used and if you can reproduce this error (using the same since_id value). On an unrelated note, what kind of search requests are you doing? Have you considered the statuses/filter method of the Streaming API? That could be a much more efficient way for you :) - More info on: http://dev.twitter.com/pages/streaming_api_methods#statuses-filter - Twitter4j doc: http://twitter4j.org/en/javadoc/twitter4j/TwitterStream.html#filter(twitter4j.FilterQuery) Arnaud / @rno http://twitter.com/rno On Fri, Apr 29, 2011 at 6:53 AM, LucMartinPro captain.drinksa...@gmail.comwrote: Hello We are using our application CommCenter, to search twitter and get full tweet + user data based on query results using the Twitter4j query and showStatus methods. We need both as the query method does not return enough information (like retweet count and follower count), and we can't search using showStatus. Therefore, we first use query to get basic results, then for each call showStatus to get the detailed information. However, we're getting 403 errors such as 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (http:// support.twitter.com/forums/10711/entries/15364). error - Sorry, you are not authorized to see this status. request - /1/statuses/show/62741653433225216.json? include_entities=true Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=6b80c41c or http://www.google.co.jp/search?q=1b284c1e TwitterException{exceptionCode=[6b80c41c-1b284c1e], statusCode=403, retryAfter=0, rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=339, hourlyLimit=350, resetTimeInSeconds=1304029, secondsUntilReset=900, resetTime=Fri Apr 29 00:19:18 CEST 2011}, version=2.2.1} and 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (http:// support.twitter.com/forums/10711/entries/15364). error - since_id too recent, poll less frequently Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=d35baff5 or http://www.google.co.jp/search?q=0886c892 TwitterException{exceptionCode=[d35baff5-0886c892], statusCode=403, retryAfter=0, rateLimitStatus=null, version=2.2.1} - It seems retrieving the full tweet + user data for each tweet (showStatus method call) counts as a hit so we're hitting our limit really quickly. Do you think there's a way around this or an obvious solution we don't see? whitelisting? Thanks in advance. Luc Martin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Where is the RSS feed link on #newtwiiter?
Hey Edward, You're not getting old :) We removed the RSS link on #newtwitter, but the exact same content is available through /1/statuses/user_timeline.rss For example: http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=rno Arnaud / @rno http://twitter.com/rno On Thu, Apr 28, 2011 at 3:49 PM, M. Edward (Ed) Borasky zn...@borasky-research.net wrote: Maybe I'm just getting old, but I can't seem to find the link for my account's RSS feed on #newtwitter. Did it go away? Is that feed deprecated? It's right where it always was on the old Twitter. ;-) -- http://twitter.com/znmeb http://borasky-research.net A mathematician is a device for turning coffee into theorems. -- Paul Erdős -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: /1/lists/show doesn't work when given a list slug
Hey there! There are two ways to identify a list with the new endpoints: 1) With the list_id parameter. For example: - http://api.twitter.com/1/lists/show.json?list_id=574 2) With the combination of slug AND (owner_id OR owner_screen_name) parameters. For example: - http://api.twitter.com/1/lists/show.json?slug=teamowner_id=783214 - http://api.twitter.com/1/lists/show.json?slug=teamowner_screen_name=twitter Arnaud / @rno http://twitter.com/rno On Fri, Apr 22, 2011 at 6:09 PM, Joe Mayo mayos...@gmail.com wrote: Seeing the same thing here. It would be nice to have some guidance on proper usage or confirmation whether it's a bug. Joe On Apr 22, 4:16 pm, Craig Walls hab...@gmail.com wrote: Per this announcement: http://groups.google.com/group/twitter-api-announce/browse_thread/thr... I'm changing my code to use the new routes. When I do something like: https://api.twitter.com/1/lists/show.json?list_id={list ID} screen_name={screen name} orhttps:// api.twitter.com/1/lists/show.json?list_id={list ID}user_id={user ID} ...it works fine. In fact, it seems that the screen_name and user_id are optional when using a list ID (because the list ID is unique on its own?). But if I do this... https://api.twitter.com/1/lists/show.json?slug={slug}screen_name={screen name} orhttps:// api.twitter.com/1/lists/show.json?slug={slug}user_id={user ID} ...it doesn't work. I've tried it for several different list slugs, both public and private, and no dice. Every time I get an HTTP 400 response. Per that announcement, shouldn't it work if I give it the list slug and either a user ID or screen name? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Is the verifier pin required in OOB?
Hey Ali, Out of band / PIN code authentication is just one of the OAuth authentication flows we are supporting. Cf http://dev.twitter.com/pages/auth_overview If your app can handle the full OAuth process, stick to it and forget about OOB :) Arnaud / @rno http://twitter.com/rno On Wed, Apr 20, 2011 at 10:23 PM, Ali t.alra...@gmail.com wrote: Hi, I've been experimenting with OAuth authentication with the Twitter API for desktop/mobile apps and found out that the verifier pin is not necessary. Once the the request token is authorized, I am able to exchange it for an access token without providing the pin code. Is this the official expected behavior? I couldn't find any info on OOB in the API documentation. It is just barely mentioned and the link for more info doesn't work. Is there any documented behavior regarding the verifier pin and whether requiring the user to enter the pin is recommended or required? 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
Re: [twitter-dev] Re: What does tweet id means?
Hey Leo, We're indeed using Snowflake (a Tweet ID generation service we developed). Tweets IDs are no longer sequential (but k-sorted with k = 1 second), and there is no way to count the total number of tweet sent every day. More info about Snowflake on our Engineering Blog: http://engineering.twitter.com/2010/06/announcing-snowflake.html Arnaud / @rno http://twitter.com/rno On Wed, Apr 20, 2011 at 10:22 PM, Leo leowll@gmail.com wrote: So that means we can not infer how many tweets are being sent from tweet id. I was wondering who is counting daily number of tweets. Of course Twitter is doing this itself, but the result goes public very late. On Apr 20, 8:24 pm, Tim Meadowcroft meer...@gmail.com wrote: I think you can only really rely on IDs having different values. In general, at the moment with Twitter, you could assume they increase over time, but (and I don't work for Twitter) typically ID allocation on large multihost systems don't work by allocating strictly sequential IDs without gaps - it's too hard to sequence and not really necessary. So, for example, one way is that you build a system that gives different ID-assigning-hosts small blocks of IDs that they can use so they can allocate a series of IDs knowing they're unique without having to take out any kind of global lock (they only take the lock to ask for a new block every now and then). Another approach might be to have clocks synchronised to some known accuracy and have IDs calculated as period-since-epoch * some-suitable-multiplier + unique-offset-per-host + incrementing-counter-for-this-host. I'm sure people can come up with other schemes as quick as we could type them up, but in general you make your ID space many orders of magnitude bigger than you strictly need, and in return you gain some flexibility in the criteria needed for quick and cheap unique allocation in a distributed system. But I wouldn't assume that every possible ID value is necessarily allocated. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] List Membership Add/Delete and 403 Error
Hey Shannon, Only the list owner can add/remove members to it. If the other account you're authenticating with is trying to add members to a list he doesn't own, you'll receive a 403. Take a look to your HTTP body, the error message is probably You aren't allowed to add members to this list. Arnaud / @rno http://twitter.com/rno On Thu, Apr 21, 2011 at 1:01 PM, Shannon Whitley shannon.whit...@gmail.comwrote: I'm able to add and delete list members using list/members for *my* account, but the same process is failing with another account. I know that the oAuth tokens are good because I can retrieve the list members. A 403 error is generated when when I try to add or delete members for this other account. I can't seem to find any issues with the account or the lists. I've tried several different lists and the don't have too many members. Again, I can retrieve the membership, but I can't add or delete any members. Is this a known Twitter bug? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] statuses/retweets_of_me does not work properly
Hey Ozgur, This is not specific to the retweets_of_me method. We do have an issue with the retweet_count, and we're looking into it. You can follow the issue here: http://code.google.com/p/twitter-api/issues/detail?id=2141 Arnaud / @rno http://twitter.com/rno On Wed, Apr 20, 2011 at 5:05 AM, Ozgur ozgurkaya...@gmail.com wrote: Hi everyone, I'm coding an app that users will see their own retweets that other users have retweeted. I call http://api.twitter.com/1/statuses/retweets_of_me.json url for this operation but when i look at the response i always see retweet_count field as 0, i also use trim_user parameter but again the response does not include any extra information about the users that retweeted. Is there problem with this method? could you know another solution for learning retweet count of tweet. 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
Re: [twitter-dev] 3 questions (include_entities=false; states; most recent status)
Hey Jovan, 1) include_entities controls Tweet Entities output (in the status object). For some User accounts, we're also testing outputting User Entities (for the description attribute). The include_entities parameter doesn't affect the output of these User Entities. 2) The Status object included in users/show is the user's last tweet. Now if you really need to get a user's last tweet (caching issues can happen) use the statuses/user_timeline method. 3) We're working on this one, thanks for reporting. Arnaud / @rno http://twitter.com/rno On Wed, Apr 20, 2011 at 2:14 AM, jovandoj jovan...@yahoo.com wrote: Hi everybody, I started developing a twitter application and I bumped into 3 issues: 1. When I send a request like the following: http://api.twitter.com/1/users/show.json?screen_name=someScreenNameinclude_entities=false ,if one of hashtags, usermentions or urls are not empty in the most recent status message, I get the entities JSON object although I specifically say include_entities=false Is this a bug, or am I doing something wrong? 2. How long lasts the ...most recent status... (http:// dev.twitter.com/doc/get/users/show) ? 3. Sometimes twitter sends back states when doing a users/show. Where can I read about this property (nothing available on docs)? In this states JSON object we get: bouncing_email detached_email needs_employee_email_update suspended pending_email Cheers, Jovan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Streaming API statuses/fileter method, follow parameter
With the follow parameter, you should only get real replies retweets. If you need to track all mentions, try the track parameter (i.e. track=@user) Arnaud / @rno http://twitter.com/rno On Tue, Apr 19, 2011 at 9:35 PM, Kumar kumar...@gmail.com wrote: Hi All, The streaming api documentation says that mentions, implicit retweets and implicit replies will NOT be returned. However, it looks like they are being returned. For our application we do need to keep track of mentions and the streaming api seems to work fine. Can we rely on it being present always? Is the documentation dated and need to be updated? Thanks, Kumar. - http://dev.twitter.com/pages/streaming_api_methods#follow References unmatched are statuses that were: Mentions (“Hello @user!”) Implicit retweets (“RT @user Says Helloes” without pressing a retweet button) Implicit replies (“@user Hello!”, created without pressing a reply “swoosh” button to set the in_reply_to field) --- -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Single Authentication for an App
Hey Ton, There was a similar discussion on this ML a few days ago: http://bit.ly/icFfcC We do not expire access_token (unless a user explicitly rejects you app) so you don't have to go through the whole OAuth dance once someone approved your app. Store your user's access_token and implement a session handling system. Arnaud / @rno http://twitter.com/rno On Mon, Apr 18, 2011 at 5:20 AM, ton t...@winemaker.nl wrote: Hi. I've made an app (for browser and mobile device and Desktop) It works fine but every time I start the app I have to get a new PINnumber from Twitter. Is there a way to trust an application once and use the given trustdata for all the subsequent uses? Best rgds, Ton -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Single Authentication for an App
The last step of the OAuth dance (exchanging request_token for access_token) will give you an oauth_token and oauth_token_secret. You'll just have to sign your requests with those. Cf this page for more information: http://dev.twitter.com/auth#auth-request If you're not familiar with the concept of signing your requests with OAuth, you should take a look on one of these libraries: http://dev.twitter.com/pages/libraries Finally, the X-FeatureRateLimit-Reset header has nothing to do with your access_token validity. Cf Rate Limiting documentation: http://dev.twitter.com/pages/rate-limiting Arnaud / @rno http://twitter.com/rno On Mon, Apr 18, 2011 at 11:02 AM, ton t...@winemaker.nl wrote: dear Arnaud, I've read what you've proposed. thanks for the info Storing info is no problem in either application. (what is the name used in the API documentation for the user-access token.?) - The problem is: How to give the app authenticated access to the user account without going to the process (inclusive logging in) - Is there an url build up for that like http://www.twitter.com?consumerkey=...consumersecret=account=...xyz=... .. - Related question: if the timerbased limit-reset takes place do you need a to login again or can you just start posting again. On Apr 18, 6:29 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Ton, There was a similar discussion on this ML a few days ago: http://bit.ly/icFfcC We do not expire access_token (unless a user explicitly rejects you app) so you don't have to go through the whole OAuth dance once someone approved your app. Store your user's access_token and implement a session handling system. Arnaud / @rno http://twitter.com/rno On Mon, Apr 18, 2011 at 5:20 AM, ton t...@winemaker.nl wrote: Hi. I've made an app (for browser and mobile device and Desktop) It works fine but every time I start the app I have to get a new PINnumber from Twitter. Is there a way to trust an application once and use the given trustdata for all the subsequent uses? Best rgds, Ton -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Can I fetch tweets posted by individual Apps within same twitter account?
Hey Vijay, If you retrieve your account's tweets through the API, you'll see each status object has a source attribute. If you already coded something to fetch / display your tweets through the /1/statuses/user_timeline endpoint, you'll just have to filter the tweets by checking this source attribute. You can also use our Search API, combining the from and source operators. Note you'll only get recent tweets this way. If you're looking for a widget, try our Twitter Search widget ( http://twitter.com/about/resources/widgets/widget_search). If you want to link to a twitter.com webpage, make your request on http://twitter.com/search-home Finally, you can obviously create two different twitter accounts :) Arnaud / @rno http://twitter.com/rno On Sun, Apr 17, 2011 at 9:27 AM, Vijay Chowdhary vjaychowdh...@gmail.comwrote: Hi, I have created two twitter apps within same twitter account. Both apps receive tweets from two of my blogs. I wanted to know whether I can show the tweets from each blog separately? Currently, my twitter account shows tweets from both Apps at one place. Please suggest. Regards, Vijay Chowdhary -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] the question about the limitation of the number of api call
Hey Daniel, You can make up to 350 authenticated GET requests, per token (user), per hour. So yes, the example you describe is supported :) Arnaud / @rno http://twitter.com/rno On Sat, Apr 16, 2011 at 6:08 AM, pan daniel danielpa...@gmail.com wrote: Hi, I have read the api document and I found the count of api call is 350 per person. I wondered if my app has plenty of people to use, which is your limitation? For example, I have 100,000 users and they use our app to access the twitter's data. Assume our user will call your api 6 times each throuth our application per hour, can this be supported by your api? If not, how about your limitation about your api calling, can you give me an certain number about this? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Bad Request (400) on a shared hosting platform
That's the problem with shared hosting IP addresses. I encourage you to sign all your requests using Oauth (http://dev.twitter.com/pages/auth) even if they don't require authentication. If you're not familiar with OAuth, take a look on these .NET Twitter libraries: http://dev.twitter.com/pages/libraries#dotnet Signing your requests will give you 350 calls / token / hour (instead of the 150 calls / hour you're actually sharing with all the other folks using your IP). Arnaud / @rno http://twitter.com/rno On Sat, Apr 16, 2011 at 9:18 AM, lordofscripts d...@hotmail.com wrote: I am new to Twitter development. I have a relatively simple control (ASP.NET) that grabs the list of tweets of my account. When I test it on my development environment (my PC, visual studio 2008) it works fine, I get the list of tweets. I deployed the control on the website (still not quite online but in a staging server with an URL I would rather not publish) then I get a Bad Request (400) response. I always get code 400 on the staging/production that is on a shared webhosting, and I always get it working fine locally. I have done at most 15 requests and it being a low traffic site, and the twitter control being on a page that is not often requested, I would say the amount of requests made would be rather small. I know for sure that *I* have not made enough requests to get blocked on the account of limits. So my question is what should I do? what would be the purpose of developing a webhosted twitter application (even if it is low traffic) if it is going to get black listed because of the cumulative requests of the shared hosting IP address (I think they host hundreds of accounts on it). Hopefully some enlightened soul leaves a good constructive answer, I don't want to spend more time on it if this is going to prove useless. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Repeated connection request
Hey Konstantin, OAuth is just an authorization/authentication mechanism. It's not handling user sessions. You'll have to implement it on your side. Now depending on what you want to do, you might be interested by web intents as they'll handle sessions mechanism for you (automatically detecting if the user is logged in to twitter.com and asking for login when necessary). Cf http://dev.twitter.com/pages/intents Arnaud / @rno On Fri, Apr 15, 2011 at 6:54 PM, Konstantin rasf...@gmail.com wrote: I can save access_token, but how can I use it later? A user doesn't enter any information (login, email, etc), so I cannot get his access_token from the database. A user may login to Twitter under different accounts or may use another computer, so I cannot use cookies too. A user just clicks Sign in with Twitter button and I guess all further actions should be done by Twitter. On Apr 16, 12:13 am, m36tb6ll raeste...@gmail.com wrote: Did you save the access tokens of each user and use them whenever a user log-in to your site/app? If not, then they will be asked to allow the app everytime they login to your site. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Confused about rate limits
Hey Alin, The sentence you used confused me, sorry. Now I guess you were talking about the account/verify_credentials endpoint :) Question for you: what is your X-RateLimit-Limit header value (for both account/verify_credentials and other endpoints you're using that require authentication)? Arnaud / @rno http://twitter.com/rno On Tue, Apr 12, 2011 at 8:06 AM, impeto impet...@gmail.com wrote: :) Ok, authenticated means what it means in the context of the API calls. I am a developer, I make the difference. Perhaps I wasn't too clear: first I used cURL to call http://api.twitter.com/account/ rate_limit_status.json anonymously, no oauth tokens, nothing, and I got 150. Then I used a CodeIgniter Twitter library from here https://github.com/elliothaughin/codeigniter-twitter to authenticate and make the call to account/verify_credentials and to account/ rate_limit_status. I got my account info ok, which means that the request was authenticated, but the rate limit was still 150 but with less remaining request (2 to be exact). There is no question about whether or not I am authenticated, because I call other API resources that require authentication and I always get the data with a 200 http status header, but the maximum hourly requests stay at 150 and the remaining requests go down after each call. I'm guessing that it may not stop at 150 on authenticated requests but I'd hate to have to sit here and click through my app 150 times to find out. Alin PS Why would you think I was talking about signing in on twitter.com when I was talking about verifying credential? On Apr 11, 10:11 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Alin, What do you mean by *I authenticated, verified the credentials and ** queried*? In this context (API call) authenticating means signing your request using OAuth. Signing-in with your account on twitter.com is a completely different thing and has no effect on your API requests. Arnaud / @rno http://twitter.com/rno On Mon, Apr 11, 2011 at 12:48 PM, impeto impet...@gmail.com wrote: Hey guys, maybe this question has been asked before, but I just joined the group. I just ran into a little problem that threw me off. I'm developing a website that uses the REST API extensively. The documentation says that anonymous requests get limited to 150 requests/ hour/IP and authenticated requests get limited to 350 requests/hour/ user. I did the anonymous request to account/rate_limit_status and I got 150; and then I authenticated, verified the credentials and queried account/rate_limit_status again. Got the same result. Why is that? When you are authenticated, aren't you supposed to get 350 back from account/rate_limit_status? Thanks in advance. Alin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] how do i know that a tweet i posted in twitter from my rails application?
Hey Anu, The tweet button currently doesn't support callbacks. However, there's this Enhancement ticket you can vote for: http://code.google.com/p/twitter-api/issues/detail?id=1835 Arnaud / @rno http://twitter.com/rno On Mon, Apr 11, 2011 at 10:39 PM, anu anu...@gmail.com wrote: Hi all, I am sharing the posts made in my rails application in twitter. Here is the code I am using: div id=custom-tweet-button a href=http://twitter.com/share?url=[url_value in this palce]text=This is a test target=_blank %=image_tag(../images/share_icons/ share_this_on_twitter.png, :id=twitshare, :border = 0) % /a /div When the user clicks on the twitter sharing image, another window will open in which it asks the user to login to twitter if he is not already logged in. Then after that tweet box will appear there with text populated in it. The user can click the tweet button there and the tweet will be posted in the logged in twitter account and a confirmation message will be displayed in this window and the window will be closed in few seconds. But my problem is this: How does my application know that the tweet is posted in twitter? the application needs to give some rewards to the user upon successful tweets in twitter. Any help? Thanks, Anu -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Confused about rate limits
Hey Alin, What do you mean by *I authenticated, verified the credentials and ** queried*? In this context (API call) authenticating means signing your request using OAuth. Signing-in with your account on twitter.com is a completely different thing and has no effect on your API requests. Arnaud / @rno http://twitter.com/rno On Mon, Apr 11, 2011 at 12:48 PM, impeto impet...@gmail.com wrote: Hey guys, maybe this question has been asked before, but I just joined the group. I just ran into a little problem that threw me off. I'm developing a website that uses the REST API extensively. The documentation says that anonymous requests get limited to 150 requests/ hour/IP and authenticated requests get limited to 350 requests/hour/ user. I did the anonymous request to account/rate_limit_status and I got 150; and then I authenticated, verified the credentials and queried account/rate_limit_status again. Got the same result. Why is that? When you are authenticated, aren't you supposed to get 350 back from account/rate_limit_status? Thanks in advance. Alin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] lists/memberships and authentication
Hey Idan, The doc is indeed outdated, thanks for reporting it. The following lists endpoints do not require authentication: - /1/:user/lists/:id - /1/:user/lists/memberships - /1/:user/lists/subscriptions Arnaud / @rno http://twitter.com/rno On Sun, Apr 10, 2011 at 3:31 AM, Idan Gazit i...@gazit.me wrote: Hey All, The docs for :user/lists/memberships indicates that auth is required, and yet this method works without authentication. Is this just a bug in the docs? The same information *is* available for unauthenticated browsers on the twitter website. To be clear, I want to use this unauthenticated, just want to make sure that I can rely on the behavior. -I -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Tweet Button vs ?Status=
As Tom said, you should use web intents if you're looking for a simple tweet link. It's really easy to implement, it doesn't require javascript, and it's mobile friendly. Oh, and you can also use the related and via parameters (if you like Tweet Button's suggested account system). More info on http://dev.twitter.com/pages/intents Arnaud / @rno http://twitter.com/rno On Sun, Apr 10, 2011 at 3:18 PM, Tom van der Woerdt i...@tvdw.eu wrote: Afaik Twitter is trying to get people to stop using /home?status=. You should use either /share or /intent. However: /share simply redirects to /intent. I'd definitely go with /intent/tweet because it allows more customization than /share. I definitely wouldn't use /home?status=. Tom On 4/11/11 12:09 AM, DustyReagan wrote: Yup. That's another way. Is that your preferred way? And if so why? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] weird things with statuses/user_timeline
My guess is you probably just received an HTTP 502 (FailWhale) at some point, this breaking your loop. What was the last HTTP response you received (including headers)? If it's a 502 error, just handle it in your loop (i.e. retrying after 10 seconds), and eventually reduce the count if that happens too frequently. Arnaud / @rno http://twitter.com/rno On Sun, Apr 10, 2011 at 11:32 AM, Randomness randomness.bl...@gmail.comwrote: I a trying to capture the last 3200 tweets from an authenticated user with the statuses/user_timeline method. I use count = 200 and have a function with calls the function 16 times with page being 1 to 16, so it looks like this: http://api.twitter.com/1/statuses/user_timeline.xml?user_id=.$user_id. 'count=200page='.$page.'include_rts=true'; The strange thing is that the first time for an account I only get a limited return of tweets like 800 or 1000. Then every subsequent try I get some more pages returned, until eventually I get all tweets sent by the user, or the maximum of 3200. Does anyone understand this or would this be a temporary glitch from the API ? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Tweet Button in Arabic Language
Hey Rami, The tweet button doesn't support Arabic language (cf. http://dev.twitter.com/pages/tweet_button_faq#languages). Now you can still build your own tweet button in order to replace Tweet by its translation in Arabic (cf. http://dev.twitter.com/pages/tweet_button#build-your-own), but the Share a link on Twitter pop-up will stay in English (or any other supported language you'd choose). Arnaud / @rno http://twitter.com/rno 2011/4/6 Rami Zahran ramiking2...@gmail.com Dears, I would like to ask you a way to use the Tweet button in Arabic Language as تويت. I need this very urgent. Could you please help me on this. Regards, Rami Zahran -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: direct_messages/new
Hey Chris, Looks like you're missing an s to direct_messages in the PHP code you're quoting. Would be interested to see your HTTP Response headers. Probably a 404 you got there. Arnaud / @rno http://twitter.com/rno On Wed, Apr 6, 2011 at 10:24 PM, Chris Teso christ...@gmail.com wrote: The Full http response is NULL. The request sent is $this-connection-post('direct_message/new', array( 'screen_name' = $username, 'text' = $text ) ) with proper auth headers. Again, the method works if we pass user_id rather than screen_name. $this-connection-post( 'direct_messages/new', array( 'user' = 19081905, 'text' = $text ) ); Using screen_name has been working for 4 months in our app, and stopped working 2 days ago. Thanks On Apr 5, 10:02 pm, Arnaud Meunier arn...@twitter.com wrote: Hey Chris, The endpoint is working fine with both parameters (just tested it). If you're still having this issue, think to provide more details (i.e. request sent with auth headers + Full HTTP response). Otherwise, people of this Mailing List won't be able to help you that much! Arnaud / @rno http://twitter.com/rnoOn Tue, Apr 5, 2011 at 4:34 PM, Chris Teso christ...@gmail.com wrote: direct_messages/new seems to have stopped working if using screen_name. The method works if passing user_id. Can you confirm either way? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] direct_messages/new
Hey Chris, The endpoint is working fine with both parameters (just tested it). If you're still having this issue, think to provide more details (i.e. request sent with auth headers + Full HTTP response). Otherwise, people of this Mailing List won't be able to help you that much! Arnaud / @rno http://twitter.com/rno On Tue, Apr 5, 2011 at 4:34 PM, Chris Teso christ...@gmail.com wrote: direct_messages/new seems to have stopped working if using screen_name. The method works if passing user_id. Can you confirm either way? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] X-Ratelimit-Reset, Retry-After, and what the actual values mean
Hey Tom, You probably want to pay the most attention to the X-RateLimit-Remaining header, which is the number of requests you can make before being rate-limited. It's a good practice to monitor this value and throttle your requests if necessary. The X-RateLimit-Reset timestamp indicates when you'll recover the maximum number of Hits (X-RateLimit-Limit) for the class (X-RateLimit-Class) your request falls into. Arnaud / @rno http://twitter.com/rno On Fri, Apr 1, 2011 at 11:31 AM, Tom Mc ugg...@gmail.com wrote: I've been looking at the ratelimiting response headers and have found some documentation, but nothing that provides me with sample values and what they mean. I'm developing an application in ColdFusion and using scribe (in java) for the OAuth library. I'm getting the headers back fine (at least X-RateLimit-Reset, I haven't hit the ratelimit for Search to see what it looks like yet) and I can read them in. That isn't the problem. What I'm having difficulty with is what the number that actually comes back. It appears to be a specific time in Seconds since 1/1/1970, but when I do the calculations, regardless of if i've hit the rate-limit I always get a time back that is 1 hour in the future. I feel like I'm just making a stupid mistake and overlooking something, but any help that you can provide would be much appreciated. Thanks, Tom McConlogue -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] data-related question
Hey Steve, No suggestion will be made if the user tweeting is already following you. Cf http://dev.twitter.com/pages/tweet_button#related By the way, your account is already going to be shown, thanks to the data-via parmeter. There's no need to use data-related in your case. Arnaud / @rno http://twitter.com/rno On Sat, Apr 2, 2011 at 6:12 PM, Steve Anderson stevein...@gmail.com wrote: Hi all, I'm trying to make my button suggest people follow my account after they tweet. I've seen this used by other but can't get it to work. I suspect Im not putting the data-related=anywhere:The Javascript API in the right place. What Im doing: a href=http://twitter.com/share; class=twitter-share-button data- url=http://openmedia.ca/meter; data-text=@pmharper @m_ignatieff @jacklayton @gillesduceppe @elizabethmay Stand up for the Internet #elxn41 data-count=horizontal data-via=openmedia_ca data- related=@openmedia_ca:The Javascript APITweet/ascript type=text/ javascript src=http://platform.twitter.com/widgets.js;/script For some reason it does not recommend people follow my account when I tweet it. Is that what's happening for others? What am I doing wrong? thanks, Steve -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Twitter search api rate limit
Search API rate limiting is not handled like other endpoints of the REST API. As explained on http://dev.twitter.com/pages/rate-limiting#search, the Search Rate Limit isn't made public to discourage unnecessary search usage. Concerning the User-Agent, use something like Your App Name - Version (it should be unique). Including an HTTP Referer (i.e. about page of your app) is also a good practice :) Arnaud / @rno http://twitter.com/rno On Sat, Apr 2, 2011 at 10:05 PM, sduffer shwetha.ga...@gmail.com wrote: Hi Team, I am using grackle client to retrieve results from search api of twitter. i am passing oauth parameter to retrieve 350 requests per hour. Though I am doing it right it still retrieves me only 150 requests per hour. I tried to verify account/verify_credentials and found i am passing the correction oauth params. Here is my dev code with Grackle gem twitter_client = Grackle::Client.new(:auth={ :type=:oauth, :consumer_key='key, :consumer_secret='secret', :token= 'token', :token_secret= '' }, :headers = {User-Agent = example.com}) I am passing User-Agent as I have seen it mentioned in rate limit api if it is correctly passed we can retrieve 350 requests per hour. Could you let me know if I am mssing something or should pass anything with Grackle api call to get 350 requests per hour using oauth. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] How to trigger the rendering of tweet button?
Hey, The easiest way would be be to use the iframe version of the Tweet Button: http://dev.twitter.com/pages/tweet_button#using-an-iframe Arnaud / @rno On Mon, Mar 28, 2011 at 5:46 AM, powtac pow...@gmx.de wrote: I have a asynchronous page where I want to place a Twitter Tweet Button. But because the widget.js is loaded at the beginning of the page and the a-tag is placed some seconds later on the page it is not rendered as a button. How can I (re)trigger the rendering of all tweet buttons? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Enforced profile picture dimensions/sizes
This particular problem only concerns a couple of users who didn't re-upload their profile image since we had this bug in 2009. Unfortunately, a fix is unlikely to come. In most of the cases, image size is correct. If it's just about displaying these images in a browser, you can set the image width/height attributes and/or use CSS (that's what we do on twitter.com). Now if you use these images differently and if their size is important for your app, you should add a check/validation step in your process, just like you should sanitize anything you consume to be sure an unexpected value won't break your app. Arnaud / @rno On Mon, Mar 28, 2011 at 2:17 PM, Helliax hell...@gmail.com wrote: A while back, there was a discussion thread about how some profile images did not adhere to the expected profile dimensions due to a one time internal Twitter bug (normal:48x48, mini:24x24, bigger:73x73). http://groups.google.com/group/twitter-development-talk/browse_thread/thread/a229247f6745266e/bf18641460af18f5?lnk=gst Since this problem still seems to exist (see: bigchris8504), is it safe practice to never assume we'll be getting profile images in the correct dimensions? Or is there a fix for this incoming? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] getting historical data for more than 150 / 300 users
As Tatham said, each access token gives you up to 350 GET Request per hours. Make some requests (signing them with different access tokens) and look at the X-RateLimit-Remaining header. Arnaud / @rno On Mon, Mar 28, 2011 at 6:29 PM, Tatham Oddie tat...@oddie.com.au wrote: If you use their OAuth token for each request, then aren't you counting against their usage limit? You could have 5000 users sign up in an hour. You perform 5000 API calls using 5000 different OAuth tokens. Each API call is one count against each token. Each user now has one less API call left that hour. That's how I understand it ... -- Tatham Oddie If you're printing this email, you're doing it wrong. This is a computer, not a typewriter. -Original Message- From: twitter-development-talk@googlegroups.com [mailto: twitter-development-talk@googlegroups.com] On Behalf Of fifi Sent: Tuesday, 29 March 2011 9:42 AM To: Twitter Development Talk Subject: [twitter-dev] getting historical data for more than 150 / 300 users How can an app get the historical twitter stream for more than 150 / 300 users in an hour? Those users are all signing up to our service and giving us their Oauth tokens. If more than 150 / 300 sign up in an hour, we can't get their historical data using the REST API because of Twitter's limits. Twitter's streaming API will let us get tweets for that user going forward in time, but won't allow us to see the tweets that are already in their stream. Is there any solution for this use case? We want to offer a service that parses user's twitter streams for statistical data, but if we can't go back and get their historical record, they'll have nothing when they first log in to the site. -- Twitter developer documentation and resources: http://dev.twitter.com/docAPI updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] convert large number of usernames to userids
Hey Riley, You should use users/lookup, with the screen_name parameter (up to 100 are allowed in a single request). Not sure to get what you mean by the OAuth of the users I am looking up? The only thing you need is to sign your request. Arnaud / @rno On Mon, Mar 28, 2011 at 1:14 PM, Riley digitalsimplif...@gmail.com wrote: How would I go about converting a large number of usernames (300+) to userids? My plan is to use user/follow, which uses userids. I have tried using users/lookup (http://dev.twitter.com/doc/get/users/ lookup), but I need the OAuth of the users I am looking up, which I don't have. I could use user/show but that would take a long time, I am hoping to find something more efficient. Thank you. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter share button without count
Hey, Simply set the data-count property to none. For more information, read the doc: http://dev.twitter.com/pages/tweet_button#position-count Arnaud / @rno http://twitter.com/rno On Fri, Mar 25, 2011 at 9:03 AM, twitter dev dev.at.twit...@gmail.comwrote: HI Guys, I'm using the following code for Twitter share button with count, a href=http://twitter.com/share; class=twitter-share-button data-url= http://sample.com; data-text=Sample message! data-count=horizontal data-via= data-related=Tweet/a script type=text/javascript src=http://platform.twitter.com/widgets.js /script Now, I would like to hide the count and have only button. Can anyone please suggest or point me to the code ? I tried removed data-count, which dint fixed the problem. I did not find this on Twitter doc's. Thanks In Advance, -dev. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Twitter Basics and Errors
Hey Chris, 1) Is the IP you're using shared? For example, what was the value of X-RateLimit-Remaining _before_ starting the test? If you're concerned with Rate Limiting, you should really consider authenticating your calls. 2) Looks like you're not using your library correctly for search. Try: $search = $twitterObj-get_search(array('q' = 'whatever')); Arnaud / @rno On Fri, Mar 25, 2011 at 12:24 PM, Chris S. thedomin...@gmail.com wrote: I am in the process of getting re-acquainted with the API after a lot of changes and I have run into some issues. I am getting rate limited when I do a call to get the follower IDs. As I understand it, it has 150 uses on my IP per hour, but I couldn't have made more than 4 calls. My script is fairly simple as a test: $twitterObj = new EpiTwitter(); $followers = $twitterObj-get_followersIds( array ('screen_name' = 'whoever')); print \n . count($followers); This isn't a part of a loop or anything, but I get a Rate Limit Exceeded error after only one or 2 calls to this. Any idea what could be wrong? Also, has something changed with search? I attempt to do: $twitterObj = new EpiTwitter(); $search = $twitterObj-search('whatever'); echo $search-responseText; And I get a 403 Forbidden error. Both my examples are using the php wrapper found here: http://www.jaisenmathai.com/articles/twitter-php-oauth.html If anyone has any help with my I might be seeing these errors, or if there is a better library for PHP to do basic no authentication tasks, such as getting a users followers and doing basic search queries, I would very much appreciate it. Thank you. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Missing images on Trademark Guidelines; T logo resource
Hey Abby, You won't be able to find the t logo because we replaced it with the bird logo. As stated in the page you linked to (Guidelines for use of the Twitter trademark - http://support.twitter.com/entries/77641) you should use the most recent version of our logos (which is a bird if you're looking for a small icon). Arnaud / @rno On Fri, Mar 25, 2011 at 4:31 AM, Abby warmic...@gmail.com wrote: Hi, I am trying to access the following page: http://support.twitter.com/entries/77641 The images are not appearing, and none of the other pages (eg http://twitter.com/about/resources/logos) have the 'T' logo. Does anyone know where I can find T logo resources? Thanks Abby -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Search API: Secure profile image URLs
Hey Jacob, Valid SSL certificates are installed on si[0-5].twimg.com subdomains. On your SSL served pages, you could simply replace http://a; with https://si;. Example for the @twitter account: - HTTP: http://a3.twimg.com/profile_images/1124040897/at-twitter_normal.png - HTTPS: https://si3.twimg.com/profile_images/1124040897/at-twitter_normal.png Arnaud / @rno On Tue, Mar 22, 2011 at 4:37 PM, Jacob jacob.h.p...@gmail.com wrote: Our application can sometimes be rendered within an HTTPS URL. To avoid mixed security content warnings in browsers, we were able to selectively convert our search API calls so they use HTTPS. However, the profile image URLs returned by the search API are HTTP URLs, and changing the protocol to HTTPS doesn't work (it seems like the image servers don't support HTTPS). This causes a mixed content warning when we render those URLs as HTML images. I would be OK with us having mixed content, but IE8 is particularly bad at how it confronts users with this condition. Is there way for me to create an HTTPS user profile image URL that works? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Bad Word Filter
Hey Alex, I don't know in which context you plan to use this search widget, but trying to make your search results kid-friendly with simple bad-words filtering doesn't look very realistic. What about a manually curated list of tweets? Did you have a chance to take a look on the Faves widget, for example? Now if you want to use search, you can host modify the widget.js file. But if you just need to hide the join the conversation link, a simple CSS rule will do the trick: .twtr-join-conv { display:none !important; } Obviously, that CSS rule might become useless if the widget markup changes in the future. Arnaud / @rno http://twitter.com/rno On Tue, Mar 22, 2011 at 12:00 PM, Alex Beckman a...@alexbeckman.com wrote: Hey All, We have a client that wants to use a twitter filter on their site, but wants to filter out about 100 or so bad words (kids content). We have been using negations but when you click join the conversations they all show up with a -bad word at the top of the page. Does anyone have advice on how to create a CUSTOMIZED twitter widget that has bad word filtering and doesn't expose the filter upon click? We tried TidyTweet, and could not achieve the needed level of custom look and feel. Thanks! Alex -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Tweet button over HTTPS
Hey Felipe, If you checked the Always use HTTPS box in your Account settings, the Share this on Twitter popup (that appears when you actually click the button) will be served over SSL. However, the button itself doesn't work over SSL yet (cf: http://dev.twitter.com/pages/tweet_button_faq#https). We're working on it. Arnaud / @rno http://twitter.com/rno On Tue, Mar 22, 2011 at 5:43 AM, felipe.lavin felipe.la...@gmail.comwrote: I recently set my Twitter account to use HTTPS only, but when using the tweet button I always get the plain HTTP version... is it scheduled for any time soon for the tweet button to recognize this setting? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter app on iPhone
Which features are you actually thinking about? Except the « Signup » feature, I didn’t see anyhing that couldn’t be reproduced on another third party client using the Twitter API… Arnaud Meunier | @twitoaster http://twitoaster.com On 19 mai, 13:17, Rich rhyl...@gmail.com wrote: So Tweetie is now Twitter and has features that no other API client can offer. How about giving us access to features that the new Tweetie has that there is no public end point for such as signing up for an account or suggested user lists?
[twitter-dev] @Anywhere and Usernames (15+ chars) question
Enjoying a free Saturday afternoon, I was playing with @Anywhere and I noticed something quite strange related to Twitter Usernames. The @Anywhere documentation says A Twitter screen name is an '@' symbol followed by 1 to 20 alphanumeric characters, including underscores The problem is… I thought a Twitter Username could not exceed 15 characters? Try to create / change your username to something longer than 15 chars: you can’t. But @Anywhere JS is still trying to add Hovercards to these strings (@15+ chars) that cannot match any Twitter User. Is it a bug? A confusion with “Real Names”? A necessity because of a previous policy (can’t remember if you could create 15+ chars Usernames in the past)? Or do you plan to allow usernames longer than 15 chars in a near future? Was just wondering :)
[twitter-dev] Re: Chirp tracking on MadChat
Nice! But... I couldn't miss this opportunity to share my own version of Chirp tweet tracking page, focused on conversations! :p http://twitoaster.com/twitter-chirp-conference/ It threads in real time all attendees' conversations, displaying their discussions rather than disjointed tweets. Arnaud - http://twitter.com/twitoaster On Apr 12, 11:53 pm, Chad Etzel jazzyc...@gmail.com wrote: Hi all, I have setup a special Chirp tweet tracking page on MadChat (an as of yet unreleased site I've been working on) so folks who are not at the conference (or even if you are) can easily read all of the Chirp chatter. It is intentionally minimally designed to look like a chatroom and have no avatars, so you get the max text-per-screen ratio. Bonus points if you use the Terminal Skin under Settings. The url ishttp://madch.at/chirp It is tracking the #chirp hashtag as well as all @chirp mentions. There is little happening there right now, but I wanted to get the word out. It's using the Streaming API, so it feels just like a chatroom. To reply to a tweet, just click on the username on the lefthand side of the chatroom to link the reply to that tweet. Stuff you type will be tweeted out once you hit Enter, so be mindful of that. Anyway, hope this helps some people be able to monitor the backchannel of tweets and is another cool example of what you can do with the Streaming API. chirpity chirp, -Chad