[twitter-dev] Re: Additional attribute in share link
Looks like a 13-digit timestamp - e.g. Python millis() On May 23, 10:09 pm, 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-dev] Re: Twitter group API
er, there might be.. For Group substitute list. Maximum is 500 followers/list. If they are following you, you can message them. Where's the problem? On Mar 15, 9:25 pm, Tim Haines tmhai...@gmail.com wrote: No, there's not. On Tue, Mar 15, 2011 at 1:03 PM, Richard fireston...@gmail.com wrote: Does anyone know if there is program available to create several groups using one Twitter account and allowing you to message each of those groups individually? For example - Twitter.com/username Group 1 (100 followers) Group 2 (56 followers) Group 3 (77 followers) I would like to send separate messages to each of those groups. Please let me know if you know of any way to do this via API or a 3rd party program. Thank you. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to send tweets from multiple accounts without having to login
You will have stored the tokens for those accounts that you control and on behalf of which you want to send Tweets. You no longer need to authenticate via Twitter, just be logged in to your own system. You can use a form that includes a SELECT tag allowing the choice of account to use when tweeting. Bear in mind that consistently tweeting the same tweets from multiple accounts is probably not a very good idea. As an aside, re-reading the TOS, I wonder whether this pattern on a public web site - whereby a user is enabled to send Tweets without passing the Connect with Twitter step - requires display of the end user's Twitter identity, including visible display of the end user's avatar, Twitter user name, and the Twitter bird mark. (Rules III.3) On Mar 16, 8:12 am, Laddi satinderhundal1...@gmail.com wrote: HI, I have registered application onhttp://dev.twitter.com/. Now please tell how to send tweets from multiple accounts without having to login. Thanks satinder singh hundal -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Recurring Tweets
Similarly, I have noticed that an exact duplicate tweet is no longer systematically rejected. Our CMS was set up to tweet new content items when they are first viewed by a visitor. If two visitors view the same new item at nearly the same time, two tweets are sent. Until recently, one would be rejected. Now, both are published and we have to delete the duplicate to avoid looking stupid. This behaviour seems to have changed 1-2 months ago. On Mar 7, 4:17 pm, Tammy Fennell tammykahnfenn...@gmail.com wrote: Hi There, I was just scanning the twitter automation rule and it doesn't say anything about reoccuring scheduled tweets. I swear it used to say it was banned, but has Twitter ammended this now for certain business use? Hope so, it's great functionality when used right! Best, Tammy -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Bigger avatar images for users/profile_image/twitter ?
Avatars come in three sizes: mini = 24x24 normal = 48x48 bigger = 73x73 reasonably_small = 128x128 http://a3.twimg.com/profile_images/361706538/mk1_mini.jpg http://a3.twimg.com/profile_images/361706538/mk1_normal.jpg http://a3.twimg.com/profile_images/361706538/mk1_bigger.jpg http://a3.twimg.com/profile_images/361706538/mk1_reasonably_small.jpg The original seems to be available at http://a3.twimg.com/profile_images/361706538/mk1.jpg -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Recurring Tweets
1537, I'm not sure you're going to get an official response since the twitter team will be wanting to prevent abuse. Basically I was talking about two or more consecutive tweets with char- for-char the same content. But I believe the guidelines referred to above warn that near-identical tweets too, if repeated too soon or too often, could be caught by an anti-spam algorithm. And even if some perfect formula allowed such tweets to get through, they could be viewed as spam. More and more I see the same messages repeated after a few hours or the next day. I'm free to unfollow or reply, but basically I think it means I am spending too much time on Twitter... Ken On Mar 7, 8:22 pm, 1537 News 1537n...@gmail.com wrote: What is considered an Exact Duplicate Tweet? On Mon, Mar 7, 2011 at 11:03 AM, Ken D. k...@cimas.ch wrote: Similarly, I have noticed that an exact duplicate tweet is no longer systematically rejected. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: POSTs to :user/:list_id/create_all returning HTTP status 404 for all requests
Mistakes are a fact of life, no excuses necessary. What is hard to understand is not being able to change a few characters in the documentation, while developers continue to fall into this silly trap. Is the doc generated from the code? Doesn't look like it. Of course, this documentation bug - and the FAQ about getting a user's email address, which could also be laid to rest by improving the doc - keeps this list alive, so I shouldn't complain. On Mar 3, 7:24 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: There's obviously no good excuse I can tell you for the documentation being wrong. In this case, the old resource was never deprecated and never existed -- the documentation was wrong from the beginning. We're very aware of documentation bugs and are actively working towards allowing their modification with more fluidity than we have today. Thanks for your patience while we get there. @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Mon, Feb 28, 2011 at 8:21 AM, sferik sfe...@gmail.com wrote: On Monday, February 28, 2011 8:05:09 AM UTC-8, Taylor Singletary wrote: It's a documentation error at the moment, the proper path is: POST :user/:list_id/members/create_all When was the old resource deprecated? Were there any other resources that changed at the same time? I try to pay close attention to the Twitter API Announcements list, but don't recall seeing anything about this. Could you direct me to the relevant post? I'm disappointed that the documentation is not keeping up with the API. If anything, the documentation should be coming ahead of changes, not trailing them. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: display user's profile image - definitive answer?
A couple of months ago, the consensus seemed to be to use tweetimag.es with user id, like so: http://img.tweetimag.es/i/8970972_o Ken On Feb 17, 1:16 pm, del del1...@googlemail.com wrote: Hi All, New to the forum, apologies if I'm covering old ground. I've done a search but can't find a definitive answer: I'm trying to develop a simple page that will display the last 25 of my twitter feed. All I want to display is each user's profile image (thumbnail) and their tweet. While I am new to this, this seems like a basic development task. When I access my twitter's json file... http://api.twitter.com/statuses/user_timeline/xxxUserdIdxxx.json?coun... ... I do indeed get the information I need - except the user.profile_image_url is MY profile image?? So I have 25 tweets from different users (correct) all displaying my profile image next to them (incorrect). Why am I not getting each user's profile image? I know I can check the user's profile image viahttp://api.twitter.com/version/users/profile_image/:screen_name.format but as that is not the recommended solution due to rate limits what should I do? Thanks in advance, Del -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Data-expanded-url attribute
I have a possibly related problem. We also use an inhouse shortener that returns a 301 redirect, but Twitterbot misinterprets the shortened URLs. The usual search engine bots follow the redirect correctly, as far as I can tell. Each tweet results in a frenzy of 404s from API users who have received the incorrect URL. Mousing over the shortened URL on Twitter.com shows the incorrect URL in the title tooltip. Fortunately for now, it seems we are not subject to t.co wrapping so the original, correct short URLs can be clicked by Twitter.com users. The incorrectly interpreted URL is always the same. We've set it up to redirect to our home page so all is not lost. Any ideas what could be going on here? Thanks, Ken On Feb 14, 2:04 am, ctrand ctr...@gmail.com wrote: Any ideas on this one guys? On Feb 10, 4:06 pm, ctrand ctr...@gmail.com wrote: Hello, I have a bunch of shortened urls which are resolved/redirected to full urls by my webapp. e.g. http://dealush.com/sale/2wml resolves to http://dealush.com/shopping-sales/2wml/sydney-sale-8-off-at-catwalk-w... When I tweet the short URL, sometimes the data-expanded-url attribute is populated for the url and when I mouseover it I can see the full url. However sometimes it is not populated, and there is no data- expanded-url attribute at all! I am wondering if anyone can shed some light onto why it would be so. I am also thinking that this is affecting the counters on my tweet buttons, as tweets that do have an URL with the data-expanded-url attribute give a +1 for the counter, and those that do not have a data- expanded-url don't. Does something need to happen for the data-expanded-url value to populate? Or perhaps there something wrong with some of my URLS? Note: THe example URL above does have a data-expanded-url value. Thanks in advance, Carl PS - Please let me know if you need any additional information from me and it will be forthcoming! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Media Partnerships and Oembed for Twitter's Detail Panel
Ashley, While waiting for native support from Twitter, have you checked out the embed.ly Parrotfish plugin ( http://labs.embed.ly/ ) ? Grooveshark is one of 160-plus OEmbed-compliant media partners supported by the plugin. Tweets bearing supported URLs are marked in the timeline and yes, you'll see Grooveshark content in your Twitter right pane. Don't know how many people are using it. Ken On Feb 1, 9:38 pm, Ashley Sarver asarv...@gmail.com wrote: The purpose of this is to find out a way to use twitter's oembed for listen.grooveshark.com links, and embed the media player of a specific song when the link is posted. How long does requesting permission for a media partnership take, and has anyone had problems requesting a partnership? Has anyone atempted to use oembed on twitter, or began working with oembed? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Media Partnerships and Oembed for Twitter's Detail Panel
I just re-enabled the Parrotfish plugin and it's pretty amazing. It's pulling content from my own website and from just about any URL mentioned in a Tweet. Goes way beyond the advertised performance. On Feb 2, 1:26 pm, Tom van der Woerdt i...@tvdw.eu wrote: Some Twitter applications (including my own) use embed.ly to display content. Tom On 2/2/11 1:25 PM, Ken D. wrote: Ashley, While waiting for native support from Twitter, have you checked out the embed.ly Parrotfish plugin (http://labs.embed.ly/) ? Grooveshark is one of 160-plus OEmbed-compliant media partners supported by the plugin. Tweets bearing supported URLs are marked in the timeline and yes, you'll see Grooveshark content in your Twitter right pane. Don't know how many people are using it. Ken On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.com wrote: The purpose of this is to find out a way to use twitter's oembed for listen.grooveshark.com links, and embed the media player of a specific song when the link is posted. How long does requesting permission for a media partnership take, and has anyone had problems requesting a partnership? Has anyone atempted to use oembed on twitter, or began working with oembed? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Geocoded searches broken
Since yesterday, geocoded searches have been broken intermittently. Sometimes results are returned normally, then for stretches of time (30 minutes or more) no results are returned. During that time, there's a warning like the following: adjusted since_id to 8230615843933184 due to temporary error Here's a query that at this very moment (~11:55 AM) returns zero results: http://search.twitter.com/search?q=near:%22Edmonton,Alberta%22 It stopped working about an hour ago (~10:55 AM MST). Any information on this? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: statuses missing geo /
Add Location to your tweets does not actually add a location - good point, and you are probably not the first to think so. It only enables your account to accept location information. It is still up to you to send the geo data. On Nov 9, 12:23 pm, Andrew Cross. Gna success@gmail.com wrote: I am succeeded in integrating the twitter with my web application and access the twitter futures. Now, I need your help to get the following in the list of my statuses. geo / coordinates / place / at the below of the user tags of the tweet status list. I have enabled the Tweet Location Add Location to your tweets checked to TRUE. May I know, do I need to make any other settings to be set in order to get the elements filled with the right information. Thanking You Regards, Gna Andrew Cross -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: #newtwitter direct message UI
Good points. The order is not random - it's the same each time - just baffling and useless. Perhaps we are meant to delete read messages? A useful 3rd party app might archive and delete them, leaving only new messages on Twitter and helping to resolve the rogue app reading dms issue. On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote: The #newtwitter direct message UI sucks. - There's no indication on the main UI that you have an unread message. If you miss the email notification you will never notice the message. - On the DM page, there's no indication of which conversations have unread messages, or even the most recent messages. The conversations are presented in random order. - When a conversation is displayed, again there is no indication of which messages are unread or which is the most recent. Again they are displayed in random order. So. Are there plans to improve it? Has anyone written their own improved version? Anyone want to collaborate on writing one? --- Jef -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: #newtwitter direct message UI
Oh great. I just got my first email spam purporting to be a Twitter DM notification. On Nov 5, 9:19 am, Ken D. k...@cimas.ch wrote: Good points. The order is not random - it's the same each time - just baffling and useless. Perhaps we are meant to delete read messages? A useful 3rd party app might archive and delete them, leaving only new messages on Twitter and helping to resolve the rogue app reading dms issue. On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote: The #newtwitter direct message UI sucks. - There's no indication on the main UI that you have an unread message. If you miss the email notification you will never notice the message. - On the DM page, there's no indication of which conversations have unread messages, or even the most recent messages. The conversations are presented in random order. - When a conversation is displayed, again there is no indication of which messages are unread or which is the most recent. Again they are displayed in random order. So. Are there plans to improve it? Has anyone written their own improved version? Anyone want to collaborate on writing one? --- Jef -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
۔ the above Unicode character is the closest I could find to a dot, without being a dot... On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
cool, that seems to have worked. Just that it's a funny character to work with: #1748; - try and you'll see Anyway it probably defeats the URL parsing. On Nov 5, 5:11 pm, Ken D. k...@cimas.ch wrote: ۔ the above Unicode character is the closest I could find to a dot, without being a dot... On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Posting to tweeter directly via JS?
Try tweeting this: http://not-a-url۔com On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote: Hello all, I am in need of developing a JS manner of making a tweeter post that is slightly different from what Twitter already offers (I mean the Tweet button). THe post I need to make comes under this form: Please visit A.BBB using very long URL here If I use the Tweet button, the very long URL is shortened (ok) but the company name which is close to an URL form is also rewritened as a short URL (wrong). I need to have the company name left alone somehow, yet keeping the current form A.BBB in plain text (or as a URL, but not shortened) as well as the shortened long URL. Is there a way to tell twitter to not forcibly shorten an URL that's not in full URL format? Or at least mark the first one to be skipped from shortening? (I could do this if I would manually shorten the long URL, but I cannot do that in my production system, I still need Twitter to handle that). I need a JS-only solution and until now nothing I tried works. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Upload image with a tweet
OK, I tested it for you. Post a tweet containing the URL of a Flickr image, you get the preview. Post a tweet containing the URL of your avatar on Twitter, no preview. Keep searching, you find somewhere it's been mentioned the media partners or some such. On Nov 4, 3:20 pm, fxbois fxb...@gmail.com wrote: Any Twitter developper have a clue about this ... I ve searched a lot on the web have found nothing On Nov 3, 6:27 pm, Ken D. k...@cimas.ch wrote: Maybe I'm wrong, but doesn't it have to do with *where* the image is hosted? I thought Twitter had a list of recognized rich content websites, à la embed.ly. On 3 Nov, 18:09, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it somewhere else and have a link to it, there is your preview. Best, -- Edward H. Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/ -- edward.png 3KViewDownload On Nov 3, 2010, at 4:20 AM, fxbois wrote: Hi thanks for your response. I've tried to include in a tweet the url of an image but I don't have the image preview when I click on the tweet and I don't have the little picto (top right corner) that shows that the tweet includes an image. I there anything I miss ? Isn't there any hidden param to the publish method ? On Nov 2, 7:30 pm, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: No, because it needs to be hosted somewhere else. It's just a shortened link to the pic. You can roll your own. Best, -- Edward H. Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/ -- edward.png 3KViewDownload On Nov 2, 2010, at 6:12 AM, fxbois wrote: Hi, is there any API that can be used to insert an image in a tweet. I know that I can use external services like twitpic but I would prefer to use an internal twitter API if it exists. Thanks in advance Fx -- Twitter developer documentation and resources:http:// dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/ issues/list Change your membership to this group:http://groups.google.com/ group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: About catching Twitter user status
you're right, it's pretty hard to find this information. It's way down in 4th position of a Google search for Twitter API : http://dev.twitter.com/doc On Nov 4, 4:44 am, ESN ihsuanli...@gmail.com wrote: HI, I am beginner of using twitter api. If I want to collect user status from Twitter, what approach should I take? How to use java to collect all users status, if I want to use the jsp / java with Twitter API. 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-dev] Re: Suggestion for new feature ..
Favorite On Nov 4, 10:17 pm, Ronak Kumar Samantray ronak@gmail.com wrote: It would be super-cool to have this feature. Many a times i just skip the tweet for future reference, it would cool if i could mark it somehow.. Ronak Kumar Samantray Hyderabad Mobile : +91-9347290267 040-66933916 On Fri, Nov 5, 2010 at 2:32 AM, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: borat, check out hootsuite. this is a list for dev not end-users. Best, -- Edward H. Hotchkiss http://www.edwardhotchkiss.com/ http://www.twitter.com/edwardhotchkiss/ -- On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote: Hi Guys !! I´m use Twitter for a short time. Sometimes I see important tweets attached with movies and URL links, but, don´t have time for read on this moment. It´s possible mark that tweet for read later ??? And .. other important feauture will be score for ranking tweets. Thanks, -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Upload image with a tweet
Maybe I'm wrong, but doesn't it have to do with *where* the image is hosted? I thought Twitter had a list of recognized rich content websites, à la embed.ly. On 3 Nov, 18:09, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it somewhere else and have a link to it, there is your preview. Best, -- Edward H. Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/ -- edward.png 3KViewDownload On Nov 3, 2010, at 4:20 AM, fxbois wrote: Hi thanks for your response. I've tried to include in a tweet the url of an image but I don't have the image preview when I click on the tweet and I don't have the little picto (top right corner) that shows that the tweet includes an image. I there anything I miss ? Isn't there any hidden param to the publish method ? On Nov 2, 7:30 pm, Edward Hotchkiss edw...@edwardhotchkiss.com wrote: No, because it needs to be hosted somewhere else. It's just a shortened link to the pic. You can roll your own. Best, -- Edward H. Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/ -- edward.png 3KViewDownload On Nov 2, 2010, at 6:12 AM, fxbois wrote: Hi, is there any API that can be used to insert an image in a tweet. I know that I can use external services like twitpic but I would prefer to use an internal twitter API if it exists. Thanks in advance Fx -- Twitter developer documentation and resources:http:// dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/ issues/list Change your membership to this group:http://groups.google.com/ group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to display lists from multiple users in an app
If you own a private list and want to share the content, you just use your own credentials (My Access Token) to fetch it. Real-time or cached, whatever works for you. There is no 'logged in' - each API call is authenticated. How could a user break into your account? A single web page can display content retrieved from different accounts - yours and the user's, for example. On 3 Nov, 18:46, Adam Nason apna...@gmail.com wrote: Twitter limits each user account to 20 lists. I have three accounts with different purposes but need the 60 lists across these three accounts to be displayed on one page on my website. Each list link needs to be clickable to the status updates from that list (in that same page likely using ajax). They are private lists (created for viewing only in the app) and I would like to keep them that way though I will take them public if absolutely necessary. I'm just the content manager asking this on behalf of the developer so I know little about oAuth but this is how it has been explained to me: When you request an access token you send Twitter a current timestamp and that timestamp is used to make a signature_basestring. With that signature, you sign every request you send to Twitter. It's a bit tricky not to enter login/pass manually when Twitter asks you to do that. And then there is my concern about the security of my accounts if they are logged into on a public, live webpage (warranted/ unwarranted? not sure). The developer mentioned that even if we take the lists public, we would still need to use oauth/logins to retrieve status updates from the lists. What he proposed is doing the oauth/logins process behind the scenes periodically during the day (based on cron.php timer) and displaying cached messages to users of the app. My preference is to display in real-time assuming that I can get the other two accounts whitelisted. Only one of the accounts is whitelisted for 20,000 requests (per hour?). So the advice I'm seeking is a bit open-ended as to how proceed from here. Private/public lists? Display real-time vs display cached version? Security concerns? The developer is still pretty new to the API so we're hoping someone can toss us a bone here. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to display lists from multiple users in an app
I should add you must not use your credentials to display tweets from protected accounts that your account has access to. On 3 Nov, 23:21, Ken D. k...@cimas.ch wrote: If you own a private list and want to share the content, you just use your own credentials (My Access Token) to fetch it. Real-time or cached, whatever works for you. There is no 'logged in' - each API call is authenticated. How could a user break into your account? A single web page can display content retrieved from different accounts - yours and the user's, for example. On 3 Nov, 18:46, Adam Nason apna...@gmail.com wrote: Twitter limits each user account to 20 lists. I have three accounts with different purposes but need the 60 lists across these three accounts to be displayed on one page on my website. Each list link needs to be clickable to the status updates from that list (in that same page likely using ajax). They are private lists (created for viewing only in the app) and I would like to keep them that way though I will take them public if absolutely necessary. I'm just the content manager asking this on behalf of the developer so I know little about oAuth but this is how it has been explained to me: When you request an access token you send Twitter a current timestamp and that timestamp is used to make a signature_basestring. With that signature, you sign every request you send to Twitter. It's a bit tricky not to enter login/pass manually when Twitter asks you to do that. And then there is my concern about the security of my accounts if they are logged into on a public, live webpage (warranted/ unwarranted? not sure). The developer mentioned that even if we take the lists public, we would still need to use oauth/logins to retrieve status updates from the lists. What he proposed is doing the oauth/logins process behind the scenes periodically during the day (based on cron.php timer) and displaying cached messages to users of the app. My preference is to display in real-time assuming that I can get the other two accounts whitelisted. Only one of the accounts is whitelisted for 20,000 requests (per hour?). So the advice I'm seeking is a bit open-ended as to how proceed from here. Private/public lists? Display real-time vs display cached version? Security concerns? The developer is still pretty new to the API so we're hoping someone can toss us a bone here. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Copying or Importing Twitter Lists
Don't know of any public tool, but as you suggest it won't be hard to make one. If you were planning to use the list /create_all method, see this thread first: https://groups.google.com/group/twitter-development-talk/browse_thread/thread/8668d4b94d7e0043/eaa833e422b3f4d1 On Nov 2, 7:54 pm, Quy quyten...@gmail.com wrote: Is there a tool out there that allows me to copy a Twitter List? For example, I've created a new account and wanted to migrate my Twitter Lists over to this new account or I want to copy an existing public Twitter List and edit it to my liking. I'm thinking of creating a simple tool using the Twitter API but will this hit any rate limiting if this is a public tool? Quy -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] No country code in 'place' but country value is set
http://api.twitter.com/1/geo/id/917f05e8dd09575f.json No country code, but country is United Kingdom This is just one example. I wonder why this is? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] What data is usually contained in the place field?
I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: What data is usually contained in the place field?
Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: What data is usually contained in the place field?
Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: What data is usually contained in the place field?
I think it's also strange that you include Street address, Country but NO City and NO State! I think State and City/Town name would be very helpful On Oct 12, 6:55 pm, D. Smith emai...@sharedlog.com wrote: Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ] ] ], type: Polygon }, full_name: Twitter HQ, San Francisco, place_type: poi }, in_reply_to_status_id: null } ] Hope that helps, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: I have seen this field in streaming api, but never got a chance to see any actual data for this field. Can someone explain to me what usually will be the the place when it's not null? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter
[twitter-dev] Re: What data is usually contained in the place field?
I understand, but without City and State it's really not very useful. Sure I can lookup more using your place id, but with streaming api, things are downloaded blindingly fast, really don't want to make a new call for every status that has place ID. I in interested in using streaming api to do stats on number of mentions of certain words/people per city/state/day Right not I can only record place id, then once a day download city/ state data per each place id, so it would not really be real time On Oct 12, 7:52 pm, Matt Harris thematthar...@twitter.com wrote: We only return enough to display the basic information about a place. This is because some places have a lot of information in their place object, for example some cities and areas have a polygon with over 600 points. For more detailed information make a request to the URL given in the place object: http://api.twitter.com/1/geo/id/247f43d441defc03.json Things like city and state come from the Geo hierarchy indicated by the contained_within data returned from the place URL. @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 4:31 PM, D. Smith emai...@sharedlog.com wrote: I think it's also strange that you include Street address, Country but NO City and NO State! I think State and City/Town name would be very helpful On Oct 12, 6:55 pm, D. Smith emai...@sharedlog.com wrote: Great explanation, thanks. On Oct 12, 6:51 pm, Matt Harris thematthar...@twitter.com wrote: Great question. Geo means the latitude and longitude of the user as reported by the device they are using, was sent to us. A user can say they are at a place, e.g. Twitter HQ, or San Francisco, without revealing their exact latitude and longitude. Place support is relatively new and many applications have not added it yet, so instead they pass the latitude and longitude of the device location when Tweeting. If the latitude and longitude is sent we will try and derive the neighborhood (place) where that latitude and longitude is. What this means is: Just Geo: The Tweet was created with a latitude and longitude being passed to it. The lat/long is for a place not yet know to our database Geo and Place: The Tweet was created with a latitude and longitude being passed to it. The lat/long is known to our database and the neighborhood it corresponds to was set as the place. Just Place: The Tweet was created with a place_id being passed to it, but no lat/long. Hope that explains the difference, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Tue, Oct 12, 2010 at 3:26 PM, D. Smith emai...@sharedlog.com wrote: Interesting. How is it that in the sample status the geo is null and the place is not null? How is the place determined if there is no geo data? Does this mean that status can have place object not null even when the geo is null? On Oct 12, 6:13 pm, Matt Harris thematthar...@twitter.com wrote: Hi, For countries where Geo is supported twitter.com allows you to set the location you are tweeting from. The place chosen on this screen is the one entered as the place information in a Tweet. For other applications this information is set by passing the place_id parameter when Tweeting. (More info:http://dev.twitter.com/doc/post/statuses/update) A quick request for the status from @twitterapi includes an example of the place attribute: twurl /1/statuses/user_timeline.json?screen_name=twitterapitrim_user=1count=1 [ { coordinates: null, favorited: false, created_at: Tue Oct 12 17:40:03 + 2010, truncated: false, text: Snowflake is on ice for the moment so no new IDs yet. We'll post an update to the developer mailing list with more information soon., contributors: [ 777925 ], annotations: null, id: 27159735506, retweet_count: 0, geo: null, retweeted: false, in_reply_to_user_id: null, user: { id: 6253282 }, source: web, in_reply_to_screen_name: null, place: { name: Twitter HQ, country: The United States of America, country_code: US, attributes: { street_address: 795 Folsom St }, url: http://api.twitter.com/1/geo/id/247f43d441defc03.json;, id: 247f43d441defc03, bounding_box: { coordinates: [ [ [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956 ], [ -122.400612831116, 37.7821120598956
[twitter-dev] Question about source field
I noticed that the value of source field looks somewhat strange: source:a href=\http://www.echofon.com/\; rel=\nofollow\Echofon \/a, Why in the world would you have an html string as a value and on top of than why do you include the rel=nofollow tag? This just looks wrong, not structured. The right way whould have been to represent the source as an object with fileds: name, url, like this: source:{name : Echofon, url:http://www.echofon.com}, Usually you try to pre-parse everying for us, but in the case or source, we have to do extra parsing to extract values of title and url Will you fix this soon? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: location based search and user location field
Any update on this? It is still an issue. On Oct 7, 9:46 pm, Siim Saarlo siim.saa...@gmail.com wrote: Hi, Search API with location restriction (geocode parameter) used to search through tweets that were geotagged and also tweets that were tweeted by user who had set her location in profile settings. Seems that currently search API, when both geocode and and q parameters are set, only goes through the geotagged tweets. Although seems that when only geocode is set, tweets are included by user' location field as well. I was told (by @twitterapi) that this is temporary situation to be fixed soon. 1) Can anyone suggest when will it probably be fixed? is there alternative solution until then? 2) I would like to try out Streams API' filter method, but it is states that this only goes through geotagged tweets. Is there any workaround to make frequent location specific searches through geotagged tweets and also the ones that are not geotagged? Thank you in advance, siim -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Is it possible to search with wildcard in streaming api?
For example I want is to search for words that have 'truck' in it and want to get all tweets that have 'truck', 'trucks', 'trucking', 'dumptruck', etc. I it possible to use wildcards like *truck* or do I have to just include all possible words that contain truck? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Is authentication required to use Streaming API?
Hello! I want to start using streaming API to monitor all tweets with certain keywords in them. Do I need to provide any authentication in order to connect? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Is authentication required to use Streaming API?
OK, but when I entered my login/password, is says page unavailable. Is it supposed to do that? On Oct 7, 12:56 pm, Tom van der Woerdt i...@tvdw.eu wrote: Yes, you do. http://stream.twitter.com/statuses/sample.json-- click it, it will ask for authentication and when you click Cancel, it will give you an error page. Tom On 10/7/10 6:49 PM, D. Smith wrote: Hello! I want to start using streaming API to monitor all tweets with certain keywords in them. Do I need to provide any authentication in order to connect? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Is authentication required to use Streaming API?
I'm confused now. Which API should I use Streaming or Search? What I want is to monitor Twitter and every time someone uses certain words (maybe a total of about 20 words that I want to monitor continuously), I want to show the tweet on the screen (or record it into database) Should I use search api or streaming api? On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote: Yes, for the streaming api, http://dev.twitter.com/pages/streaming_api but it sounds like you may want the search api which doesn't require authentication: http://dev.twitter.com/doc/get/search On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: Hello! I want to start using streaming API to monitor all tweets with certain keywords in them. Do I need to provide any authentication in order to connect? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: Is authentication required to use Streaming API?
Can I use any Twitter account username/password or does the account have to be registered with Twitter API? On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote: stream.twitter.com/1/statuses/filter.json track=keyword1,keyword2 etc. -John On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote: I'm confused now. Which API should I use Streaming or Search? What I want is to monitor Twitter and every time someone uses certain words (maybe a total of about 20 words that I want to monitor continuously), I want to show the tweet on the screen (or record it into database) Should I use search api or streaming api? On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote: Yes, for the streaming api, http://dev.twitter.com/pages/streaming_api but it sounds like you may want the search api which doesn't require authentication: http://dev.twitter.com/doc/get/search On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: Hello! I want to start using streaming API to monitor all tweets with certain keywords in them. Do I need to provide any authentication in order to connect? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Is authentication required to use Streaming API?
Sorry for asking all these questions, but what is the sample endpoint? Does it contain real tweets or just some sample tweets for testing purposes only? On Oct 7, 1:33 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi D, There are a few different levels of the streaming API. You can use the sample endpoint without any kind of approval from Twitter, using a Twitter account under your control for login. Access beyond the sample end point requires approval -- the process for approval begins athttp://twitter.com/help/request_streaming When getting familiar with the streaming API it's best to take a crawl - walk - run approach. Crawling is using the sample stream, walking is moving up to garden hose, and running is going beyond. Taylor On Thu, Oct 7, 2010 at 10:26 AM, D. Smith emai...@sharedlog.com wrote: Can I use any Twitter account username/password or does the account have to be registered with Twitter API? On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote: stream.twitter.com/1/statuses/filter.json track=keyword1,keyword2 etc. -John On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote: I'm confused now. Which API should I use Streaming or Search? What I want is to monitor Twitter and every time someone uses certain words (maybe a total of about 20 words that I want to monitor continuously), I want to show the tweet on the screen (or record it into database) Should I use search api or streaming api? On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote: Yes, for the streaming api, http://dev.twitter.com/pages/streaming_api but it sounds like you may want the search api which doesn't require authentication: http://dev.twitter.com/doc/get/search On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: Hello! I want to start using streaming API to monitor all tweets with certain keywords in them. Do I need to provide any authentication in order to connect? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Woe is me, I can't seek what I find (or Search is failing me)
I'm seeing this problem too, but it only started today, around five hours ago. Here's an example search: http://search.twitter.com/search?q=near%3Aedmonton That's returning a fraction of the tweets it was before. This problem happens occasionally, but not usually for this long. On Oct 7, 3:10 pm, @IDisposable idisposa...@gmail.com wrote: Over the last couple months, we've seen some wierd behavior in the responses to search queries. First, I understand the rules about search being non-covering, and that we are at the mercy of the index. That said, I've noticed some odd behavior lately. As background material, we run many searches (and we're white-listed by IP and OAuth account), but the two I want to reference are the Mentions and the Location searches. The Mentions search seems pretty stable and uses this typical search (and then we exclude a bunch of things like Bay St. Louis, etc.):http://search.twitter.com/search.atom?rpp=100q=stl+OR+%23stl+OR+stlo... The Location search has been VERY unstable, and uses this typical search:http://search.twitter.com/search.atom?rpp=100geocode=38.627522%2C-90... As the day progresses, we move up the high-water mark in the since_id to track what we've already received so we should be getting minimal gaps. We almost never see two 100-entry polls in a row, so I think we're keeping up with whatever coverage the search index is offering. I've posted in a Google Spreadsheet a graph of the tweet counts we're seeing since 7/1/2010 so you can see the trends http://bit.ly/9wnnFM (sheet two is the graph). Some interesting things to note: 1) The Mentions search is very consistent. 2) The Location search likes to bounce around a bit. 3) In mid August, we started to have issues with more 403s and error about since_id being too old. We were also getting rate-limited in our calls to get the tweep details (since the ATOM feed is so meager). Due to a bug, I wasn't committing all the tweets when this happened. 4) On or about Sept 1st, you guys did something that broke our ability to stay caught up... we started getting almost no tweets and lots of errors about since_id being too old. I thought this was due to your new tweet id assignment being rolled out. 5) On Sept 5th, I got back from vacation and added logic to understand and use the no new tweets, roll the tweet id forward to this driven by parsing the link rel=refresh node in the ATOM feed. 6) I also, around this time, added better logic to the tweep-lookup detail, only asking you for tweeps I don't have at least a minimal row on. This reduced the number of rate-limiting issues. 7) We were very stable and until 9/23 when volume falls off a lot, and never really recovers. I think this is the new search engine rollout. To research a little more, I tried the Twitter advanced search page and asking for the RSS (atom, really) feed from the advanced search page I get this URL now:http://search.twitter.com/search.atom?geocode=38.627522,-90.19841,30 Which starts off like ours, but adds the (seemingly redundant) human- readable search criteria q=+near:38.627522,-90.19841+within:30mi. Oddly, if we remove that and do the same search at nearly the same instant, I DO get vastly different tweets sets... probably due to volume, possibly just sorting, but I would hope that with the same since_id value, I would get the same tweets... but I don't. So, I'm asking... what's going on? Why are we seeing so much volume fall-off? What can we do about it? Should I be running both searches (my current one and one with the human-readable query) to get better coverage? Is there any hope/expectation of the volume returning to normal? Doesn't anyone else care about tweep-location searches? Now, before you tell me that I should be using Site Streams (which I want to do), realize that I _NEED_ tweets from people whose profile location says they are in St. Louis (and similar) like the old Summize search honored. I can't just get by with the _tweet_ location being STL. Marc Brooks Chief guy getting yelled at,http://stltweets.comhttp://taste.stltweets.comhttp://loufest.stltweets.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Creating a list without description silently fails (on website as wel as using API
In my app, the list names are quite descriptive, so until this gets fixed - and I think it will be - I send description=name which makes some sense as the originally input name is transformed (loss of capitals and special characters) and does not appear in the Twitter UI anyway. On Oct 6, 1:06 am, Bert Lagaisse bert.lagai...@virtual-remote.com wrote: Posted ;-) I hadn't run my unittests for my upcoming WP7 twitter client in two weeks. Just ran them again and discovered this feature ;-) I now force the user to enter a description ;-) greets Bert Lagaissewww.virtual-remote.com/twozaic -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: user details
Just a wild guess. Try this: import oauth.oauth as oauth On Oct 6, 2:22 pm, ashwin morey ashwinmo...@gmail.com wrote: Hi All, I have a python file and I am running it through command line. But it keeps giving error here CONSUMER = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET) AttributeError: 'module' object has no attribute 'OAuthConsumer' whereas it works when trying to run it through web application. thanks ashy -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Creating a list without description silently fails (on website as wel as using API
Nice find! This is recent, a day or two. There is confusion elsewhere in the doc regarding optional parameters, For example, in DELETE :user/lists/:id, id is said to be optional. If this also fails in the Twitter UI there is hope that it will be fixed soon. For now Bert, this bug is yours: http://code.google.com/p/twitter-api/issues/entry Ken On Oct 5, 10:08 pm, Bert Lagaisse bert.lagai...@virtual-remote.com wrote: Whenever I create a list, using the twitter.com website, or using the api, and I dont' give a description (which is marked optional in the api), then the list is not created. However, there is no error message. This bug can only have been introduced in the last weeks I think. Any one else with this problem ? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: add list members
Cool. You could visit the tracker page for this issue, http://code.google.com/p/twitter-api/issues/detail?id=1884 and star the issue to help get it fixed sooner. This has got to be one of the easiest Twitter bugs to fix. Ken On Oct 3, 6:08 pm, Damon Clinkscales sca...@pobox.com wrote: On Sun, Oct 3, 2010 at 9:25 AM, Ken D. k...@cimas.ch wrote: Damon, Mea culpa! There's an error in the create_all documentation. I should know since I filed the bug... Try:http://api.twitter.com/1/:user/:list/members/create_all.format Afaik,http://api.twitter.com/1/:user/:list/members.xmlis correct for adding a single user. Ken Hey Ken, That was it exactly. The create_all works perfectly now. Thanks! /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: add list members
Damon, Mea culpa! There's an error in the create_all documentation. I should know since I filed the bug... Try: http://api.twitter.com/1/:user/:list/members/create_all.format Afaik, http://api.twitter.com/1/:user/:list/members.xml is correct for adding a single user. Ken On Oct 3, 3:41 pm, Damon Clinkscales sca...@pobox.com wrote: On Sat, Oct 2, 2010 at 2:06 PM, Ken D. k...@cimas.ch wrote: Hey Damon, The URL you cite is that of the documentation page. The correct URL (for create_all) is: http://api.twitter.com/1/:user/:list/create_all.xml with parameter user_id=:ids or screen_name=:screen_names The example is: http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_i... Try that.. Hey Ken, Yeah, I was just including those URLs to let you know which methods I was talking about in the documentation. The call being generated by the client lib (Grackle, in this case) should look as you describe, afaik. But there must be something amiss with it. Thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Looking for Java class/package for Firehose
If I was looking for the least efficient way to parse streaming API, I would go with this solution, but since I am looking for more efficient, I decided to use a language that supports multithreading and Java is one of those languages. On Oct 1, 6:52 pm, Justin justin.carl...@gmail.com wrote: Alternatively, you can just dump to disk and have a separate process read through the queue. That would be ideal as you wouldn't lose any messages if your database goes down. (I guess I'm assuming your db is on it's own machine). On Oct 1, 12:11 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Yeah, the Perl library uses AnyEvent to achieve threading. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting D. Smith emai...@sharedlog.com: perl has the same limitation as php, I decided to use Java for streaming API because of support for threads. On Sep 30, 12:54 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I've used the Perl AnyEvent::Twitter::Stream CPAN module and the Ruby tweetstream gem. Both of them work just fine, although I think the error handling in the Perl one may have a glitch. The Perl one is lighter on both CPU and RAM use, but that's the nature of Perl vs. Ruby, not something in the library codes themselves. I don't know if either of them has been updated to work with the official User Streams endpoint yet - last time I looked at User Streams, I used cURL from the command line. I'll probably get back to my User Streams project next week - I've been pushing to get my appliances in shape for the SUSE Disters contest entry deadline, which is tomorrow. ;-) And yes, I'd still like the option to get spritzer data in User Streams without having to open another connection. But I'm probably the only one. ;-) -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting Taylor Singletary taylorsinglet...@twitter.com: While it's in Scala, not Java, I've heard good things about @alejandrocrosa's Scala-TwitterStreamer : http://github.com/acrosa/Scala-TwitterStreamer--youshould be able to make use of it fairly easily in a Java environment. We'd love to start collecting libraries built around the Streaming API. Regardless of language, does anyone have libraries to share with everyone? Taylor On Thu, Sep 30, 2010 at 8:25 AM, D. Smith emai...@sharedlog.com wrote: Hello there! I am pretty experienced with using PHP for Twitter, but now I want to use firehose and Java seems to be a much better fit because of 'Threads', so I can listen to Firehose the pass a job to a thread and return right away. PHP cannot do that, well, maybe to some crazy hacks that I am not too impressed with. Anyway, can someone recommend a good Java client that does that, ideally where I can just extend the class to write my own runnable classes. thanks a lot. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Comparing Friendship
Interesting! - thanks for sharing. As they say, one man's terrorist is another man's freedom fighter. I've just been followed by someone selling business cards. They are following 51,000 and are followed by 54,000. Well, I doubt they are reading many of those tweets, they are too busy selling business cards. Their own stream consists of recycled aphorisms and I doubt many people are reading that. Funnily, three people we follow also follow them, but this can only be due to auto-following. It's all meaningless, and worse, it's a waste of resources. When Twitter is having capacity issues I can't help but think of that. It's also too bad when one's following list is just a mirror of one's followers, because following lists can be a great source of new accounts to follow. The list of accounts we follow is likely to interest our followers, and we now make it available as a Twitter list that can be followed. My observation is that carefully curated followings are the best lists on Twitter. We'll soon be releasing our tool that lets anyone grab a following and make a followable list from it. Of course, the following has to be less than 500, but that's about the maximum number of accounts I could follow... On Sep 30, 5:19 pm, D. Smith emai...@sharedlog.com wrote: It's important to unfollow someone who unfollowed you. I must emphasize here that I am not talking about unfollowing someone who is not following me, but only those who used to follow me, then unfollowed. In this case it's very important to unfollow them right away. This is important because otherwise the schemers that follow you, then get a follow-back and then unfollow you win. Remember kids: if you don't auto unfollow-back that the terrorists will win. And that's not a good thing. Also if you want to follow over 2000 people you must keep you following/followers ratio really tight and that's why I would need to unfollow people who are not following me back. It's really simple. There are good ways to follow and read messages from many thousands of people. One way is to separate them by lists and then read lists instead of your main timeline. second way is to you other third party clients that lets you filter by keywords and stuff like that. I want to follow people with common interests and that common interest happens to be I am interested in following people who follow back When I follow someone I basically giving that person a chance to sell me something. I say, fine, but you give me a chance to sell you something too. I may still follow a few accounts that are so important to me that I will follow them even though I know they don't follow back, but that's just a handful of people. On Sep 28, 12:03 pm, Ken D. k...@cimas.ch wrote: Hey Rick, It's the second time in a week that someone brings up the autofollow/ unfollow question (see also:http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6...) and I would love to understand the follow economy once and for all. First of all, you say that if someone is following you, you will follow back, but if they are not following, you will unfollow. If you are not yet following them, do you mean that you would block them? What is the use case for auto-following, and why would it be so important to unfollow users who do not follow back? Is there a cost? Are those users' tweets less interesting if they aren't following you? I mean, we can't all be followed by Justin Bieber! Personally, I'm over that... If one succeeds in building up an account that follows and is followed back by thousands of users - as seems to be the goal - does one ever actually visit the account? It can't possibly make any sense to access such an account via twitter.com. Are there tools that can render such an account usable or meaningful? Finally, why the pretense of following if one will never actually read the users' tweets? Does Twitter have in mind to adapt the system to this reality? This is not a rant, I sincerely want to know! On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com wrote: Hello, What are the oauth functions to check if somebody is following me or not? I am currently making a script to check up if a user is following me, and if so, following them back, and if not, unfollow the user. Can somebody give me a point in the direction what oauth functions I need? btw; I am using twitteroauth. Rick -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: add list members
Hey Damon, The URL you cite is that of the documentation page. The correct URL (for create_all) is: http://api.twitter.com/1/:user/:list/create_all.xml with parameter user_id=:ids or screen_name=:screen_names The example is: http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_id=783214,6253282 Try that.. On Oct 2, 8:16 pm, Damon Clinkscales sca...@pobox.com wrote: I've tried both create_all.xml and members.xml to add multiple or just one member to a list. The list is owned by me and exists. http://dev.twitter.com/doc/post/:user/:list_id/create_all orhttp://dev.twitter.com/doc/post/:user/:list_id/members When the call goes through, the response is a normal #newtwitter web page instead of an API response. Is this a known issue? thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Looking for Java class/package for Firehose
perl has the same limitation as php, I decided to use Java for streaming API because of support for threads. On Sep 30, 12:54 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I've used the Perl AnyEvent::Twitter::Stream CPAN module and the Ruby tweetstream gem. Both of them work just fine, although I think the error handling in the Perl one may have a glitch. The Perl one is lighter on both CPU and RAM use, but that's the nature of Perl vs. Ruby, not something in the library codes themselves. I don't know if either of them has been updated to work with the official User Streams endpoint yet - last time I looked at User Streams, I used cURL from the command line. I'll probably get back to my User Streams project next week - I've been pushing to get my appliances in shape for the SUSE Disters contest entry deadline, which is tomorrow. ;-) And yes, I'd still like the option to get spritzer data in User Streams without having to open another connection. But I'm probably the only one. ;-) -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting Taylor Singletary taylorsinglet...@twitter.com: While it's in Scala, not Java, I've heard good things about @alejandrocrosa's Scala-TwitterStreamer : http://github.com/acrosa/Scala-TwitterStreamer-- you should be able to make use of it fairly easily in a Java environment. We'd love to start collecting libraries built around the Streaming API. Regardless of language, does anyone have libraries to share with everyone? Taylor On Thu, Sep 30, 2010 at 8:25 AM, D. Smith emai...@sharedlog.com wrote: Hello there! I am pretty experienced with using PHP for Twitter, but now I want to use firehose and Java seems to be a much better fit because of 'Threads', so I can listen to Firehose the pass a job to a thread and return right away. PHP cannot do that, well, maybe to some crazy hacks that I am not too impressed with. Anyway, can someone recommend a good Java client that does that, ideally where I can just extend the class to write my own runnable classes. thanks a lot. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Comparing Friendship
It's important to unfollow someone who unfollowed you. I must emphasize here that I am not talking about unfollowing someone who is not following me, but only those who used to follow me, then unfollowed. In this case it's very important to unfollow them right away. This is important because otherwise the schemers that follow you, then get a follow-back and then unfollow you win. Remember kids: if you don't auto unfollow-back that the terrorists will win. And that's not a good thing. Also if you want to follow over 2000 people you must keep you following/followers ratio really tight and that's why I would need to unfollow people who are not following me back. It's really simple. There are good ways to follow and read messages from many thousands of people. One way is to separate them by lists and then read lists instead of your main timeline. second way is to you other third party clients that lets you filter by keywords and stuff like that. I want to follow people with common interests and that common interest happens to be I am interested in following people who follow back When I follow someone I basically giving that person a chance to sell me something. I say, fine, but you give me a chance to sell you something too. I may still follow a few accounts that are so important to me that I will follow them even though I know they don't follow back, but that's just a handful of people. On Sep 28, 12:03 pm, Ken D. k...@cimas.ch wrote: Hey Rick, It's the second time in a week that someone brings up the autofollow/ unfollow question (see also:http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6...) and I would love to understand the follow economy once and for all. First of all, you say that if someone is following you, you will follow back, but if they are not following, you will unfollow. If you are not yet following them, do you mean that you would block them? What is the use case for auto-following, and why would it be so important to unfollow users who do not follow back? Is there a cost? Are those users' tweets less interesting if they aren't following you? I mean, we can't all be followed by Justin Bieber! Personally, I'm over that... If one succeeds in building up an account that follows and is followed back by thousands of users - as seems to be the goal - does one ever actually visit the account? It can't possibly make any sense to access such an account via twitter.com. Are there tools that can render such an account usable or meaningful? Finally, why the pretense of following if one will never actually read the users' tweets? Does Twitter have in mind to adapt the system to this reality? This is not a rant, I sincerely want to know! On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com wrote: Hello, What are the oauth functions to check if somebody is following me or not? I am currently making a script to check up if a user is following me, and if so, following them back, and if not, unfollow the user. Can somebody give me a point in the direction what oauth functions I need? btw; I am using twitteroauth. Rick -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Looking for Java class/package for Firehose
Hello there! I am pretty experienced with using PHP for Twitter, but now I want to use firehose and Java seems to be a much better fit because of 'Threads', so I can listen to Firehose the pass a job to a thread and return right away. PHP cannot do that, well, maybe to some crazy hacks that I am not too impressed with. Anyway, can someone recommend a good Java client that does that, ideally where I can just extend the class to write my own runnable classes. thanks a lot. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: Looking for Java class/package for Firehose
Oh, man, I am new to Java, don't even know what Scala is... I've heard about it that it's like based on Java and it's supposed to be easier to code than in Java, but have not look at it, Will it even work in Eclipse or will I need Eclipse plugin? Just don't feed like learning yet another language just yet. Is there are anything in pure Java? On Sep 30, 11:28 am, Taylor Singletary taylorsinglet...@twitter.com wrote: While it's in Scala, not Java, I've heard good things about @alejandrocrosa's Scala-TwitterStreamer :http://github.com/acrosa/Scala-TwitterStreamer-- you should be able to make use of it fairly easily in a Java environment. We'd love to start collecting libraries built around the Streaming API. Regardless of language, does anyone have libraries to share with everyone? Taylor On Thu, Sep 30, 2010 at 8:25 AM, D. Smith emai...@sharedlog.com wrote: Hello there! I am pretty experienced with using PHP for Twitter, but now I want to use firehose and Java seems to be a much better fit because of 'Threads', so I can listen to Firehose the pass a job to a thread and return right away. PHP cannot do that, well, maybe to some crazy hacks that I am not too impressed with. Anyway, can someone recommend a good Java client that does that, ideally where I can just extend the class to write my own runnable classes. thanks a lot. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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: Looking for Java class/package for Firehose
I am looking for something specifically for Firehose. I must use threads to pass the jobs to and i must have some mechanism to forking and staying alive like a daemon or something like that, and ideally it would automatically handle reconnecting in case of error. On Sep 30, 11:33 am, John Kalucki j...@twitter.com wrote: Twitter4J seems to be popular, but I don't have first-hand experience with it. -John On Thu, Sep 30, 2010 at 8:32 AM, D. Smith emai...@sharedlog.com wrote: Oh, man, I am new to Java, don't even know what Scala is... I've heard about it that it's like based on Java and it's supposed to be easier to code than in Java, but have not look at it, Will it even work in Eclipse or will I need Eclipse plugin? Just don't feed like learning yet another language just yet. Is there are anything in pure Java? On Sep 30, 11:28 am, Taylor Singletary taylorsinglet...@twitter.com wrote: While it's in Scala, not Java, I've heard good things about @alejandrocrosa's Scala-TwitterStreamer :http://github.com/acrosa/Scala-TwitterStreamer--you should be able to make use of it fairly easily in a Java environment. We'd love to start collecting libraries built around the Streaming API. Regardless of language, does anyone have libraries to share with everyone? Taylor On Thu, Sep 30, 2010 at 8:25 AM, D. Smith emai...@sharedlog.com wrote: Hello there! I am pretty experienced with using PHP for Twitter, but now I want to use firehose and Java seems to be a much better fit because of 'Threads', so I can listen to Firehose the pass a job to a thread and return right away. PHP cannot do that, well, maybe to some crazy hacks that I am not too impressed with. Anyway, can someone recommend a good Java client that does that, ideally where I can just extend the class to write my own runnable classes. thanks a lot. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: List-related weirdnesses
I resolved this problem by adding a few seconds of sleep after creating a list and populating it. The problem did not appear when I first tested my code, but it was morning European time and Twitter may not have been too busy. In the process of finding this out, I seem to have created some corrupt lists that cannot be edited or deleted. May I ask someone from Twitter to kindly contact me to help get these lists removed from my account! Thanks! Ken On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote: I am creating private lists and then adding members with the create_all method. 1.) Creating a list via the API is no problem. Then I post to create_all with batches of 20-90 user ids. Only rarely have I been able to add more than a single batch, even with a few seconds of sleep, but occasionally it has succeeded. 2.) Viewing the result on 'old' twitter.com,http://twitter.com/#list/[account]/[list-name] will show a timeline (eg a batch of 20 users successfully added) and a link, Following: 0. On the list page itself,http://twitter.com/[account]/[list-name], no tweets are shown, only the Find people to add to your list: search box. 3.) And... I am unable to delete these lists, using either the API or manually on Twitter.com. Oh, and one more thing: If I try to add (via API) a list named mylist twice and I already have say 12 lists, the second mylist will not be called mylist-2, but mylist-13! Are these known issues? I am working on a project where lists are important, so any advice will be appreciated. Cheers! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: List-related weirdnesses
Hey Taylor, These lists are zombies. Through Twitter.com, I have failed to change the status from private to public, change the name or add a member. When I select a member to add from the find people search, then user-actions list-menu button, it appears to have worked: the Your lists: list-name tag appears below the selected user. But the action has actually failed - the list page shows no members. Attempting to add a member via the API, I get an XML list element with member_count0/member_count. Attempting to delete the list via the API returns the same list... undead! Ken On Sep 30, 10:30 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hey Ken, Lists really are a sometimes embarrassing corner of the API, not going to mince words there. What is the type of failure you're getting when deleting the lists via the API? A lingering bug around is that lists without users often cannot be deleted correctly. If you're still having this problem, can you try adding a user to a list you haven't been able to delete and then try the deletion? Your batch creation problems do seem to be more availability-bound than anything else. As for the seemingly-chaotic naming convention of duplicately named lists: yes, it boggles the mind. Best to just make sure you check the names of lists a member already has before attempting to create a new one at this time. Taylor On Thu, Sep 30, 2010 at 12:15 PM, Ken D. k...@cimas.ch wrote: I resolved this problem by adding a few seconds of sleep after creating a list and populating it. The problem did not appear when I first tested my code, but it was morning European time and Twitter may not have been too busy. In the process of finding this out, I seem to have created some corrupt lists that cannot be edited or deleted. May I ask someone from Twitter to kindly contact me to help get these lists removed from my account! Thanks! Ken On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote: I am creating private lists and then adding members with the create_all method. 1.) Creating a list via the API is no problem. Then I post to create_all with batches of 20-90 user ids. Only rarely have I been able to add more than a single batch, even with a few seconds of sleep, but occasionally it has succeeded. 2.) Viewing the result on 'old' twitter.com,http://twitter.com/#list/[account]/[list-name] will show a timeline (eg a batch of 20 users successfully added) and a link, Following: 0. On the list page itself,http://twitter.com/[account]/[list-name], no tweets are shown, only the Find people to add to your list: search box. 3.) And... I am unable to delete these lists, using either the API or manually on Twitter.com. Oh, and one more thing: If I try to add (via API) a list named mylist twice and I already have say 12 lists, the second mylist will not be called mylist-2, but mylist-13! Are these known issues? I am working on a project where lists are important, so any advice will be appreciated. Cheers! -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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: List-related weirdnesses
Zut alors... Would it not be preferable to create an issue in the tracker as API- related? I'd be interested in learning what happened. And maybe I can get some help removing those lists... So far my research indicates that to kill a zombie you need to destroy its brain... HTH Ken On Sep 30, 11:29 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Ken, Bizarre. While I expect a certain amount of List bugginess on a daily basis, this is a bit more severe than usual. And also outside of where I can help you to any level of satisfaction. Hate to pass the buck, but please re-summarize the issues that lead to this zombie state, along with the specific lists in a support ticket athttp://bit.ly/twicket Blargh, Taylor On Thu, Sep 30, 2010 at 2:23 PM, Ken D. k...@cimas.ch wrote: Hey Taylor, These lists are zombies. Through Twitter.com, I have failed to change the status from private to public, change the name or add a member. When I select a member to add from the find people search, then user-actions list-menu button, it appears to have worked: the Your lists: list-name tag appears below the selected user. But the action has actually failed - the list page shows no members. Attempting to add a member via the API, I get an XML list element with member_count0/member_count. Attempting to delete the list via the API returns the same list... undead! Ken On Sep 30, 10:30 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hey Ken, Lists really are a sometimes embarrassing corner of the API, not going to mince words there. What is the type of failure you're getting when deleting the lists via the API? A lingering bug around is that lists without users often cannot be deleted correctly. If you're still having this problem, can you try adding a user to a list you haven't been able to delete and then try the deletion? Your batch creation problems do seem to be more availability-bound than anything else. As for the seemingly-chaotic naming convention of duplicately named lists: yes, it boggles the mind. Best to just make sure you check the names of lists a member already has before attempting to create a new one at this time. Taylor On Thu, Sep 30, 2010 at 12:15 PM, Ken D. k...@cimas.ch wrote: I resolved this problem by adding a few seconds of sleep after creating a list and populating it. The problem did not appear when I first tested my code, but it was morning European time and Twitter may not have been too busy. In the process of finding this out, I seem to have created some corrupt lists that cannot be edited or deleted. May I ask someone from Twitter to kindly contact me to help get these lists removed from my account! Thanks! Ken On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote: I am creating private lists and then adding members with the create_all method. 1.) Creating a list via the API is no problem. Then I post to create_all with batches of 20-90 user ids. Only rarely have I been able to add more than a single batch, even with a few seconds of sleep, but occasionally it has succeeded. 2.) Viewing the result on 'old' twitter.com,http://twitter.com/#list/[account]/[list-name] will show a timeline (eg a batch of 20 users successfully added) and a link, Following: 0. On the list page itself,http://twitter.com/[account]/[list-name], no tweets are shown, only the Find people to add to your list: search box. 3.) And... I am unable to delete these lists, using either the API or manually on Twitter.com. Oh, and one more thing: If I try to add (via API) a list named mylist twice and I already have say 12 lists, the second mylist will not be called mylist-2, but mylist-13! Are these known issues? I am working on a project where lists are important, so any advice will be appreciated. Cheers! -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements 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] List-related weirdnesses
I am creating private lists and then adding members with the create_all method. 1.) Creating a list via the API is no problem. Then I post to create_all with batches of 20-90 user ids. Only rarely have I been able to add more than a single batch, even with a few seconds of sleep, but occasionally it has succeeded. 2.) Viewing the result on 'old' twitter.com, http://twitter.com/#list/[account]/[list-name] will show a timeline (eg a batch of 20 users successfully added) and a link, Following: 0. On the list page itself, http://twitter.com/[account]/[list-name], no tweets are shown, only the Find people to add to your list: search box. 3.) And... I am unable to delete these lists, using either the API or manually on Twitter.com. Oh, and one more thing: If I try to add (via API) a list named mylist twice and I already have say 12 lists, the second mylist will not be called mylist-2, but mylist-13! Are these known issues? I am working on a project where lists are important, so any advice will be appreciated. Cheers! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Comparing Friendship
Hey Rick, It's the second time in a week that someone brings up the autofollow/ unfollow question (see also: http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6500ab83) and I would love to understand the follow economy once and for all. First of all, you say that if someone is following you, you will follow back, but if they are not following, you will unfollow. If you are not yet following them, do you mean that you would block them? What is the use case for auto-following, and why would it be so important to unfollow users who do not follow back? Is there a cost? Are those users' tweets less interesting if they aren't following you? I mean, we can't all be followed by Justin Bieber! Personally, I'm over that... If one succeeds in building up an account that follows and is followed back by thousands of users - as seems to be the goal - does one ever actually visit the account? It can't possibly make any sense to access such an account via twitter.com. Are there tools that can render such an account usable or meaningful? Finally, why the pretense of following if one will never actually read the users' tweets? Does Twitter have in mind to adapt the system to this reality? This is not a rant, I sincerely want to know! On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com wrote: Hello, What are the oauth functions to check if somebody is following me or not? I am currently making a script to check up if a user is following me, and if so, following them back, and if not, unfollow the user. Can somebody give me a point in the direction what oauth functions I need? btw; I am using twitteroauth. Rick -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] A Plea to allow auto-unfollow-back vote here!
If auto-follow back is allowed but auto-unfollow back is not allowed, that actually plays in favor of spammers in a big way! Now a spammer can use the tactic to follow/wait for follow-back, then unfollow you, knowing that now thanks to Twitter's infinite wisdom, the automated auto-unfollow-back services no longer exist because they violate Twitter's rules, so no company offers this anymore. So now if you setup an auto-follow-back feature with one of the many free services that provide it, you are instantly becoming a potential victim of bait and unfollow schemes. I can certainly understand that automated unfollowing can hurt Twitter business since they work hard on making people follow more people, hey, they even added these infomaous (annoying sometimes, maybe?) Who to follow block on the Twitter pages. It's very clear to see that Twitter wants you to follow more people, and applying the same logic, it's easy to see that they really really don't want you to unfollow large number of people. I know Twitter developers are very smart people, but for the love of God, don't you see that this ban on automated unfollow benefits the spammers big time?! I think Twitter should think of a new category of automated unfollowing called auto-unfollow-back, meaning that automatically unfollowing those who unfollowed you should be considered a special case and should be allowed, just like auto-follow-back is allowed! If you agree with me, please just reply and say Right on! If you disagree, then please explain why not. Peace! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements 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] Is there stats for API clients usage?
Hello! I know Twitter published some statistics on how users generally use Twitter. I am looking for per-app stats, at least for the top 100 or so apps. Is there a stat like this available anywhere? I am just researching the popularity of various API based Twitter clients, very interested to know top 10 in Web, top 10 in Mobile. I hope someone has this stat, I am sure Twitter dev team has access to stats like this, please share it with the rest of us. 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?hl=en
[twitter-dev] Re: Getting 401 in the past 2 days
Never mind, the bug was in my own script. It was setting empty values of oauth_token, and oauth_secret. I corrected the problem and all works fine again. On Aug 27, 4:36 pm, D. Smith emai...@sharedlog.com wrote: Hello! I started getting 401 'count not authenticate' errors starting about 2 days ago when I try to send tweet via API. I use OAuth, use php pecl OAuth for that, just like I did before. The last tweet was successfully posted from my website was 2 days ago Here are the headers from the debug (I changed the values of my token/ secret here for security) [headers_sent] = POST /1/statuses/update.json HTTP/1.1 User-Agent: PECL-OAuth/1.0-dev Host: api.twitter.com Accept: */* Content-Length: 249 Content-Type: application/x-www-form-urlencoded status=%20Hey %20everyoneoauth_consumer_key=gdsfgdsfgdfgdfoauth_signature_method=HMAC- SHA1oauth_nonce=12299221034c78207659bdc5.73793953oauth_timestamp=12829410 46oauth_version=1.0oauth_token=oauth_signature=1s8wiINcB9FKX0UjY c %3D And this is the received headers from API: [headers_recv] = HTTP/1.1 401 Unauthorized Date: Fri, 27 Aug 2010 20:30:46 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: Basic realm=Twitter API X-Runtime: 0.00273 Content-Type: application/json; charset=utf-8 Content-Length: 75 Cache-Control: no-cache, max-age=300 Set-Cookie: k=67.19.114.2.1282941046438939; path=/; expires=Fri, 03- Sep-10 20:30:46 GMT; domain=.twitter.com Set-Cookie: guest_id=128294104644479603; path=/; expires=Sun, 26 Sep 2010 20:30:46 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCK3OPrUqAToHaWQiJWVhNjkyYjRiMTJlM2Uw %250AMzUwOWYyNDQxNWI1MThmNzk5IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--428e590fbfbf78ddef85c177fb4f 958444ef969c; domain=.twitter.com; path=/ Expires: Fri, 27 Aug 2010 20:35:46 GMT Vary: Accept-Encoding Connection: close [body_recv] = {request:/1/statuses/ update.json,error:Could not authenticate 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?hl=en
[twitter-dev] Getting 401 in the past 2 days
Hello! I started getting 401 'count not authenticate' errors starting about 2 days ago when I try to send tweet via API. I use OAuth, use php pecl OAuth for that, just like I did before. The last tweet was successfully posted from my website was 2 days ago Here are the headers from the debug (I changed the values of my token/ secret here for security) [headers_sent] = POST /1/statuses/update.json HTTP/1.1 User-Agent: PECL-OAuth/1.0-dev Host: api.twitter.com Accept: */* Content-Length: 249 Content-Type: application/x-www-form-urlencoded status=%20Hey %20everyoneoauth_consumer_key=gdsfgdsfgdfgdfoauth_signature_method=HMAC- SHA1oauth_nonce=12299221034c78207659bdc5.73793953oauth_timestamp=1282941046oauth_version=1.0oauth_token=oauth_signature=1s8wiINcB9FKX0UjYc %3D And this is the received headers from API: [headers_recv] = HTTP/1.1 401 Unauthorized Date: Fri, 27 Aug 2010 20:30:46 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: Basic realm=Twitter API X-Runtime: 0.00273 Content-Type: application/json; charset=utf-8 Content-Length: 75 Cache-Control: no-cache, max-age=300 Set-Cookie: k=67.19.114.2.1282941046438939; path=/; expires=Fri, 03- Sep-10 20:30:46 GMT; domain=.twitter.com Set-Cookie: guest_id=128294104644479603; path=/; expires=Sun, 26 Sep 2010 20:30:46 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCK3OPrUqAToHaWQiJWVhNjkyYjRiMTJlM2Uw %250AMzUwOWYyNDQxNWI1MThmNzk5IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--428e590fbfbf78ddef85c177fb4f958444ef969c; domain=.twitter.com; path=/ Expires: Fri, 27 Aug 2010 20:35:46 GMT Vary: Accept-Encoding Connection: close [body_recv] = {request:/1/statuses/ update.json,error:Could not authenticate 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?hl=en
[twitter-dev] Re: Status IDs are changing on 21st September
Ok, so what column type show we make the status_id now in MySQL? By the way, you are not planning to also change format or user_id, are you? On Aug 23, 11:17 pm, John Kalucki j...@twitter.com wrote: We're not using Cassandra to store tweets just yet. See:http://engineering.twitter.com/2010/07/cassandra-at-twitter-today.html I don't think we've announced our approach for tweet storage as yet. -John Kaluckihttp://twitter.com/jkalucki Twitter, Inc. On Mon, Aug 23, 2010 at 8:03 PM, D. Smith emai...@sharedlog.com wrote: Another one hits the MySQL brick wall. I'm surprised someone with as much data as you have have managed to stay with MySQL for as long as you have. I must have been a real pain to constantly fight the loosing MySQL optimization battle. It would be very interesting to know what made you choose Cassandra over other NoSQL solutions. I hope you will post a nice blog post about this, why you chose Cassandra? What alternative have you considered? On Aug 23, 6:45 pm, Matt Harris thematthar...@twitter.com wrote: Hey Developers! A while ago we let you know about the new Tweet ID generation service we developed called Snowflake and published the source code so you could get familiar with how it works. Today, we're announcing that at 10am PDT on Tuesday September 21st, 2010 Snowflake will be in use on our production systems and that status IDs will no longer be sequential. Snowflake still uses 64-bit unsigned integers but instead of being sequential they will instead be based on time and composed of: a timestamp, a worker number and a sequence number. For the majority of you this change will go unnoticed and your applications will continue to function without the need for any changes. In addition the API is ready for Snowflake and parameters such as max_id and since_id will work as expected. Snowflake does mean Tweet IDs will no longer be useful for data analysis, and things like counting Tweets by subtracting status IDs will not be possible. We listened when you told us about sorting Tweets by ID and knew that we needed to keep the ID roughly sortable. With Snowflake if two Tweets are posted within 1 second of each other they will be within a second of each other in the ID space too. This means although Tweets will no longer be sorted, they will be k-sorted to approximately 1 second. The key points: * Status IDs will be unique * Status IDs will continue to increase - Tweets created later in the day will have a higher ID that those created in the morning * Order will be maintained for Tweets allowing you to sort by Status ID. The accuracy of the sort will be to approximately 1 second, meaning Tweets created within a second of each other have no order. * All existing API methods will continue to work the same as before * Previous status IDs will be unchanged * There will be a noticeable jump in the numerical value of status IDs when we change. You can read more about Snowflake on the Twitter Engineering blog: http://bit.ly/announcing-snowflake Best Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] twitter-dev-anywhere group still active?
Why nobody is approving new threads in twitter-anywhere group: http://groups.google.com/group/twitter-dev-anywhere?hl=en I posted a question 2 or 3 days ago and still it does not show there. I that group still active?
[twitter-dev] Re: Status IDs are changing on 21st September
Another one hits the MySQL brick wall. I'm surprised someone with as much data as you have have managed to stay with MySQL for as long as you have. I must have been a real pain to constantly fight the loosing MySQL optimization battle. It would be very interesting to know what made you choose Cassandra over other NoSQL solutions. I hope you will post a nice blog post about this, why you chose Cassandra? What alternative have you considered? On Aug 23, 6:45 pm, Matt Harris thematthar...@twitter.com wrote: Hey Developers! A while ago we let you know about the new Tweet ID generation service we developed called Snowflake and published the source code so you could get familiar with how it works. Today, we're announcing that at 10am PDT on Tuesday September 21st, 2010 Snowflake will be in use on our production systems and that status IDs will no longer be sequential. Snowflake still uses 64-bit unsigned integers but instead of being sequential they will instead be based on time and composed of: a timestamp, a worker number and a sequence number. For the majority of you this change will go unnoticed and your applications will continue to function without the need for any changes. In addition the API is ready for Snowflake and parameters such as max_id and since_id will work as expected. Snowflake does mean Tweet IDs will no longer be useful for data analysis, and things like counting Tweets by subtracting status IDs will not be possible. We listened when you told us about sorting Tweets by ID and knew that we needed to keep the ID roughly sortable. With Snowflake if two Tweets are posted within 1 second of each other they will be within a second of each other in the ID space too. This means although Tweets will no longer be sorted, they will be k-sorted to approximately 1 second. The key points: * Status IDs will be unique * Status IDs will continue to increase - Tweets created later in the day will have a higher ID that those created in the morning * Order will be maintained for Tweets allowing you to sort by Status ID. The accuracy of the sort will be to approximately 1 second, meaning Tweets created within a second of each other have no order. * All existing API methods will continue to work the same as before * Previous status IDs will be unchanged * There will be a noticeable jump in the numerical value of status IDs when we change. You can read more about Snowflake on the Twitter Engineering blog:http://bit.ly/announcing-snowflake Best Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris
[twitter-dev] Re: Revoked Access
Sure, just test the authentication every time you want to perform some action on behalf of user or just do this periodically for every user via cron. (I think API method is called verify_credentials) On Aug 23, 8:32 pm, Paranoid Android a.paranoid.andr...@gmail.com wrote: I'm working with the twitter via a third party application. If a user revokes access to the application, is there a way to detect that the user has revoked access to that application? I'm looking through the API and I do not see a way to do it. Thank you!
[twitter-dev] Request to better style the Tweet button
Just a small request: please add the style=cursor: pointer; to the official Tweet button. It will look better when you mouseover the button. Tweetmeme button does that. Also please add the same to the Follow button and other buttons produced by @Anywhere UI Thanks!
[twitter-dev] Re: Request to improve Tweet button JS interface
What, nobody else thinkgs it could be useful to have some sort or JS based UI for the Tweet button? The Facebook JS UI is pretty good, you can open the prompt and pre-fill it with a text message to be posted to the wall right from your own javascript, user then just has to click on Post button. Also in Facebook UI you can have a simple one line of JS to test if user is logged in to Facebook. It would be great if Twitter made a simple UI for opening the Tweet window programmatically, and also allowing to listen to onSuccess (tweet posted, window closed) or onFailure events. It would also be great to programmatically test if user is currently logged in to Twitter (or at least has Twitter account). Please lets get this topic going, I think it's important. On Aug 15, 12:24 pm, Dmitri Snytkine d.snytk...@gmail.com wrote: Hello! I have a small request about the official Tweet button. It would be great if there was some way to know when user has successfully sent a tweet via a tweet popup window and after the window is closed. I am sure Twitter dev team can implement this easily. The benefit to a site owner is that if I know that a user has just Tweeted about my page, I therefore know that a user has a Twitter account, then I can show some prompt to ask a user to join my site with their Twitter account, I can also show a custom message like Thank you for sharing this page on Twtitter as well as can do many other things, even recording some data to my database to keep track which of my registered users has shared pages. All I need is some sort of a callback function to be fired on closing of that window. This could be some sort of custom event that I can subscribe to or some sort of callback function. Does this make sense?
[twitter-dev] Re: Request to improve Tweet button JS interface
Anywhere looks interesting. I'm surprised I did not know anything about it :) But still, adding some of the the features from Anywhere to the Tweet button would be great! On Aug 16, 11:37 am, Taylor Singletary taylorsinglet...@twitter.com wrote: Some of the features you are looking for are part of the @Anywhere arm of the platform:http://dev.twitter.com/anywhere Taylor On Mon, Aug 16, 2010 at 8:29 AM, D. Smith emai...@sharedlog.com wrote: What, nobody else thinkgs it could be useful to have some sort or JS based UI for the Tweet button? The Facebook JS UI is pretty good, you can open the prompt and pre-fill it with a text message to be posted to the wall right from your own javascript, user then just has to click on Post button. Also in Facebook UI you can have a simple one line of JS to test if user is logged in to Facebook. It would be great if Twitter made a simple UI for opening the Tweet window programmatically, and also allowing to listen to onSuccess (tweet posted, window closed) or onFailure events. It would also be great to programmatically test if user is currently logged in to Twitter (or at least has Twitter account). Please lets get this topic going, I think it's important. On Aug 15, 12:24 pm, Dmitri Snytkine d.snytk...@gmail.com wrote: Hello! I have a small request about the official Tweet button. It would be great if there was some way to know when user has successfully sent a tweet via a tweet popup window and after the window is closed. I am sure Twitter dev team can implement this easily. The benefit to a site owner is that if I know that a user has just Tweeted about my page, I therefore know that a user has a Twitter account, then I can show some prompt to ask a user to join my site with their Twitter account, I can also show a custom message like Thank you for sharing this page on Twtitter as well as can do many other things, even recording some data to my database to keep track which of my registered users has shared pages. All I need is some sort of a callback function to be fired on closing of that window. This could be some sort of custom event that I can subscribe to or some sort of callback function. Does this make sense?
[twitter-dev] Is Twitter misusing their own t.co url shortener?
How long has it been since Twitter started their own t.com url shortener? Not sure, but I don't think it's been long enough to shorten over 3.5 trillion urls. Well, I just noticed that the the url shortened by t.com was this:http://t.co/5ywZYau So the value is 5ywZYau From what I understand the shorteners work this way (at least this is the most effecient way in order to create as short a url as possible): First you create a new record for url and get the next available numeric id, usually auto increment. Then you use base62 encoding to convert this integer into a string. The result is that you get the shortest possible value consisting of lower and upper case english letters plus 10 numbers, thus a total of 62 chars are used. The number of chars needed to represent a value is 62 x 62 x 62, etc... so the 7 chars-long base 62 string can represent a number over 13 digits long. Ok, so is it really possible for this service to already shorten over a trillion urls? I don't think so. which only means that you are not doing your best to make the shortest possible url. What's the point of registering a one-letter top level domain, going through all the trouble of creating your own service and then not really doing your absolute best to make sure urls are as short as possible. I mean, you could have probably still be using 4, maybe 5 - chars long codes instead of 7, saving potential customers 2 or 3 valuable characters
[twitter-dev] Re: GAE Twitter API Access
Hi Taylor, After dubbing more into it, I found that this seems to be GAE error, nothing with twitter api. Sorry for that and Thanks for your help. D On Aug 5, 7:33 am, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi there, The library you're trying to use only uses basic authentication which is about to completely go away. While there are many reasons your integration could not be working, the most likely is that you're being rate limited before you even make your first API call. If you use OAuth for authentication, you'll have much more fidelity for making API calls as the shared IP address won't be the single gating factor any more. Can you describe a bit more about what your intentions are and in what way your calls are failing? Thanks, Taylor On Wed, Aug 4, 2010 at 1:38 AM, D hidi...@gmail.com wrote: I am using thishttp://python-twitter.googlecode.com/hg/twitter.py file to access Twitter's UserTimeline and ProfileImg from GAE - Google App Engine. My GAE app url ishttp://test.appspot.comand it is accessed using custom domainhttp://www.mydomain.com. I tried both URL's in twitter application registration, but its not allowing me to access UserTimeLine or ProfileImg on my website. Am I doing something wrong? Please Help.
[twitter-dev] GAE Twitter API Access
I am using this http://python-twitter.googlecode.com/hg/twitter.py file to access Twitter's UserTimeline and ProfileImg from GAE - Google App Engine. My GAE app url is http://test.appspot.com and it is accessed using custom domain http://www.mydomain.com. I tried both URL's in twitter application registration, but its not allowing me to access UserTimeLine or ProfileImg on my website. Am I doing something wrong? Please Help.
[twitter-dev] Search?
What's the deal with search? It's not returning all the data. Just look at any of the trending topics for instance. The Status site hasn't been updated.
[twitter-dev] Re: Search?
It looks like it is working again now. My test was as follows: 1) Go to http://search.twitter.com, click on the top trending topic. 2) Look at the 15 results returned. Usually they all say half a minute ago or less than a minute ago In my test, it said 3 minutes ago, 5 minutes ago, 9 minutes ago, etc. Thanks. On Jun 28, 9:54 am, Jonathan Reichhold jonathan.reichh...@gmail.com wrote: Can you provide more details? We aren't seeing this behaviour. Search has never returned all of the data and in periods of high volume will not index every single tweet. If you want every tweet on a topic we highly suggest the streaming interface. Jonathan @jreichhold On Mon, Jun 28, 2010 at 8:09 AM, Mack D. Male master...@gmail.com wrote: What's the deal with search? It's not returning all the data. Just look at any of the trending topics for instance. The Status site hasn't been updated.
[twitter-dev] Search API reporting temporary error
There seems to be something wrong with the search API. It is only returning a tiny subset of what I would expect (after looking at the same query on search.twitter.com for instance) and is reporting the following: adjusted since_id to 16201119561 due to temporary error Any word on what this temporary error is, or when it'll be fixed? I'm using the latest build of TweetSharp, if that makes any difference.
[twitter-dev] Re: RETWEETS in Search API -- FROM filtering is not working
This is a problem when filtering by geo as well - searching for tweets near:vancouver also returns retweets of users in vancouver by users in other locations. On Jan 22, 10:18 am, Ryan G. ryan.gar...@gmail.com wrote: Hello, As @Sarah Richards reported earlier, we are being impacted across many of our web properties by a change in behavior in the Search API. Previously use of the FROM filter in the search API would only pull tweets that came directly from the user specified. Now the same search parameters result in both tweets from the user specified as well as retweets of the user from other accounts. Any updates on why this is happening? Ex:http://search.twitter.com/search?from=yelyahwilliams
[twitter-dev] Twitter Search - the page you were looking for doesn't exist
Twitter Search has been very problematic today, mainly for searches using operators. For instance, this search currently returns an error message: http://search.twitter.com/search?q=near%3Aedmonton The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved. It happened a few times earlier today as well, and came back after a short period. What gives?! Thanks!
Re: [twitter-dev] Re: Retweet API methods returning 404
I say I say I say, it was a joke, son. - Foghorn Leghorn Sent from my iPhone On Dec 17, 2009, at 6:07 PM, Dimebrain daniel.cre...@gmail.com wrote: Interesting, how do you approach API testing if not live? Wouldn't mind comparing notes. On Dec 17, 7:07 am, Andrew Badera and...@badera.us wrote: Personally, my unit's testes don't call the Twitter API ... Seeing the same 404s on retweet calls however. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me:http://www.google.com/search?q=andrew%20badera On Thu, Dec 17, 2009 at 7:05 AM, Dimebrain daniel.cre...@gmail.com wrote: The following retweet methods have started returning 404's in our unit testes: http://api.twitter.com/1/statuses/retweeted_by_me.json http://api.twitter.com/1/statuses/retweeted_to_me.json http://api.twitter.com/1/statuses/retweets_of_me.json http://api.twitter.com/1/statuses/retweets/[any_status_id].json Anyone else having this issue, or know what happened to these API methods?
[twitter-dev] Re: Problems Connecting to the API
Not just you. Every machine I've tried times out, but istwitterdown.com says No and Seesmic Web works. Seems to be connectivity issue. Sent from my iPhone On Oct 18, 2009, at 8:40 AM, Dewald Pretorius dpr...@gmail.com wrote: Does anyone else have problems connecting to the API at the moment (Sunday morning October 18)? Dewald
[twitter-dev] Re: Problems Connecting to the API
Yes. Unable to connect via Tweetie from home (one of my traceroutes was from home) and lots of reports from iPhone, ATT and Comcast users in Southeast. Sent from my iPhone On Oct 18, 2009, at 9:56 AM, John Kalucki jkalu...@gmail.com wrote: And here's the next question: Is anyone having trouble from non-service, non-hosted endpoints. In other words, problem from home ISPs and desktop clients? -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Oct 18, 7:55 am, John Kalucki jkalu...@gmail.com wrote: OK. I think we have enough traceroutes for now. Thanks for sending them in! If we need more datapoints or information, I'll update this thread. On Oct 18, 7:14 am, John Kalucki jkalu...@gmail.com wrote: I don't see any operational issues from here, but I'm not an operational guy. At first glance the system looks fine, and the operational team isn't in response mode. This is puzzling. Seems like a connectivity issue upstream from twitter. At lest a few developers: please send a traceroute to this list. Also, if you aren't timing out, but rather are getting an HTTP error, send the response headers. After say 4 or 5 responses, they'll probably have enough info to triage this. -John Kaluckihttp://twitter.com/jkalucki Services, Twitter Inc. On Oct 18, 6:40 am, Dewald Pretorius dpr...@gmail.com wrote: Does anyone else have problems connecting to the API at the moment (Sunday morning October 18)? Dewald
[twitter-dev] Follow or Login from Twitter Widget returns 'This Method Requires a GET'
You guys had a bug acknowledgement back in August (13-15) but you've removed it. The widget still malfunctions. I just downloaded it. Will you be fixing it? Suggest you remove the widget entirely if not. It's frustrating for developers to download software that doesn't work. http://74.125.95.132/search?q=cache:f2DO358g1UkJ:help.twitter.com/forums/31935/entries/41003.mobile+Follow+or+Login+from+Twitter+Widget+returns+%27This+Method+Requires+a+GET%27hl=enclient=firefox-agl=castrip=0 Cheers, D
[twitter-dev] Re: Geocoded OR search broken?
Sorry, why is it not compatible with disjunctions? That seems like a bug, not a change in functionality. Basically what you're saying is that if I search for edmonton and geocode it, I get location information. Or if I search for #yeg and geocode it, I get location information. But if I search for edmonton OR #yeg and geocode it, I don't get location information? When I did until yesterday? And received no warning about a change? On Sep 9, 12:52 pm, Alex Payne a...@twitter.com wrote: Another note: the Search API documentation has been updated to reflect that querying based on geocode is not compatible with disjunctions (OR queries). Please see the Operator Limits section ofhttp://apiwiki.twitter.com/Twitter-Search-API-Method:-search. On Wed, Sep 9, 2009 at 11:19, Samuel Luckenbills...@twitter.com wrote: Hey Folks, The bug is specifically that all queries using the geocode parameter with no query string return no results. We'll launch a bug fix today. In the interim, you can use the geocode: operator in the query string or add a bogus string as someone else has suggested. Sorry for the inconvenience and we appreciate your patience. Sam On Sep 8, 6:25 pm, Jose Tinoco jose.tin...@gmail.com wrote: Geocoded API searches are also broken. This is the geocoding example from the API documentation, which used to work and now doesn't: http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%... My website (blablabra.net) does similar searches and now receives only 403 Forbidden errors or an empty XML/JSON with You must enter a query if I try this search on my browser window. On Sep 8, 10:05 pm, Alex Payne a...@twitter.com wrote: Our Search Team informs me that they shipped a new query parser today. This is likely a bug in the new parser, and I've let them know about it. On Tue, Sep 8, 2009 at 17:48, Mack D. Malemaster...@gmail.com wrote: Until a couple of hours ago, searching for something like edmonton OR #yeg OR near:edmonton (or the API equivalent) worked just fine. Now it doesn't return anything new, and seems to return an odd set of old results. You can search for them separately, as in edmonton OR #yeg and near:edmonton but not together. What gives? -- Alex Payne - Platform Lead, Twitter, Inc.http://twitter.com/al3x -- Alex Payne - Platform Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Geocoded OR search broken?
Until a couple of hours ago, searching for something like edmonton OR #yeg OR near:edmonton (or the API equivalent) worked just fine. Now it doesn't return anything new, and seems to return an odd set of old results. You can search for them separately, as in edmonton OR #yeg and near:edmonton but not together. What gives?
[twitter-dev] Re: Geocoded OR search broken?
Awesome, thanks! On Sep 8, 7:05 pm, Alex Payne a...@twitter.com wrote: Our Search Team informs me that they shipped a new query parser today. This is likely a bug in the new parser, and I've let them know about it. On Tue, Sep 8, 2009 at 17:48, Mack D. Malemaster...@gmail.com wrote: Until a couple of hours ago, searching for something like edmonton OR #yeg OR near:edmonton (or the API equivalent) worked just fine. Now it doesn't return anything new, and seems to return an odd set of old results. You can search for them separately, as in edmonton OR #yeg and near:edmonton but not together. What gives? -- Alex Payne - Platform Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Re: 200 errors
The same also, blank 4.01 .
[twitter-dev] from: modifier doesn't work when searching for hashtags
The from: operator successfully filters out posts from the user @RetweetTestRecv when looking for posts with RetweetTestRecv in the text. Here's the search string and corresponding URL: -from:RetweetTestRecv RetweetTestRecv http://search.twitter.com/search?q=-from:RetweetTestRecv+RetweetTestRecv However, when searching not just for mentions of RetweetTestRecv but specifically for the hashtag #RetweetTestRecv the from: filter no longer applies and we see far more posts, some of them from @RetweetTestRecv. Again, here's the search string and corresponding URL. Notice the added #: -from:RetweetTestRecv #RetweetTestRecv http://search.twitter.com/search?q=-from:RetweetTestRecv+%23RetweetTestRecv A relatively small issue, I know, but pretty important for my own application. I'm going to have to work around it by getting more results than I want then eliminating a lot of them. Regards, Dave
[twitter-dev] Re: from: modifier doesn't work when searching for hashtags
Thanks for your replies. I now also see the results I'd expect. Just to prove I'm not completely loopy, here's a screenshot of what I was seeing. You can see all the requests from user RetweetTestRecv included in the results there. When I hit refresh on the browser, it changed to being good results: http://sites.google.com/a/daveboden.com/home/twitterproblem Anyway, all's well that ends well. I'm going to add a double-check into my application to ignore this situation if it happens again; I'm guessing it's some kind of intermittent problem caused by the re- indexing of hashtags. Or something. :o) Cheers, Dave On Jul 7, 9:16 pm, Chad Etzel jazzyc...@gmail.com wrote: Ditto. I don't see any problem. -Chad On Tue, Jul 7, 2009 at 4:07 PM, Abraham Williams4bra...@gmail.com wrote: I get the same results for both links. Abraham On Tue, Jul 7, 2009 at 14:57, d...@daveboden.com d...@daveboden.com wrote: The from: operator successfully filters out posts from the user @RetweetTestRecv when looking for posts with RetweetTestRecv in the text. Here's the search string and corresponding URL: -from:RetweetTestRecv RetweetTestRecv http://search.twitter.com/search?q=-from:RetweetTestRecv+RetweetTestRecv However, when searching not just for mentions of RetweetTestRecv but specifically for the hashtag #RetweetTestRecv the from: filter no longer applies and we see far more posts, some of them from @RetweetTestRecv. Again, here's the search string and corresponding URL. Notice the added #: -from:RetweetTestRecv #RetweetTestRecv http://search.twitter.com/search?q=-from:RetweetTestRecv+%23RetweetTe... A relatively small issue, I know, but pretty important for my own application. I'm going to have to work around it by getting more results than I want then eliminating a lot of them. Regards, Dave -- Abraham Williams | Community Evangelist |http://web608.org Hacker |http://abrah.am|http://twitter.com/abraham Project |http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Send status update with OAuth/PHP/cURL
I've been digging in to the Twitter OAuth stuff and am able to sign into my site with the Twitter authentication, but I'm wondering if there is a way to use the OAuth credentails to send a status update using PHP and cURL. The code below sends an update, but only when a static username:password is filled in. My goal it to update (your) Twitter status from my site once you are authenticated by Twitter. Any thoughts or tutorials? Thanks! // Set username and password $username = 'name'; $password = 'password'; // The message you want to send $message = 'My status update'; // The twitter API address $url = 'http://twitter.com/statuses/update.xml'; // Alternative JSON version // $url = 'http://twitter.com/statuses/update.json'; // Set up and execute the curl process $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, status=$message); curl_setopt($curl_handle, CURLOPT_USERPWD, $username:$password); $buffer = curl_exec($curl_handle); curl_close($curl_handle); // check for success or failure if (empty($buffer)) { echo 'message'; } else { echo 'success'; }
[twitter-dev] Re: Send status update with OAuth/PHP/cURL
Thanks Chad! I've checked out Abraham's OAuth lib, but I don't see how to update a twitter status. His example seems to only authenticate and return data on the person who's authenticated. doug On Apr 21, 5:00 pm, Chad Etzel jazzyc...@gmail.com wrote: Take a look at Abraham Williams' excellent Twitter PHP Oauth lib: http://twitter.abrah.am/ -Chad On Tue, Apr 21, 2009 at 4:36 PM, Doug D dosb...@gmail.com wrote: I've been digging in to the Twitter OAuth stuff and am able to sign into my site with the Twitter authentication, but I'm wondering if there is a way to use the OAuth credentails to send a status update using PHP and cURL. The code below sends an update, but only when a static username:password is filled in. My goal it to update (your) Twitter status from my site once you are authenticated by Twitter. Any thoughts or tutorials? Thanks! // Set username and password $username = 'name'; $password = 'password'; // The message you want to send $message = 'My status update'; // The twitter API address $url = 'http://twitter.com/statuses/update.xml'; // Alternative JSON version // $url = 'http://twitter.com/statuses/update.json'; // Set up and execute the curl process $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, status=$message); curl_setopt($curl_handle, CURLOPT_USERPWD, $username:$password); $buffer = curl_exec($curl_handle); curl_close($curl_handle); // check for success or failure if (empty($buffer)) { echo 'message'; } else { echo 'success'; }
[twitter-dev] Re: Problems with search API and html widget
Perhaps that was the issue with the monitter widget. However, I no longer care because I discovered that my problem with the standard twitter html widget was a Safari 4 bug rather than a problem with twitter's javascript or json results generation. When viewing a page using the widget in Safari 4, the feed results disappear on page refresh or when navigating to the page via the back/forward buttons. I should have checked it using other browsers. :p On Mar 6, 11:12 am, Matt Sanford m...@twitter.com wrote: Hi Kevin, The most likely cause if that you have multiple widgets, all with very low refresh rates. Since the rate limiting is per-IP that can add up to be enough to rate limit. Thanks; — Matt Sanford On Mar 6, 2009, at 05:52 AM, Kevin D wrote: I have also been getting the You have been rate limited. Enhance your calm. response when trying to use the jQuery widget from monitter (http://monitter.com/widget/index.html). I tried that widget because the standard html widget that twitter provides (blogger.js, mytwittername.json) was only returning results for me perhaps 10% of the time. Any ideas on what I might be doing wrong?
Re: no element found
Looks like they just added the source property to a result...so make sure you're decoding properly. On Feb 18, 12:21 pm, TCI ticoconid...@gmail.com wrote: I am getting an error no element found when querying the API for CostaRica's followers... Anything going on?
Re: no element found
Oh yeah, sorry, was referring to the Search API. Haven't had issues with the REST API today. On Feb 18, 2:32 pm, Chad Etzel jazzyc...@gmail.com wrote: er.. which API are you querying? The main Twitter API or the Search API? I think we're getting our signals crossed. -Chad On Wed, Feb 18, 2009 at 4:19 PM, Mack D. Male master...@gmail.com wrote: Looks like they just added the source property to a result...so make sure you're decoding properly. On Feb 18, 12:21 pm, TCI ticoconid...@gmail.com wrote: I am getting an error no element found when querying the API for CostaRica's followers... Anything going on?