[twitter-dev] Re: since_id basic usage confusion
...ok, I THINK I may have answered my own question I believe I made an assumption (warning sounds going off anyone?) that the XML returned would be in status_id order - nope! Now that I've adjusted for that I think I'm back on course. ...next issue for me us trying to look at paging Joel
[twitter-dev] [Q] how to collect info on followers efficiently
Let's say I want to write an application that operates a twitter account X, and I want the application to obtain every hour for each follower Y of X to obtain the count of followers of Y (how many, not the actual list). I know I can do this via the followers.xml API but that (a) returns only 100 of X's followers at a time, and (b) returns a LOT of data I don't need. Yes, within that data for each follower of X there is the info I need, but this is very wasteful way of obtaining the data. And since twitter rate-limits applications to only 100 API calls per hour this would not work when account X has more than 10K followers. So what are my options? Thanks, --Joe
[twitter-dev] Avoid verify_credentials fetch during OAuth login?
Hi there, I've got my application working sweetly with Twitter authentication, but the number of round trips is annoying me. Presently before I can look a Twitter account up in my code, I must call verify_credentials to find out the authenticated session's Twitter user_id. Is there some way to avoid doing this? At the moment the OAuth dance is more like a prolongued waltz because of this. :) Something like 5 round trips for a new user on my service. Thanks, David.
[twitter-dev] Reg: Find People by name using API
Hi, I want to search the people by using the Search by Name optioin in my application. In www.twitter.com we have a option like this to find the people in twitter. 1. Like this searching is possible using the Twitter API ? Is there any Twitter API methods are there for searching the people by name? and another question... I follwoed a user and unfolwed after some time(days). when i am trying to follow the user using the Twitter API method friendships create, I want to check the user previously un-followed status through the API methods. 2. Is there any method is there to get this status previously un- followed using the API? any help can be appreciated ... Thanks Regards kkp
[twitter-dev] Re: Reg: Find People by name using API
1. Like this searching is possible using the Twitter API ? Is there any Twitter API methods are there for searching the people by name? Not currently. I follwoed a user and unfolwed after some time(days). when i am trying to follow the user using the Twitter API method friendships create, I want to check the user previously un-followed status through the API methods. 2. Is there any method is there to get this status previously un- followed using the API? No. This would be nightmarish to implement as you have it written, however, because it would mean Twitter would have to keep a log of everyone you have previously touched. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Simplicity is the ultimate sophistication. -- Leonardo da Vinci ---
[twitter-dev] Re: [Q] how to collect info on followers efficiently
Let's say I want to write an application that operates a twitter account X, and I want the application to obtain every hour for each follower Y of X to obtain the count of followers of Y (how many, not the actual list). I know I can do this via the followers.xml API but that (a) returns only 100 of X's followers at a time, and (b) returns a LOT of data I don't need. Have you looked at the social graph methods? These are still paged, but at 5000/page. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- A zebra cannot change its spots. -- Al Gore
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: [Q] how to collect info on followers efficiently
2009/5/8 Joe Flesh flesh...@gmail.com: Let's say I want to write an application that operates a twitter account X, and I want the application to obtain every hour for each follower Y of X to obtain the count of followers of Y (how many, not the actual list). I know I can do this via the followers.xml API but that (a) returns only 100 of X's followers at a time, and (b) returns a LOT of data I don't need. Yes, within that data for each follower of X there is the info I need, but this is very wasteful way of obtaining the data. And since twitter rate-limits applications to only 100 API calls per hour this would not work when account X has more than 10K followers. So what are my options? If you only want the number of followers you can get this from the users/show method. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show -Stuart -- http://stut.net/projects/twitter
[twitter-dev] Abuse of multiple accounts
I knew this would happen... one person with a bunch of accounts has managed to spam my social network analysis: http://www.twurlednews.com/2009/05/08/entrepreneurs-wanted-12/ In this case, it is very obviously the same person, since she is using the same picture for every account and only slight variations of her real name. I can detect some of this by seeing real names that correlate to multiple identical tweets... Curious if anybody else has thoughts on ways to identify this sort of abuse. Perhaps if the API told us what percentage of people block each user? Just noticed that most of her profiles have the same home page URL, so that's a strong clue... and most of her tweets contain the same URL. I'm sure that Twitter's fraud group uses some sort of scoring system... any chance that any of that data could be shared in the API to help automated systems avoid retweeting spam? Nick
[twitter-dev] Delay problemas with search api
Hi, I'm using this url for extracting Atom(xml) data: http://search.twitter.com/search.atom?q=%23llrpp=20 and with the same url I have 1-2 hour delay on my application http://www.allapis.com/Geo-Twitter-ll.aspx Why!? My application is all about fast geo tracking. I tryed to get white list permission from twitter, but they didn't respond me.
[twitter-dev] Re: Delay problemas with search api
I will agree that the Search API can get laggy at times, but I've never seen it 2 hours behind... The latest tweet with #ll containing a lat/lng corrd is this from about 2.5 hours ago... http://twitter.com/gmapsmania/status/1737161434 Have you tried more recently? Whenever possible, I recommend the .json feed over the .atom feed, but that's just my preference. Technically they should be identical (temporally speaking), but I have an easier time with the format. -Chad On Fri, May 8, 2009 at 10:23 AM, vladocar vlado...@gmail.com wrote: Hi, I'm using this url for extracting Atom(xml) data: http://search.twitter.com/search.atom?q=%23llrpp=20 and with the same url I have 1-2 hour delay on my application http://www.allapis.com/Geo-Twitter-ll.aspx Why!? My application is all about fast geo tracking. I tryed to get white list permission from twitter, but they didn't respond me.
[twitter-dev] Re: Avoid verify_credentials fetch during OAuth login?
Hi there, We did add screen_name and user_id to the return URL after authorization but it had to be removed for security reasons. Namely, since that URL is not signed in any way someone could feed you an incorrect screen_name/user_id and incorrectly link the wrong twitter account to your account. After going through all of this with the OAuth group we switched back to the verify_credentials method despite the pain in the butt. I've yet to find any more secure way to add that in, sorry. Thanks; – Matt Sanford / @mzsanford Twitter Dev On May 8, 2009, at 1:53 AM, David W wrote: Hi there, I've got my application working sweetly with Twitter authentication, but the number of round trips is annoying me. Presently before I can look a Twitter account up in my code, I must call verify_credentials to find out the authenticated session's Twitter user_id. Is there some way to avoid doing this? At the moment the OAuth dance is more like a prolongued waltz because of this. :) Something like 5 round trips for a new user on my service. Thanks, David.
[twitter-dev] Re: Abuse of multiple accounts
Hi there, We do have a slew of reports and tools for our abuse team looking at blocking, duplicates and some secret sauce to find bad accounts. I'll pass this on and see if it wasn't caught for some reason or is in the process of being handled. As far as sharing our data it via the API we have no plans to do that. The issue isn't showing the data to friends, it's showing it to enemies. I think the development community could probably come up with some cool analysis on this, but so could the spammers. If you show your opponent all of your cards they will raise the stakes. Thanks; – Matt Sanford / @mzsanford Twitter Dev On May 8, 2009, at 8:00 AM, Nick Arnett wrote: I knew this would happen... one person with a bunch of accounts has managed to spam my social network analysis: http://www.twurlednews.com/2009/05/08/entrepreneurs-wanted-12/ In this case, it is very obviously the same person, since she is using the same picture for every account and only slight variations of her real name. I can detect some of this by seeing real names that correlate to multiple identical tweets... Curious if anybody else has thoughts on ways to identify this sort of abuse. Perhaps if the API told us what percentage of people block each user? Just noticed that most of her profiles have the same home page URL, so that's a strong clue... and most of her tweets contain the same URL. I'm sure that Twitter's fraud group uses some sort of scoring system... any chance that any of that data could be shared in the API to help automated systems avoid retweeting spam? Nick
[twitter-dev] Re: Abuse of multiple accounts
On Fri, May 8, 2009 at 8:32 AM, Matt Sanford m...@twitter.com wrote: Hi there, We do have a slew of reports and tools for our abuse team looking at blocking, duplicates and some secret sauce to find bad accounts. I'll pass this on and see if it wasn't caught for some reason or is in the process of being handled. As far as sharing our data it via the API we have no plans to do that. The issue isn't showing the data to friends, it's showing it to enemies. I think the development community could probably come up with some cool analysis on this, but so could the spammers. If you show your opponent all of your cards they will raise the stakes. I certainly understand that, but I was thinking more of a score, rather than any information about what's behind the score, to use as evidential logic. I can see why it is safer and easier to just keep it all behind the scenes until and unless the account is shut down. Any chance of sharing the percentage of people who have blocked each user? That's feedback from your users, after all, and thus somewhat belongs to the community. (There's probably a huge hole in that argument somewhere, but I'm not going to think about it). Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Hi all. To clarify: the site will be down. twitter.com and search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.comwrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com http://twitter.com and search.twitter.com http://search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com mailto:nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com mailto:4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Abuse of multiple accounts
Interesting. Most of her tweets seem to be pretty random and meaningless as well. (though, I suppose the same could be said for many legitimate people.) I don't imagine this is the sort of account Twitter would pick up on and ban, either (that was my first thought - just wait for Twitter to ban it.) -- Patrick Burrows http://Categorical.ly @Categorically From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Nick Arnett Sent: Friday, May 08, 2009 11:01 AM To: twitter-development-talk@googlegroups.com Subject: [twitter-dev] Abuse of multiple accounts I knew this would happen... one person with a bunch of accounts has managed to spam my social network analysis: http://www.twurlednews.com/2009/05/08/entrepreneurs-wanted-12/ In this case, it is very obviously the same person, since she is using the same picture for every account and only slight variations of her real name. I can detect some of this by seeing real names that correlate to multiple identical tweets... Curious if anybody else has thoughts on ways to identify this sort of abuse. Perhaps if the API told us what percentage of people block each user? Just noticed that most of her profiles have the same home page URL, so that's a strong clue... and most of her tweets contain the same URL. I'm sure that Twitter's fraud group uses some sort of scoring system... any chance that any of that data could be shared in the API to help automated systems avoid retweeting spam? Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
@Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.comwrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.comwrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: profile_background_image_url always non-empty?
Justin, This seems reasonable. Can you file an issue for this? Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw 2009/5/7 Justin Hart onyxra...@gmail.com This is an older post, but I saw no activity around it. I'm seeing this too. It seems that the field profile_background_image_url should either be blank or there should be another flag (like the tile flag) that says if the background_image is being shown or not. Thanks. http://groups.google.com/group/twitter-development-talk/browse_thread/thread/0053c1c03493bf8e/a861485dad3d85de#a861485dad3d85de On Jan 20, 4:22 pm, Saša Šarunić ssaru...@gmail.com wrote: I'm not sure if this is expected behavior, but it seams like a bug to me: Even if I turn off abackgroundimagein my settings, it is still returned in call to /users/show api function. For example, I get this: ... profile_background_image_url http://static.twitter.com/images/themes/theme1/bg.gif /profile_background_image_url ... although I would expect to see something like this: ... profile_background_image_url/ ... Can someone comment on this? Sasa S.www.shoutem.com
[twitter-dev] Re: Abuse of multiple accounts
Actually this set of accounts are prime targets to eventually get swept up by one of our automated spam algorithms. This data (a spam score) isn't made public in large part because the code that performs the science is separate from the main twitter.com codebase. Additionally, we don't want to reveal any secrets on how to circumvent our analysis. If you feel that someone is a spammer, please dm or @reply @spam (e.g. @spam @WealthWizz http://twitter.com/WealthWizz) to help in The Fight Against Crime (tm). Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:27 AM, Patrick Burrows pburr...@categorical.lywrote: Interesting. Most of her tweets seem to be pretty random and meaningless as well. (though, I suppose the same could be said for many legitimate people.) I don’t imagine this is the sort of account Twitter would pick up on and ban, either (that was my first thought – just wait for Twitter to ban it.) -- Patrick Burrows http://Categorical.ly @Categorically *From:* twitter-development-talk@googlegroups.com [mailto: twitter-development-t...@googlegroups.com] *On Behalf Of *Nick Arnett *Sent:* Friday, May 08, 2009 11:01 AM *To:* twitter-development-talk@googlegroups.com *Subject:* [twitter-dev] Abuse of multiple accounts I knew this would happen... one person with a bunch of accounts has managed to spam my social network analysis: http://www.twurlednews.com/2009/05/08/entrepreneurs-wanted-12/ In this case, it is very obviously the same person, since she is using the same picture for every account and only slight variations of her real name. I can detect some of this by seeing real names that correlate to multiple identical tweets... Curious if anybody else has thoughts on ways to identify this sort of abuse. Perhaps if the API told us what percentage of people block each user? Just noticed that most of her profiles have the same home page URL, so that's a strong clue... and most of her tweets contain the same URL. I'm sure that Twitter's fraud group uses some sort of scoring system... any chance that any of that data could be shared in the API to help automated systems avoid retweeting spam? Nick
[twitter-dev] Re: Delay problemas with search api
I just did a quick search and the latest result was less then a minute old. Are you sure the lates result is actually lagged and not just old? Also whitelisting will not help lag or really do anything on search.twitter.com. On Fri, May 8, 2009 at 10:14, Chad Etzel jazzyc...@gmail.com wrote: I will agree that the Search API can get laggy at times, but I've never seen it 2 hours behind... The latest tweet with #ll containing a lat/lng corrd is this from about 2.5 hours ago... http://twitter.com/gmapsmania/status/1737161434 Have you tried more recently? Whenever possible, I recommend the .json feed over the .atom feed, but that's just my preference. Technically they should be identical (temporally speaking), but I have an easier time with the format. -Chad On Fri, May 8, 2009 at 10:23 AM, vladocar vlado...@gmail.com wrote: Hi, I'm using this url for extracting Atom(xml) data: http://search.twitter.com/search.atom?q=%23llrpp=20 and with the same url I have 1-2 hour delay on my application http://www.allapis.com/Geo-Twitter-ll.aspx Why!? My application is all about fast geo tracking. I tryed to get white list permission from twitter, but they didn't respond me. -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: [Q] how to collect info on followers efficiently
Or a combination of the 2. Use the social graph method on X to get the Ys and then run users/show on each why to get the number of their followers. On Fri, May 8, 2009 at 09:41, Stuart stut...@gmail.com wrote: 2009/5/8 Joe Flesh flesh...@gmail.com: Let's say I want to write an application that operates a twitter account X, and I want the application to obtain every hour for each follower Y of X to obtain the count of followers of Y (how many, not the actual list). I know I can do this via the followers.xml API but that (a) returns only 100 of X's followers at a time, and (b) returns a LOT of data I don't need. Yes, within that data for each follower of X there is the info I need, but this is very wasteful way of obtaining the data. And since twitter rate-limits applications to only 100 API calls per hour this would not work when account X has more than 10K followers. So what are my options? If you only want the number of followers you can get this from the users/show method. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show -Stuart -- http://stut.net/projects/twitter -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Delay problemas with search api
I also see that your project is parsing out tweets with irrelevant #ll tags, perhaps something is goofy in your parsing code and discarding good #ll tweets? -Chad On Fri, May 8, 2009 at 1:56 PM, Abraham Williams 4bra...@gmail.com wrote: I just did a quick search and the latest result was less then a minute old. Are you sure the lates result is actually lagged and not just old? Also whitelisting will not help lag or really do anything on search.twitter.com. On Fri, May 8, 2009 at 10:14, Chad Etzel jazzyc...@gmail.com wrote: I will agree that the Search API can get laggy at times, but I've never seen it 2 hours behind... The latest tweet with #ll containing a lat/lng corrd is this from about 2.5 hours ago... http://twitter.com/gmapsmania/status/1737161434 Have you tried more recently? Whenever possible, I recommend the .json feed over the .atom feed, but that's just my preference. Technically they should be identical (temporally speaking), but I have an easier time with the format. -Chad On Fri, May 8, 2009 at 10:23 AM, vladocar vlado...@gmail.com wrote: Hi, I'm using this url for extracting Atom(xml) data: http://search.twitter.com/search.atom?q=%23llrpp=20 and with the same url I have 1-2 hour delay on my application http://www.allapis.com/Geo-Twitter-ll.aspx Why!? My application is all about fast geo tracking. I tryed to get white list permission from twitter, but they didn't respond me. -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Reg: Find People by name using API
On Fri, May 8, 2009 at 09:26, Cameron Kaiser spec...@floodgap.com wrote: everyone you have previously touched. o_O -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Abuse of multiple accounts
On Fri, May 8, 2009 at 10:49 AM, Doug Williams d...@twitter.com wrote: Actually this set of accounts are prime targets to eventually get swept up by one of our automated spam algorithms. That's good to hear. I'm going to wait and see how often this happens before I start working on new code to detect it myself. Nick
[twitter-dev] Re: oAuth Usage Question
The token you get from https://twitter.com/oauth/access_token is the users access token that you need to keep. On Thu, May 7, 2009 at 18:51, Gary gbre...@gmail.com wrote: Hello, I just want to be clear I've understood how the oAuth works, I have setup an oauth app on twitter and have enabled my twitter account on it. When I authenticate with twitter I can call http://twitter.com/statuses/friends_timeline.xml and get the timeline. However, if I try to execute that request again, I get a 401 unauthorized saying the token has expired. Is it a correct assumption that whenever I want to access http://twitter.com/statuses/friends_timeline.xml the user has to go through the An application would like to connect to your account process each time? If not what do I need to store to make requests on this resource without user interaction? I'm developing this in C# but any code sample would be handy, Gary -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Abuse of multiple accounts
Nick, We have a chief scientist in house who actually manages all of these algorithms. It is his job to determine how to spot spam and sketchy users (his words) through the data. I'm sure you can understand why we cannot share this part of our secret sauce openly. Also, if there are isolated incidents of spam or abuse that you want to report, you can always send an @reply to @dougw and I can take care of them on my own. Cheers, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 11:30 AM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, May 8, 2009 at 10:49 AM, Doug Williams d...@twitter.com wrote: Actually this set of accounts are prime targets to eventually get swept up by one of our automated spam algorithms. That's good to hear. I'm going to wait and see how often this happens before I start working on new code to detect it myself. Nick
[twitter-dev] Re: The OAuth Conundrum
Yes, fortunately I was able to get it working in a few hours as well, by adapting some modifications made by Chris Kompton (http://github.com/kimptoc). I was planning on spending those hours doing other stuff, but that's not such a huge deal. :-) I am still concerned about how OAuth will affect the user experience of my app. The main issue is that the OAuth authorization web page doesn't display well on the iphone. Is there a mobile-friendly version of that page? - Michael From: Zachary West zacw...@gmail.com To: twitter-development-talk@googlegroups.com Sent: Wednesday, May 6, 2009 6:11:46 PM Subject: [twitter-dev] Re: The OAuth Conundrum On Wed, May 6, 2009 at 18:05, MPS mpelzsher...@gmail.com wrote: I thought I'd add my $.02 to this thread. I'm working on an iPhone app that uses the Twitter API. This is a side project for me with a small budget and tight timelines. I'm using Matt Gemmel's Objective-C library to integrate with Twitter. Everything was going along smoothly, until I realized that in order to get Twitter to acknowledge my app (i.e. tweets from my app say from web rather than from [my app]), I need to use OAuth. (Older apps are being grandfathered in. How nice for them.) Matt's library doesn't support OAuth, and attempts by others to patch it have been less than successful. Feel free to check out the modifications I made for Adium: http://hg.adium.im/adium/file/tip/Plugins/Twitter%20Plugin/MGTwitterEngine This uses OAuth Consumer.framework and works pretty well. I don't know how well it translates over to the iPhone (the OAuth consumer part), but the OAuth details are ridiculously easy. Beware though, if you venture out of that folder you're going to have to GPL (that's where the OAuth token exchange, etc, happens. The example code on the OAuth website should help though). From my perspective, the requirement to use OAuth has added days of overhead to my project (blowing my estimates) and negatively impacted the user experience. I found I was able to do it in a few hours, really. For what it's worth, I agree completely with Josh; OAuth isn't adding value to anyone in this scenario. But it seems I've arrived too late to this party. :-( - Michael @zacwest
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Periscope down. Preparing to dive! On Fri, May 8, 2009 at 1:38 PM, Doug Williams d...@twitter.com wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com http://twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com mailto:mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com http://twitter.com and search.twitter.com http://search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com mailto:nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com mailto:4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Abuse of multiple accounts
On Fri, May 8, 2009 at 11:56 AM, Doug Williams d...@twitter.com wrote: Nick, We have a chief scientist in house who actually manages all of these algorithms. It is his job to determine how to spot spam and sketchy users (his words) through the data. I'm sure you can understand why we cannot share this part of our secret sauce openly. Really, I wasn't asking for algorithms... I was hoping for scores, but that's okay. Also, if there are isolated incidents of spam or abuse that you want to report, you can always send an @reply to @dougw and I can take care of them on my own. As long as they are isolated, I'm not going to worry much about 'em. ;-) Given that this was the first one I've noticed in months, it seems that you guys are doing a good job. Nick
[twitter-dev] Re: The OAuth Conundrum
There is not a mobile friendly version yet, but the issue been accepted: http://code.google.com/p/twitter-api/issues/detail?id=395 Click the star by it to up the vote. -Chad On Fri, May 8, 2009 at 4:54 PM, Michael Pelz-Sherman mpelzsher...@gmail.com wrote: Yes, fortunately I was able to get it working in a few hours as well, by adapting some modifications made by Chris Kompton (http://github.com/kimptoc). I was planning on spending those hours doing other stuff, but that's not such a huge deal. :-) I am still concerned about how OAuth will affect the user experience of my app. The main issue is that the OAuth authorization web page doesn't display well on the iphone. Is there a mobile-friendly version of that page? - Michael From: Zachary West zacw...@gmail.com To: twitter-development-talk@googlegroups.com Sent: Wednesday, May 6, 2009 6:11:46 PM Subject: [twitter-dev] Re: The OAuth Conundrum On Wed, May 6, 2009 at 18:05, MPS mpelzsher...@gmail.com wrote: I thought I'd add my $.02 to this thread. I'm working on an iPhone app that uses the Twitter API. This is a side project for me with a small budget and tight timelines. I'm using Matt Gemmel's Objective-C library to integrate with Twitter. Everything was going along smoothly, until I realized that in order to get Twitter to acknowledge my app (i.e. tweets from my app say from web rather than from [my app]), I need to use OAuth. (Older apps are being grandfathered in. How nice for them.) Matt's library doesn't support OAuth, and attempts by others to patch it have been less than successful. Feel free to check out the modifications I made for Adium: http://hg.adium.im/adium/file/tip/Plugins/Twitter%20Plugin/MGTwitterEngine This uses OAuth Consumer.framework and works pretty well. I don't know how well it translates over to the iPhone (the OAuth consumer part), but the OAuth details are ridiculously easy. Beware though, if you venture out of that folder you're going to have to GPL (that's where the OAuth token exchange, etc, happens. The example code on the OAuth website should help though). From my perspective, the requirement to use OAuth has added days of overhead to my project (blowing my estimates) and negatively impacted the user experience. I found I was able to do it in a few hours, really. For what it's worth, I agree completely with Josh; OAuth isn't adding value to anyone in this scenario. But it seems I've arrived too late to this party. :-( - Michael @zacwest
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
FYI, Well, if Twitter is supposed to be back online now, it isn't here. Good luck
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
And now it is - congrats! ;^)
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
No, and I spoke too soon, the site was up, but now it's not I guess there be a few whales. Jesse Stay wrote: Am I the only one confused on what exactly this is affecting regarding the API? @Jesse
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Yeah, I filed 300 a while ago and it was marked as fixed, so I was surprised when I saw HTML. --Eric On May 8, 2009, at 6:08 PM, Doug Williams wrote: The issues tell the story: http://code.google.com/p/twitter-api/issues/list?can=1q=maintenancecolspec=ID+Stars+Type+Status+Priority+Owner+Summary+Opened+Modified+Componentcells=tiles Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 2:46 PM, Eric Blair eric.s.bl...@gmail.com wrote: Any reason the API is serving up an HTML page instead of the normal error XML? --Eric On May 8, 2009, at 1:50 PM, Michael Bailey wrote: Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Eric, I was right next to Alex when he made the fix for Issue 300 and I remember seeing it deployed. I'll check into it. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Fri, May 8, 2009 at 3:38 PM, Eric Blair eric.s.bl...@gmail.com wrote: Yeah, I filed 300 a while ago and it was marked as fixed, so I was surprised when I saw HTML. --Eric On May 8, 2009, at 6:08 PM, Doug Williams wrote: The issues tell the story: http://code.google.com/p/twitter-api/issues/list?can=1q=maintenancecolspec=ID+Stars+Type+Status+Priority+Owner+Summary+Opened+Modified+Componentcells=tiles Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 2:46 PM, Eric Blair eric.s.bl...@gmail.com wrote: Any reason the API is serving up an HTML page instead of the normal error XML? --Eric On May 8, 2009, at 1:50 PM, Michael Bailey wrote: Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.comwill fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
Another maintenance-related question - are things completely back up and running? I'm asking because I'm seeing inconsistent behavior. In my servers logs, I'm seeing a number of timeouts when talking to Twitter. Also, when I try to run curl commands from my servers to Twitter, they are _extremely_ slow, sometimes timing out. Some of my servers are systems that regularly communicate with Twitter while others rarely do so. However, when I run the same curl command from my desktop, it runs in a snap. I don't recall seeing anything like this in the past, where there would be such a consistent difference between the two environments. --Eric On May 8, 2009, at 6:41 PM, Doug Williams wrote: Eric, I was right next to Alex when he made the fix for Issue 300 and I remember seeing it deployed. I'll check into it. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Fri, May 8, 2009 at 3:38 PM, Eric Blair eric.s.bl...@gmail.com wrote: Yeah, I filed 300 a while ago and it was marked as fixed, so I was surprised when I saw HTML. --Eric On May 8, 2009, at 6:08 PM, Doug Williams wrote: The issues tell the story: http://code.google.com/p/twitter-api/issues/list?can=1q=maintenancecolspec=ID+Stars+Type+Status+Priority+Owner+Summary+Opened+Modified+Componentcells=tiles Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 2:46 PM, Eric Blair eric.s.bl...@gmail.com wrote: Any reason the API is serving up an HTML page instead of the normal error XML? --Eric On May 8, 2009, at 1:50 PM, Michael Bailey wrote: Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
I'm seeing that as well. Guessing is the caches slowly warming up? On Fri, May 8, 2009 at 4:11 PM, Eric Blair eric.s.bl...@gmail.com wrote: Another maintenance-related question - are things completely back up and running? I'm asking because I'm seeing inconsistent behavior. In my servers logs, I'm seeing a number of timeouts when talking to Twitter. Also, when I try to run curl commands from my servers to Twitter, they are _extremely_ slow, sometimes timing out. Some of my servers are systems that regularly communicate with Twitter while others rarely do so. However, when I run the same curl command from my desktop, it runs in a snap. I don't recall seeing anything like this in the past, where there would be such a consistent difference between the two environments. --Eric On May 8, 2009, at 6:41 PM, Doug Williams wrote: Eric, I was right next to Alex when he made the fix for Issue 300 and I remember seeing it deployed. I'll check into it. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Fri, May 8, 2009 at 3:38 PM, Eric Blair eric.s.bl...@gmail.com wrote: Yeah, I filed 300 a while ago and it was marked as fixed, so I was surprised when I saw HTML. --Eric On May 8, 2009, at 6:08 PM, Doug Williams wrote: The issues tell the story: http://code.google.com/p/twitter-api/issues/list?can=1q=maintenancecolspec=ID+Stars+Type+Status+Priority+Owner+Summary+Opened+Modified+Componentcells=tiles Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 2:46 PM, Eric Blair eric.s.bl...@gmail.com wrote: Any reason the API is serving up an HTML page instead of the normal error XML? --Eric On May 8, 2009, at 1:50 PM, Michael Bailey wrote: Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog: http://www.mobasoft.com New Service: http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.comwill fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick -- “When nothing seems to help, I go look at a stonecutter hammering away at his rock perhaps a hundred times without as much as a crack showing in it. Yet at the hundred and first blow it will split in two, and I know it was not that blow that did it, but all that had gone before.” — Jacob Riis
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
On Fri, May 8, 2009 at 4:11 PM, Eric Blair eric.s.bl...@gmail.com wrote: Another maintenance-related question - are things completely back up and running? I'm asking because I'm seeing inconsistent behavior. In my servers logs, I'm seeing a number of timeouts when talking to Twitter. Also, when I try to run curl commands from my servers to Twitter, they are _extremely_ slow, sometimes timing out. Some of my servers are systems that regularly communicate with Twitter while others rarely do so. Same here. Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
I don't think the API is back in service yet, Eric. At least on my side, I can't connect to twitter servers. Arnaud. On 9 mai, 01:11, Eric Blair eric.s.bl...@gmail.com wrote: Another maintenance-related question - are things completely back up and running? I'm asking because I'm seeing inconsistent behavior. In my servers logs, I'm seeing a number of timeouts when talking to Twitter. Also, when I try to run curl commands from my servers to Twitter, they are _extremely_ slow, sometimes timing out. Some of my servers are systems that regularly communicate with Twitter while others rarely do so. However, when I run the same curl command from my desktop, it runs in a snap. I don't recall seeing anything like this in the past, where there would be such a consistent difference between the two environments. --Eric On May 8, 2009, at 6:41 PM, Doug Williams wrote: Eric, I was right next to Alex when he made the fix for Issue 300 and I remember seeing it deployed. I'll check into it. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107http://twitter.com/dougw On Fri, May 8, 2009 at 3:38 PM, Eric Blair eric.s.bl...@gmail.com wrote: Yeah, I filed 300 a while ago and it was marked as fixed, so I was surprised when I saw HTML. --Eric On May 8, 2009, at 6:08 PM, Doug Williams wrote: The issues tell the story: http://code.google.com/p/twitter-api/issues/list?can=1q=maintenance;... Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 2:46 PM, Eric Blair eric.s.bl...@gmail.com wrote: Any reason the API is serving up an HTML page instead of the normal error XML? --Eric On May 8, 2009, at 1:50 PM, Michael Bailey wrote: Thanks for the clarification Doug. Stock up on some RedBull and best of luck for a smooth upgrade to the team! Michael Bailey Doug Williams wrote: @Michael: Yes. The OAuth server makes use of the twitter.com web servers as well as the database backing store which is the focus of the maintenance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 10:00 AM, Michael Bailey mbai...@mobasoft.com wrote: Which includes OAuth verification functionalities, yes? Michael Bailey Thought Leader and Serial Entrepreneur Cultivating the landscape of the online multimedia community Blog:http://www.mobasoft.com New Service:http://mobatalk.com Doug Williams wrote: Hi all. To clarify: the site will be down. twitter.com and search.twitter.com will fail to serve content while the back end changes are being made. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 7:31 AM, Nick Arnett nick.arn...@gmail.com wrote: On Thu, May 7, 2009 at 10:33 PM, Abraham Williams 4bra...@gmail.com wrote: That is usually what site maintenance means... In my experience, a maintenance window means that the site could be down for any or all of that period. The way Doug wrote it, I'd imagine that they expect the site will only be down for a short time, but they're reserving an hour in case it takes longer for unanticipated reasons. We shall see... Nick
[twitter-dev] Re: Planned site maintenance Friday, May 8th 2PM-3PM PST and Monday, May 11th Noon-1PM PST
You guys are smart. Three things: 1) The cache is slow to warm up. Therefore there was some latency involved with the restart of the service. 2) Some of you may have noticed problems about an hour after the restart. Some important objects expire from cache after an hour. Since there was a huge influx of objects expiring 1 hour after the restart presumably together there were problems as the database began to be overworked. We're doing a post-mortem now to determine how to better keep the cache hot even after objects are cached nearly simultaneously after restarts like we experienced today. 3) The downtime today was to increase capacity, which does not exactly translate to performance. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Fri, May 8, 2009 at 5:28 PM, Nick Arnett nick.arn...@gmail.com wrote: On Fri, May 8, 2009 at 4:11 PM, Eric Blair eric.s.bl...@gmail.com wrote: Another maintenance-related question - are things completely back up and running? I'm asking because I'm seeing inconsistent behavior. In my servers logs, I'm seeing a number of timeouts when talking to Twitter. Also, when I try to run curl commands from my servers to Twitter, they are _extremely_ slow, sometimes timing out. Some of my servers are systems that regularly communicate with Twitter while others rarely do so. Same here. Nick