[twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Andy Freeman
While I may not want to revoke access for a key, I don't want to leave folks logged into twitter if they use my application from a shared computer. (And no, asking them to log out from twitter isn't reasonable.) It used to be that oauth/authorize did NOT leave users logged into twitter, now it

[twitter-dev] Re: How to end user session?

2010-04-21 Thread Andy Freeman
While oauth/authenticate with force_login=true does force users to provide credentials, oauth/authenticate leaves them logged into twitter, which is somewhat dangerous from a shared or public computer. oauth/authorize used to behave differently - it didn't leave users logged in. However, that

Re: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Abraham Williams
Ya. I was surprised when that change was made. Abraham On Tue, Apr 20, 2010 at 23:04, Andy Freeman ana...@earthlink.net wrote: While I may not want to revoke access for a key, I don't want to leave folks logged into twitter if they use my application from a shared computer. (And no, asking

[twitter-dev] Re: Retweet Anywhere for WordPress

2010-04-21 Thread kovshenin
Abraham, that's nice, though there may be one drawback when shortening the links. A call to bit.ly or other URL shorteners could take some time, thus slowing down your page if you do it server-side. Of course you could cache it or do it via javascript with a PHP tunnel (AJAX) but what's the point

[twitter-dev] Avatar cache

2010-04-21 Thread Jesse Stay
I saw Raffi Tweet something at one time showing off the ability to display a user's avatar just by knowing their screen name. Is this documented somewhere? Thanks, Jesse -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en

Re: [twitter-dev] Avatar cache

2010-04-21 Thread Damon Clinkscales
I don't think it's been documented yet, officially, except on-list. http://api.twitter.com/1/users/profile_image/raffi?size=mini http://api.twitter.com/1/users/profile_image/raffi?size=normal http://api.twitter.com/1/users/profile_image/raffi?size=bigger It does a 302 to an image on S3.

[twitter-dev] Bug??

2010-04-21 Thread 입명이
look! http://blog.werconnected.info/%ED%8A%B8%EC%9C%84%ED%84%B0%EC%9D%98-%EC%95%84%EC%9D%B4%EB%94%94-%EC%9E%90%EB%8F%99-%EB%A7%81%ED%81%AC%EB%A5%BC-%EB%B8%94%EB%A1%9C%EA%B7%B8%EC%97%90-%EC%82%AC%EC%9A%A9%ED%95%B4-%EB%B3%B4%EC%9E%90/ Do you see bottom-scroll in browser(FF)? I had remove @anywhere

[twitter-dev] Re: How to end user session?

2010-04-21 Thread Jonathon Hill
Taylor, The problem with that is when I get my request token and redir to the authorization page, if I'm logged in to Twitter.com it skips right on by and redirects back to my app, so there's no opportunity to register on my site as a *different* Twitter user, except for deliberately going to

[twitter-dev] Re: Streaming API OAuth explanation?

2010-04-21 Thread Jonathon Hill
Thanks Taylor for the very detailed and helpful response! Jonathon On Apr 20, 1:17 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Jonathon, For Streaming API access that isn't from the perspective of a user's account, you would use two-legged OAuth to establish authentication

[twitter-dev] Empty Atom result for specific user

2010-04-21 Thread joshcody
It seems http://search.twitter.com/search.atom?q=from:ofcoursegolf is turning up an empty feed while http://search.twitter.com/search.atom?q=from:jpcody and http://twitter.com/statuses/user_timeline/96868067.rss return results. Any idea what could be going on to cause this discrepancy? --

[twitter-dev] Problems with @Anywhere Tweet Box and jQuery

2010-04-21 Thread Juan [...@pottersys]
Hi! I'm trying out the Tweet Box for a tiny page, and I gave to the layer where the Tweet Box is a fade effect (and hiding the 'Coming soon' message). I added a hash shorcut too (e.g.: when you go to url#participa, it'll show only the Tweet Box) In Chrome, works great. In Firefox, going to the

[twitter-dev] Re: One account to rule them all: questions

2010-04-21 Thread luisg
Hi, Thanks for your reply! About the usernames and passwords, I know that we should not send them to twitter. We should give that information in request_token.authorize_url In my application, after I login with the 'main account' I have a link 'add account' that basically send user to twitter

Re: [twitter-dev] Re: Early look at Annotations

