Re: [twitter-dev] Re: A proposal for delegation in OAuth identity verification
It means you're in Portland Oregon...oh wait, that's area code 503...sorry. On Wed, Feb 10, 2010 at 1:12 PM, Harshad RJ wrote: > > > On Wed, Feb 10, 2010 at 11:05 PM, Dewald Pretorius wrote: >> >> Raffi, >> >> You said, "sends along the user object ass part of it". >> >> Does that explain why the user object is in some cases a bit bloated? > > > And what does it mean when the HTTP response code is 503. > > > -- > Harshad RJ > http://hrj.wikidot.com >
Re: [twitter-dev] Re: listed count?
Why can't you just use http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-memberships to get the lists the user is listed on...and just do a counter as you go through them? It might require a few extra service calls, but at the moment that seems like the most 'appropriate' way to determine how many lists a given user is currently on. - Kevin http://friendstat.us On Tue, Feb 9, 2010 at 1:10 PM, Cameron Kaiser wrote: >> Why would my IP get banned - the API allows developers to retrieve >> almost every piece of data from user's twitter profiles so developers >> don't need to scrape. I think if it's a closed site and they want to >> protect content, then I can understand IP banning but if it's an open >> system like Twitter, I don't see any reason why my IP would get >> banned. >> >> Maybe someone from the Twitter Platform team can chime in, especially >> since I only scrape for list counts every 4-6 hours on a small set of >> users for my application. > > That's probably why they haven't noticed you (yet). However, screen > scraping gets around rate limiting and other controls Twitter places on > the API. That's not exactly considered socially agreeable, and it's not > fair on other API consumers. It's also against TOS. > > https://twitter.com/tos > > -- > personal: http://www.cameronkaiser.com/ > -- > Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com > -- It would have been funnier if I didn't have to think. -- Ashley Mills > -- >
Re: [twitter-dev] Source parameter request for mobile Twitter app ignored (and issues with Twitter's policy toward oAuth on mobile/desktop)
Really, on Twitter's side, the oAuth bits of the process are just a couple of variations of forms...so why not just let each application define templates for those forms (and just give details on what fields are required to be there and what placeholders need to be present so Twitter can replace the values in-line as needed when displaying the template) This would let anyone/everyone design a look and feel that fit best with their application (and therefore becomes less confusing for the average end user too)..but doesn't actually change the oauth flow at all... It ads a bit of processing and storage to Twitter's side of things...but otherwise, I think it would appease most people ;-) - Kevin On Tue, Feb 2, 2010 at 7:31 AM, Raffi Krikorian wrote: >> Here's an idea: let's reverse engineer the top desktop and mobile Twitter >> apps and use their oAuth keys to... Oh, wait, my bad: the top desktop/mobile >> apps _don't_ use oAuth and boy will they take a UX beating when they start. >> >> But one day... :) > > maybe call me naive, but i for one, am not convinced the oauth experience > has to suck. > as mentioned before, i'm really open to having a discussion on how to make > the oauth UX better. many people have already, and i encourage others to > just drop me a line if you have ideas... > -- > Raffi Krikorian > Twitter Platform Team > http://twitter.com/raffi >
Re: [twitter-dev] Hey, Twitter, let us buy sidebar ads! (Or, stop focusing on "the biggies".)
A bit of a tangent, but I would at least like a way to see what apps a given user has. It would be great as an API method, but would even be fine if it's just access to a page like http://twitter.com/oauth that you can get when you are logged into Twitter...as it is currently, there is no easy way to discover apps directly via Twitter (that I know of)...and while systems like oneforty are great, they rely on manual additions and are nowhere near a complete listing of what's out there (and there's no easy way to get a quick listing of who's built what that I know of)... Given all the other things going on, it's a low priority nice-to-have on my list, but since the topic was brought up, I thought I would add my two cents ;-) Thanks! - Kevin On Tue, Feb 2, 2010 at 2:00 AM, PJB wrote: > > Right now, the "ad" in the sidebar on the right-hand side of > Twitter.com is invariably: i) a micro, community, or feel-good sort of > app, ii) a mega-app that most people already know about, that has VC, > connections to Twitter folks directly, or a good PR firm. > > This leaves many non-Bay Area (or medium-sized) apps out in the cold. > > So... can Twitter stop anointing the top dogs in such a willy-nilly > fashion? > > Instead of this annoyingly vague "editor's choice" language about the > selections, can you either set-up a transparent process whereby apps > can be submitted, voted on, whatever... or just convert the whole > thing to paid ads? > > It's incredibly frustrating to see sub-par apps like wefollow.com > promoted just because its founder is buddy-buddy with Twitter folks. > Or for other well-known apps get their "version 2" promoted just > because, well, it's version 2 and it's well-known. > > The choices you guys make have significant repercussions. And it's > increasingly frustrating to find you guys focusing more and more on > market leaders. While I suppose that may make sense from your > perspective, it deprives smaller apps of their ability to compete, and > it ultimately stifles competition. > > It would be far easier if we were allowed SOME VOICE by converting the > whole thing to paid ads, and letting us buy at least SOME space. > > (Or why not just list ALL apps, and weight their presence by, e.g., > click-thrus, votes, etc.) > > > > >
Re: [twitter-dev] I attach my new app to the wrong twitter account: how to change that
You should be able to log in as the account, delete the app ( via http://twitter.com/wrongaccount/oauth where wrongaccount is the one you incorrectly set your app up under)...then log out, log into the account you really want it associated with and set it up as a new app... That is assuming you have access to the account you incorrectly set the app up from in the first place (but if you don't how did you set it up in the first place?!)... - Kevin http://friendstat.us On Sun, Jan 31, 2010 at 1:42 PM, Abraham Williams <4bra...@gmail.com> wrote: > You can try emailing a...@twitter.com but I don't know if they move > applications. > Abraham > > On Sun, Jan 31, 2010 at 06:35, rebtweeter wrote: >> >> It's the first time I register an app, I was connected to a wrong >> twitter account, my app is not validated yet, would like to know how I >> can change the account. >> >> Thanks. > > > > -- > Abraham Williams | Community Advocate | http://abrah.am > Project | Out Loud | http://outloud.labs.poseurtech.com > This email is: [ ] shareable [x] ask first [ ] private. > Sent from Seattle, WA, United States
Re: [twitter-dev] Re: Possibility to link to the user page not by the name but by the id.
I would also argue that, at the time of status whomever owned the account was the one that actually made the post...so it doesn't really matter who is controlling right now...they are associated with the history of the account, because, well it's a history. As an aside though, is there really that much username changing going on? I would think it's more likely an account goes idle or dead than gets transferred to another user...and for the most part this feels like a discussion about designing a system to scale to handle a kabillion users when it's not even clear yet if 10 users would actually use the service... Don't sweat the edge cases so much, fear will paralyze you...it's better to be 'completely broken' for a small percentage of people than to not exist for anyone... Just my two cents ;-) - Kevin On Sun, Jan 31, 2010 at 10:41 AM, Michael Steuer wrote: > If user is no longer the same user as the one that posted status id > , then the link http://twitter.com//statuses/ would no longer > be valid (as the NEW user is not the owner of the status id). > > > > On Jan 30, 2010, at 11:40 PM, Ivan Glushkov wrote: > >> Actually i can't. >> For example, i get some link like >> http://twitter.com/AAA/statuses/11, for the message that was >> posted month ago. I can't be sure if the current user AAA has the same >> guid as the AAA month ago. >> If i had the link like http://twitter.com/redirect?id=111&status=222 i >> would be sure that it's the same user and the same status for that >> user. >> >> Ivan. >> >> >> On Sun, Jan 31, 2010 at 9:36 AM, Michael Ivey >> wrote: >>> >>> You could do this internally in your application, using statuses/show to >>> make sure you have the correct user info before redirecting. >>> -- ivey >>> >>> >>> On Sat, Jan 30, 2010 at 4:06 AM, Ivan Glushkov >>> wrote: Oh, thanks, Abraham! That's great! But why isn't it documented anywhere? And is there any way to redirect to some status of this user? I mean smth like http://twitter.com/account/redirect_by_id?id=9436992&status=3 ??? Thanks once more, Ivan. On Fri, Jan 29, 2010 at 11:37 PM, Abraham Williams <4bra...@gmail.com> wrote: > > Actually Twitter does support it. > http://twitter.com/account/redirect_by_id?id=9436992 > Abraham > > On Wed, Jan 27, 2010 at 06:42, Ivan wrote: >> >> Hi. >> >> I don't need an application that is able to handle this. Instead i >> need changes in the twitter API so i can refer to the users and their >> statuses using the user id, not the username. This is a problem for >> the aggregator, and there users (so it become also a problem for the >> twitter users). >> >> Is there any plan in this direction? >> >> Ivan. >> >> >> On 21 янв, 06:03, Abraham Williams <4bra...@gmail.com> wrote: >>> >>> I remember this topic coming up before and it seems like someone >>> built >>> an >>> application that handled this but I can't find any references to it. >>> Maybe >>> somebody else can? >>> >>> Abraham >>> >>> >>> >>> On Wed, Jan 20, 2010 at 06:29, Ivan wrote: Hi. >>> I tried to find the similar question here (in google groups), in the FAQ and in the API, but couldn't find anything. >>> The problem: Cross-posting the links to the user page and to some his statuses in the web become more and more popular. But, as i understood, you can't guarantee that this links not long after would not change the logical destination. For example I create some post about some twitter-user "aaa" and give the link "twitter.com/aaa" After that user “aaa” changed name to "bbb" and user "ddd" changed name to "aaa". So my old link now points to the different person. >>> This problem becomes more serious for the aggregators that don't know what content they might approve after a while. >>> The simplest decision would be providing the possibility to link to the user not by name but also by id. That pages might be just redirections to the original user pages, it doesn't matter. >>> For example if the user “aaa” have id 11, the following two links should point to the same page: twitter.com/aaa and twitter.com/id/11 >>> This mechanism should also be applied for the statuses: twitter.com/id/11/statuses/22 >>> Ivan. >>> >>> -- >>> Abraham Williams | Moved to Seattle | May cause email delays >>> Project | Intersect |http://intersect.labs.poseurtech.com >>> Hacker |http://abrah.am|http://twitter.com/abraham >>> This email is: [ ] shareable [x] ask first [ ] p
Re: [twitter-dev] Twitter Search with HTTP Referrer and User Agent
You're most likely using cURL with PHP so you want to look into cURL options to set headers...on a very generic level it will be something like: $headers = "User-Agent: YourAppName"; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); - Kevin http://friendstat.us On Sun, Jan 31, 2010 at 2:24 AM, marc wrote: > I'm a novice programmer. I found this statement to be confusing > "Applications must have a meaningful and unique User Agent when using > this method. A HTTP Referrer is expected but not required." I would > like to not run into any limits even though my app is fairly small. > How does one set this information? I am using PHP with JSON to make > the calls to twitter if that makes any difference. > > Thank you! > Marc >
Re: [twitter-dev] DMs are automatically tweeted (not what I want!) :)
Also check what apps you've granted access to: https://twitter.com/account/connections and remove any that you no longer want to have access... - Kevin http://wow.ly On Fri, Jan 29, 2010 at 10:23 PM, Abraham Williams <4bra...@gmail.com> wrote: > Change your password. > Abraham > > On Tue, Jan 26, 2010 at 08:50, SDF wrote: >> >> I can't find an answer to how or why this is happening nor can I >> figure out how to stop the madness :) >> >> Since testing a "tweet this" on a client's site (or so I can narrow >> down) my DM's are automatically becoming tweets. This is happening for >> auto-dms and personal dms. >> >> So if I receive a dm such as: >> abcuser: hi there thanks for the follow >> >> then the tweet that gets posted within 8 hours is: >> [abcuser] hi there thanks for the follow >> via api >> >> I cannot delete it via tweetdeck but I can from ubertwitter on my >> blackberry. >> >> How can I stop it from auto-tweeting my dms? Is there something in the >> API that I triggered somehow? >> >> Any help would be appreciated. Thanks! >> >> >> > > > > -- > Abraham Williams | Community Advocate | http://abrah.am > Project | Out Loud | http://outloud.labs.poseurtech.com > This email is: [ ] shareable [x] ask first [ ] private. > Sent from Seattle, WA, United States
Re: [twitter-dev] Statuses/Show Method doesn't display multiple statuses?
I believe you are looking for user_timeline: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline - Kevin http://wow.ly On Fri, Jan 29, 2010 at 12:35 AM, beerkid wrote: > I am looking to get a result similar to if I visit twitter.com/ > USERNAME. > > I just want to show latest 20 updates from a single user but my > developer says that Statuses/Show will only show most recent update. > > I find it hard to believe that the API wouldn't allow one to achieve > what I explained above. What am I missing? >
Re: [twitter-dev] statuses/update and Lists
Right now lists show all public status of anyone on the list, there is (as far as I know) no way to post a status update to just a specific list. - Kevin http://wow.ly On Wed, Jan 27, 2010 at 6:17 PM, Stan wrote: > I am interested in using the Twitter API to send status update to a > list that I have created under my account. I can do this of course > from the Twitter Site using my browser but can't find a way to do it > using the API. When I call statuses/update for my account to update my > status it shows up under my account and my list. How can I update > status for just one of my Lists (and just the followers thereof) and > not have it appear under my account where it will be seen by all my > Followers? > > Thanks in advance, > > Stan >
Re: [twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api
That's what I see as well. - Kevin http://wow.ly On Tue, Jan 26, 2010 at 7:48 PM, Raffi Krikorian wrote: > i'm confused - what are people seeing? i'm seeing a 404 on that status, not > a 500. > [ra...@tw-mbp13-raffi twitter (homing_pigeon)]$ curl -v > http://twitter.com/statuses/show/15527375.xml > * About to connect() to twitter.com port 80 (#0) > * Trying 168.143.162.68... connected > * Connected to twitter.com (168.143.162.68) port 80 (#0) >> GET /statuses/show/15527375.xml HTTP/1.1 >> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 >> OpenSSL/0.9.7l zlib/1.2.3 >> Host: twitter.com >> Accept: */* >> > < HTTP/1.1 404 Not Found > < Date: Wed, 27 Jan 2010 00:47:26 GMT > < Server: hi > < X-RateLimit-Limit: 2 > < X-Transaction: 1264553246-49270-7281 > < Status: 404 Not Found > < Last-Modified: Wed, 27 Jan 2010 00:47:26 GMT > < X-RateLimit-Remaining: 19765 > < X-Runtime: 0.02460 > < Content-Type: application/xml; charset=utf-8 > < Pragma: no-cache > < Content-Length: 150 > < X-RateLimit-Class: api_whitelisted > < Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, > post-check=0 > < Expires: Tue, 31 Mar 1981 05:00:00 GMT > < X-Revision: DEV > < X-RateLimit-Reset: 1264555010 > < Set-Cookie: > _twitter_sess=BAh7CToOcmV0dXJuX3RvIjJodHRwOi8vdHdpdHRlci5jb20vc3RhdHVzZXMv%250Ac2hvdy8xNTUyNzM3NS54bWw6EXRyYW5zX3Byb21wdDA6B2lkIiVkYTI3NTQ0%250AODg1NWI1M2U2YmE0ZDk3ZjUzYTRkOTYyNSIKZmxhc2hJQzonQWN0aW9uQ29u%250AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D--c18561191b4733080388d38fa9461b6f851b16dc; > domain=.twitter.com; path=/ > < Vary: Accept-Encoding > < Connection: close > < > > > /statuses/show/15527375.xml > No status found with that ID. > > * Closing connection #0 > > On Tue, Jan 26, 2010 at 4:44 PM, Jeffrey Greenberg > wrote: >> >> To be accurate: most ids do work... We had no httpstatus 500 errors >> for quite a while, so this is new and different and bad behavior. >> We've had a working application that has been functioning for more >> than a year, and way back when these errors were frequent, and then >> Twitter did alot of new/good work and they've all but gone away (at >> least on this api)... until now. >> . >> >> >> On Jan 26, 12:39 pm, Kevin Marshall wrote: >> > Yes - seems to be a problem for any id other than the example one in >> > the documentation: >> > >> > http://twitter.com/statuses/show/1472669360.xml(works) >> > >> > http://twitter.com/statuses/show/12735452.xml(reports no statuses, >> > but this is my account and so I can confirm that there are statuses >> > there to report -- ashttp://twitter.com/users/show.xml?id=12735452 >> > also confirms). >> > >> > BTW - if you use the user_timeline method, I think you can get the >> > same status stuff >> > (http://twitter.com/statuses/user_timeline.xml?id=12735452) >> > >> > - Kevin >> > >> > On Tue, Jan 26, 2010 at 3:11 PM, Jeffrey Greenberg >> > >> > >> > >> > wrote: >> > > For instance:http://twitter.com/statuses/show/15527375.xml >> > >> > > anyone else seeing these? > > > > -- > Raffi Krikorian > Twitter Platform Team > http://twitter.com/raffi >
Re: [twitter-dev] Advanced search capability in API?
I believe all of the params from advanced search can be used with the search api as well...as an example, using the search.twitter.com advanced search form produces a url like: http://search.twitter.com/search?q=&ands=friendstatus&phrase=&ors=¬s=&tag=&lang=en&from=&to=&ref=&near=&within=15&units=mi&since=&until=&rpp=15 Add the same parameters to your search api call and I believe you'll get the same results. Hope it helps. - Kevin http://wow.ly On Tue, Jan 26, 2010 at 4:34 PM, mapgeek wrote: > Hi, > > I've scanned some previous posts, along with the API documentation, > but have come up empty handed. So apologies if I ask a question that > has already been asked. > > Is there functionality in the API that equates to the Twitter advanced > search web site? Specifically: > > - choice of language to search in, and restrict results to > - a geographic parameter (location name, lat and lon etc.) > - geographic radius > > Cheers, > MH > > >
Re: [twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api
Yes - seems to be a problem for any id other than the example one in the documentation: http://twitter.com/statuses/show/1472669360.xml (works) http://twitter.com/statuses/show/12735452.xml (reports no statuses, but this is my account and so I can confirm that there are statuses there to report -- as http://twitter.com/users/show.xml?id=12735452 also confirms). BTW - if you use the user_timeline method, I think you can get the same status stuff ( http://twitter.com/statuses/user_timeline.xml?id=12735452 ) - Kevin On Tue, Jan 26, 2010 at 3:11 PM, Jeffrey Greenberg wrote: > For instance: http://twitter.com/statuses/show/15527375.xml > > anyone else seeing these? >