2010-04-21 Thread Kingsley Idehen
Raffi Krikorian wrote: Not to be glib, but they are more than welcome to join in on the conversation in the community. We plan to let the community really drive this one. ReadWriteWebs's Co-Editor, Marshall Kirkpatrick, suggests today that

[twitter-dev] Have questions about @Anywhere? Ask them in the new @Anywhere Group.

2010-04-21 Thread Taylor Singletary
To better support @Anywhere developers and keep this mailing list focused on the Twitter REST, Streaming, and Search APIs, the @Anywhere team has created a specific mailing list for all your @Anywhere conversation needs. If you're having trouble with @Anywhere, or just want to talk implementation

[twitter-dev] Re: Problems with @Anywhere Tweet Box and jQuery

2010-04-21 Thread kovshenin
I came across this a few days ago. The problem here I believe, is that there's some calculation going on in javascript based on the block you're displaying it in, which in your case is not visible at all, thus the iframe is being tagged with a 0x0 width and height. There are two ways to solve it:

[twitter-dev] Re: Introduce yourself!

2010-04-21 Thread gotosleep
Hello everyone! Jesse Andersen from Omaha, NE. For the past six months, I've been obsessed with creating an iphone Twitter client. I have a full-time real job, so I work on my client at night/on the weekends. I was a little discouraged when the news broke about Twitter's acquisition of Tweetie,

[twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Jonathon Hill
I would like to request the addition of another piece of information to the user stream: user profile changes. Anytime the user changes any part of their profile data, it would be helpful to stream that change. Also will there be any way to consume user streams for multiple users? Thanks,

Re: [twitter-dev] Re: Public Timeline Frozen

2010-04-21 Thread Taylor Singletary
It has not happened yet. The most recent parts of the discussion are in this thread: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5152a34a8ae6ccb6/fcac7b30b85413e4?lnk=gstq=mark+mcbride#fcac7b30b85413e4 Thanks, Taylor On Tue, Apr 20, 2010 at 6:20 PM,

[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Joe Taylor
Thank you sir, it is now working. On Apr 20, 7:24 pm, Abraham Williams 4bra...@gmail.com wrote: I just tried it and it worked an created a valid access token. You might be having cookie issues or rate limit issues now. On Tue, Apr 20, 2010 at 19:21, Joe Taylor iamjoetay...@gmail.com wrote:

[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
I have a similar system, but can't find the access token. Am I write I need this token when making a write request to Twitter? On Apr 21, 3:24 am, Abraham Williams 4bra...@gmail.com wrote: I just tried it and it worked an created a valid access token. You might be having cookie issues or rate

[twitter-dev] /statuses/friends requiring auth for non-protected user

2010-04-21 Thread Aaron Rankin
I'm seeing /statuses/friends require authentication for multiple non- protected users. Meanwhile, /statuses/followers is returning statuses for the same users. {request:/1/statuses/friends.json,error:This method requires authentication.} -- Subscription settings:

Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Abraham Williams
The @Anywhere code will automatically handle access tokens. You don't have to manually do anything with them. Abraham On Wed, Apr 21, 2010 at 07:57, Tim Millwood t...@millwoodonline.co.ukwrote: I have a similar system, but can't find the access token. Am I write I need this token when making

[twitter-dev] Re: Include @replies in json stream

2010-04-21 Thread flapane
On 7 Apr, 19:09, flapane flap...@gmail.com wrote: Hi, I wrote a script that parses the timeline and displays the last 5 tweets and how much time has passed since that tweet. http://pastebin.com/LyMhyy18 Unfortunately it doesn't work if I choose $tweet_replies (http://

[twitter-dev] This account is locked due to too many failed login attempts. Try again in X seconds.

2010-04-21 Thread Joe Taylor
This account is locked due to too many failed login attempts. Try again in X seconds. Hello, I'm receiving this error for the first time on an application that has been working for almost a year. It only happens when we are searching a profile for to pull up a single users stream.

[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
What if I did want to do a manual update to Twitter for a user who has connected via @anywhere? could I use the access token? On Apr 21, 4:41 pm, Abraham Williams 4bra...@gmail.com wrote: The @Anywhere code will automatically handle access tokens. You don't have to manually do anything with

Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Abraham Williams
@Anywhere access tokens are short lived so you could but only for a few hours before they expire. Abraham On Wed, Apr 21, 2010 at 08:54, Tim Millwood t...@millwoodonline.co.ukwrote: What if I did want to do a manual update to Twitter for a user who has connected via @anywhere? could I use the

Re: [twitter-dev] This account is locked due to too many failed login attempts. Try again in X seconds.

2010-04-21 Thread Mark McBride
What specific endpoint are you calling? Are you authenticating the call? This is a recent change, and likely indicates that the credentials you're using are invalid. ---Mark http://twitter.com/mccv On Wed, Apr 21, 2010 at 9:27 AM, Joe Taylor iamjoetay...@gmail.com wrote: This account is

Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
ah, ok. What would be the best way to integrate oauth with Drupal? On 21 Apr 2010, at 17:50, Abraham Williams wrote: @Anywhere access tokens are short lived so you could but only for a few hours before they expire. Abraham On Wed, Apr 21, 2010 at 08:54, Tim Millwood

Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Abraham Williams
http://drupal.org/project/twitter Abraham On Wed, Apr 21, 2010 at 10:06, Tim Millwood t...@millwoodonline.co.ukwrote: ah, ok. What would be the best way to integrate oauth with Drupal? On 21 Apr 2010, at 17:50, Abraham Williams wrote: @Anywhere access tokens are short lived so you could

[twitter-dev] Re: Public Timeline Frozen

2010-04-21 Thread mattarnold1977
Taylor, That's odd then because I'm seeing duplicate status id messages in my log. I'll have to dig deeper to see which ID is being repeated to give you an example. -Matt On Apr 21, 10:45 am, Taylor Singletary taylorsinglet...@twitter.com wrote: It has not happened yet. The most recent

[twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Robbie Coleman
Here is why I think this *is* in fact useful: When you enter a room that is dark, you look for a light. To turn on this light, you usually look for a switch near this light. Later if you leave this room (and you're aware of green ideas..) you would probably want to turn off this light. Wouldn't

RE: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Dean Collins
Robbie, totally agree. +1 Considering basic auth is being revoked in less than 45 days it seems twitter hasn't really thought this through. Cheers, Dean -Original Message- From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On

Re: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Abraham Williams
I don't agree with your analogy. You seem to imply the utility of revoking access is in the symmetry of matching API methods. If they light bulb had no cost (such as electricity) and automatically turns on when needed why would you turn the light switch off? There is a slight utility in that a

Re: [twitter-dev] Re: One account to rule them all: questions

2010-04-21 Thread Abraham Williams
Twitter might let you stay signed in to multiple accounts on twitter.comonce they roll out the contributors feature but I would not hold my breath on it being anytime soon. Your users are going to have to sign into Twitter using their sub account info which will leave them logged into Twitter as

Re: [twitter-dev] Re: How to end user session?

2010-04-21 Thread Abraham Williams
If you use oauth/authorize instead of oauth/authenticate they will be prompted by the allow/deny page everytime instead of skiping back to your application. Is that what you want to do? Abraham On Tue, Apr 20, 2010 at 19:56, Jonathon Hill jhill9...@gmail.com wrote: Taylor, The problem with

Re: [twitter-dev] Re: Retweet Anywhere for WordPress

2010-04-21 Thread Abraham Williams
Right now it makes a javascript call on each page that is not / to get the shortened URL but they are pulling from Google so it is pretty quick. I'm pretty sure that each request returns the same URL for each page so it just returns it instead of creating a new one. Abraham On Tue, Apr 20, 2010

[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-04-21 Thread Jaanus
I can't get it to authorize. my-mac:~ jaanus$ twurl authorize --consumer-key blabla --consumer- secret blabla You must authorize first huh? On Apr 20, 3:13 pm, Marcel Molina mar...@twitter.com wrote: We've announced that come June 2010, Basic Auth will no longer be supported via the Twitter

Re: [twitter-dev] Re: User Stream's API usage

2010-04-21 Thread kovas boguta
I second this. Also, unfollows should be treated the same as follows. I know its sad when an unfollow happens, but this is important information too. Basically I would expect the data in the user stream to mirror what is available by repeatedly scraping the REST API for updates. I guess one

Re: [twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Cameron Kaiser
Also, unfollows should be treated the same as follows. I know its sad when an unfollow happens, but this is important information too. I disagree. I think unfollows should be totally without penalty, and making them visible/exposed could depending on the situation assign them a very heavy

Re: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Caliban Darklock
On Wed, Apr 21, 2010 at 12:13 PM, Abraham Williams 4bra...@gmail.com wrote: If they light bulb had no cost (such as electricity) and automatically turns on when needed why would you turn the light switch off? Because the light bulb comes on when you would like it to stay off, obviously. We

[twitter-dev] document.domain Twitter @Anywhere

2010-04-21 Thread cdc
Does anyone know if there's a workaround for the errors document.domain has not been set) to get property Window.twttr or Permission denied for http://www.cdc03.com (document.domain=http:// cdc03.com) to get property Window.document from http:// www.cdc03.com (document.domain has not been set).

Re: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Abraham Williams
On Wed, Apr 21, 2010 at 13:32, Caliban Darklock cdarkl...@gmail.com wrote: It may seem stupid to revoke the access, but in a tiny minority of cases it may be clever, and for that reason alone you may want to consider including it. And what are those cases? If I was Twitter I would not

RE: [twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Dean Collins
On Wed, Apr 21, 2010 at 13:32, Caliban Darklock cdarkl...@gmail.com wrote: It may seem stupid to revoke the access, but in a tiny minority of cases it may be clever, and for that reason alone you may want to consider including it. And what are those cases? If I was Twitter I would not provide

Re: [twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Mark McBride
We likely won't send down the unfollows in the short term, for reasons outlined previously. It's not that we won't *ever* do it, but it's delicate. On the user profile changes, that does seem like a good idea. No promises, but I'll look at what we can do. The highest priorities we have right

[twitter-dev] Any simple way to simple list membership and retweet counts?

2010-04-21 Thread langal
I basically would like to get the number of Lists a user is in. For example, the number of lists a users is in is displayed on their profile page. It looks like the only way to do this is through the user/lists call which would require looping through pages and aggregating the number of entries

[twitter-dev] Re: This account is locked due to too many failed login attempts. Try again in X seconds.

2010-04-21 Thread Joe Taylor
I'm sorry for my ignorance, but I'm think this is what you are asking for. http://twitter.com/statuses/user_timeline/mashable.xml?page=1 ($targetURL) Code: protected function _sendRequest($uri, $auth =TRUE, $method ='GET', $data ='') { $ch = curl_init(); $protocol =

[twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Jonathon Hill
What's wrong with Qwitter? I don't get it. Jonathon Hill On Apr 21, 4:30 pm, Cameron Kaiser spec...@floodgap.com wrote: Also, unfollows should be treated the same as follows. I know its sad when an unfollow happens, but this is important information too. I disagree. I think unfollows

Re: [twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-04-21 Thread Marcel Molina
There is a fix for this. In the meantime you can pass in the -u and -p (username password) command line options and it will force the PIN work flow and you'll be able to authorize. On Wed, Apr 21, 2010 at 1:14 PM, Jaanus jaa...@gmail.com wrote: I can't get it to authorize. my-mac:~ jaanus$

Re: [twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Cameron Kaiser
Also, unfollows should be treated the same as follows. I know its sad when an unfollow happens, but this is important information too. I disagree. I think unfollows should be totally without penalty, and making them visible/exposed could depending on the situation assign them a very

Re: [twitter-dev] Re: This account is locked due to too many failed login attempts. Try again in X seconds.

2010-04-21 Thread Mark McBride
My guess is this block  if($auth)        {            curl_setopt($ch, CURLOPT_USERPWD, {$this-_authUsername}: {$this-_authPassword});        } Is setting the wrong username/password, and you've locked out that account. Prior to yesterday's patch this call would succeed, but you would have

[twitter-dev] Re: This account is locked due to too many failed login attempts. Try again in X seconds.

2010-04-21 Thread Joe Taylor
You are a rock star. I took out the authentication for that call. It was only supposed to auth when the user logs in, for calls using their UN and PW. Thank you Mark -Joe On Apr 21, 7:48 pm, Mark McBride mmcbr...@twitter.com wrote: My guess is this block if($auth) {

[twitter-dev] Promoted Tweet question

2010-04-21 Thread M. Edward (Ed) Borasky
I just noticed something. When a search brings a Promoted Tweet to the top, there's a link in the lower left that says, Promoted by and the name of the brand. But when you click on that link, it takes you to *Twitter's* FAQ about Promoted Tweets! I'm curious - you've got a live link there - why

Re: [twitter-dev] Re: User Stream's API usage

2010-04-21 Thread Abraham Williams
I actually had one time where someone interesting that I wanted to follow unfollowed me and when I noticed because of @unfollowr I started following them and they followed me back. :) On Wed, Apr 21, 2010 at 19:10, Cameron Kaiser spec...@floodgap.com wrote: Also, unfollows should be treated