[twitter-dev] OAuth URL to Sign User Out

2009-05-02 Thread Jesse Stay
Is there a URL to send a user to to sign them out of Twitter and prompt for
a new username?  I want to be able to, if the user is logged into the wrong
Twitter account, with one click on my site, log them out of Twitter and
prompt them to re-auth (using OAuth) with a new Twitter username.  Is this
possible?
@Jesse


[twitter-dev] Re: OAuth URL to Sign User Out

2009-05-02 Thread Abraham Williams
This should work: http://code.google.com/p/twitter-api/issues/detail?id=469

On Sat, May 2, 2009 at 01:07, Jesse Stay jesses...@gmail.com wrote:

 Is there a URL to send a user to to sign them out of Twitter and prompt for
 a new username?  I want to be able to, if the user is logged into the wrong
 Twitter account, with one click on my site, log them out of Twitter and
 prompt them to re-auth (using OAuth) with a new Twitter username.  Is this
 possible?
 @Jesse




-- 
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: OAuth URL to Sign User Out

2009-05-02 Thread Paul Kinlan
Hi Abraham,

That is pretty handy to know, does account/end_session not do a similar
thing?  It would be good to know if so because I authenticate using oauth on
twollo and people do have multiple accounts and end_session is something I
was going to use on logout of twollo.

Paul

2009/5/2 Abraham Williams 4bra...@gmail.com

 This should work:
 http://code.google.com/p/twitter-api/issues/detail?id=469


 On Sat, May 2, 2009 at 01:07, Jesse Stay jesses...@gmail.com wrote:

 Is there a URL to send a user to to sign them out of Twitter and prompt
 for a new username?  I want to be able to, if the user is logged into the
 wrong Twitter account, with one click on my site, log them out of Twitter
 and prompt them to re-auth (using OAuth) with a new Twitter username.  Is
 this possible?
 @Jesse




 --
 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: OAuth URL to Sign User Out

2009-05-02 Thread Jesse Stay
Awesome - someone should add that to the wiki.  Thanks!

On Sat, May 2, 2009 at 12:16 AM, Abraham Williams 4bra...@gmail.com wrote:

 This should work:
 http://code.google.com/p/twitter-api/issues/detail?id=469


 On Sat, May 2, 2009 at 01:07, Jesse Stay jesses...@gmail.com wrote:

 Is there a URL to send a user to to sign them out of Twitter and prompt
 for a new username?  I want to be able to, if the user is logged into the
 wrong Twitter account, with one click on my site, log them out of Twitter
 and prompt them to re-auth (using OAuth) with a new Twitter username.  Is
 this possible?
 @Jesse




 --
 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: The Twitter Conference

2009-05-02 Thread EdPimentl
Awesome!!!

This Winter, in Atlanta, we are organizing a TwitRCamp (
http://twitter.com/twitrcamp) along with http://Twitter.com/unconferenc
Would love to know if anyone of you can keynote and lead a session.

Thanks in advance,
-E
Gpro.ws


[twitter-dev] Bug: RSS/xml alternate links on public profiles show uninterpreted @user.id and current_user.id

2009-05-02 Thread Kevin

I'm not sure when this started (likely within a few days), but we just
noticed the link rel=alternate/ links have been rendering
incorrectly on all public twitter profiles.

They literally appear as uninterpreted ruby string escape sequences:
link rel=alternate href=/statuses/user_timeline/#
{...@user.id}.rss title=Loquatmusic's Updates type=application/rss
+xml /
link rel=alternate href=/favorites/#{current_user.id}.rss
title=Loquatmusic's Favorites type=application/rss+xml /

The timeline RSS can still be scraped from the in-page link (a href
class=xref rss profile-rss), but hopefully they'll fix this soon.

Kevin Hunt
TopFans.com



[twitter-dev] Login with Twitter on my site

2009-05-02 Thread Travis Beauvais

I am building a Twitter App (my first) and I am wondering if I can put
the login box on my site instead of directing the user to Twitter. All
examples using OAuth I have seen always redirect to Twitter.


[twitter-dev] iphone customize posted from xxxx message

2009-05-02 Thread mister.griff...@gmail.com

I'm working on an iphone app with twitter support and I'm trying to
figure out how to get my tweets customized so that it uses the name of
my app when posted from MyApp three minutes ago?

Any help would be appreciated.

Thank you.


[twitter-dev] Re: iphone customize posted from xxxx message

2009-05-02 Thread Abraham Williams
http://apiwiki.twitter.com/FAQ#HowdoIget%E2%80%9CfromMyApp%E2%80%9DappendedtoupdatessentfrommyAPIapplication

If you feel that OAuth will not work in your case, contact
a...@twitter.comand explain why OAuth is not for you.

On Sat, May 2, 2009 at 02:42, mister.griff...@gmail.com 
mister.griff...@gmail.com wrote:


 I'm working on an iphone app with twitter support and I'm trying to
 figure out how to get my tweets customized so that it uses the name of
 my app when posted from MyApp three minutes ago?

 Any help would be appreciated.

 Thank you.




-- 
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: Login with Twitter on my site

2009-05-02 Thread Abraham Williams
No. There is no way for the user to verify they are entering their passwords
into Twitter.com unless they get redirected to twitter.com.

On Sat, May 2, 2009 at 00:48, Travis Beauvais tbeauv...@gmail.com wrote:


 I am building a Twitter App (my first) and I am wondering if I can put
 the login box on my site instead of directing the user to Twitter. All
 examples using OAuth I have seen always redirect to 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: The Twitter Conference

2009-05-02 Thread Abraham Williams
I'll be there on the 26th but I already have plans for Google IO on the
27th.

Abraham

On Fri, May 1, 2009 at 15:10, Doug Williams d...@twitter.com wrote:

 Alex and I will be at 140, The Twitter Conference, on May 26th and 27th.
 Alex is keynoting and I am leading a few developer oriented sessions. If you
 are going to be around the Bay area at the end of May, we would love to meet
 at the conference:

 http://parnassusgroup.com/twitterconference/

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Support
 http://twitter.com/dougw





-- 
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] copy of http://dev.twitter.com/2008/10/we-got-data.html

2009-05-02 Thread deepak

hi,
does anyone have a copy of
http://dev.twitter.com/2008/10/we-got-data.html

it now redirects me to http://apiwiki.twitter.com/

Is http://dev.twitter.com/ down permanently?

Thanks,
Deepak


[twitter-dev] Re: Passing Parameters to Callback in OAuth

2009-05-02 Thread Shannon Whitley

I've been using the referrer to capture callback data.  You might want
to try that.

On May 1, 2:29 pm, Jesse Stay jesses...@gmail.com wrote:
 Thanks Matt.  I'll try to handle it in my session for now.  BTW, I think
 I've finally got Perl working - will be doing a post and transferring over
 to the wiki as soon as I feel comfortable with it.
 Jesse



 On Fri, May 1, 2009 at 3:12 PM, Matt Sanford m...@twitter.com wrote:

  Hi Jesse,

     This was available with the oauth_callback parameter but it had to be
  removed for security reasons. I'm currently working with the OAuth group to
  finalize a way to bring oauth_callback back. I have some working code based
  on the current discussion but we're still hashing some things out before it
  will be ready. Hopefully we'll be able to bring it back soon. I'll post and
  update to the list once I have something ready.

  Thanks;
   – Matt Sanford / @mzsanford
      Twitter Dev

  On May 1, 2009, at 2:09 PM, Jesse Stay wrote:

   Forgive my OAuth n00bness, but I was curious if there was a way to pass
  parameters that will in return get passed back to my callback URL in OAuth.
   For instance, I want to pass the parameters, and then when Twitter
  redirects back to my callback URL I want it to also pass the additional
  parameters so I can do different things with the same callback URL 
  depending
  on what I'm trying to do with OAuth at the time.

  Is this possible?  And how?

  Thanks,

  @Jesse- Hide quoted text -

 - Show quoted text -


[twitter-dev] Re: The Twitter Conference

2009-05-02 Thread explicious

are cameras permitted?


thanks,
waitman



On May 1, 1:10 pm, Doug Williams d...@twitter.com wrote:
 Alex and I will be at 140, The Twitter Conference, on May 26th and 27th.
 Alex is keynoting and I am leading a few developer oriented sessions. If you
 are going to be around the Bay area at the end of May, we would love to meet
 at the conference:

 http://parnassusgroup.com/twitterconference/

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw


[twitter-dev] Search not returning all updates

2009-05-02 Thread Andy

I was missing some results in my API search, so I tried it on the
twitter web site (http://search.twitter.com) and I'm having the same
problems. I cannot find tweets from certain users, but can find from
others. For example an update about the Hamptoms and another about
Rome at http://twitter.com/drenert
I tried various searches:

Wondering what the Hamptons
Hamptons
#Rome
#localyte
localyte

No luck with any. I can see his profile, so I know it's not a private
account. Can anyone help me or tell me what I'm missing?

Thanks!
Andy


[twitter-dev] OAuth Callback dilemma

2009-05-02 Thread HSL

Hello,

I've made a renew tokens button in my webapp, but since the OAuth
callback parameter is disabled
it's not possible to use it because it leads to the page that you see
when an account is succesfully
added.

How did you guys solve this?

Harold


[twitter-dev] Re: Search not returning all updates

2009-05-02 Thread Abraham Williams
The user might be flagged as spam. Those accounts don't show up as results
in search.

On Sat, May 2, 2009 at 15:37, Andy andykmj...@gmail.com wrote:


 I was missing some results in my API search, so I tried it on the
 twitter web site (http://search.twitter.com) and I'm having the same
 problems. I cannot find tweets from certain users, but can find from
 others. For example an update about the Hamptoms and another about
 Rome at http://twitter.com/drenert
 I tried various searches:

 Wondering what the Hamptons
 Hamptons
 #Rome
 #localyte
 localyte

 No luck with any. I can see his profile, so I know it's not a private
 account. Can anyone help me or tell me what I'm missing?

 Thanks!
 Andy




-- 
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 Milwaukee, WI, United States


[twitter-dev] Re: OAuth Callback dilemma

2009-05-02 Thread Abraham Williams
Why are you renewing tokens?

You can add some logic to your callback page to check if the user was
already added to your account. If so just follow the renew process.

On Sat, May 2, 2009 at 16:28, HSL hslee...@gmail.com wrote:


 Hello,

 I've made a renew tokens button in my webapp, but since the OAuth
 callback parameter is disabled
 it's not possible to use it because it leads to the page that you see
 when an account is succesfully
 added.

 How did you guys solve this?

 Harold




-- 
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 Milwaukee, WI, United States


[twitter-dev] Stumped by Failed to validate oauth signature or token

2009-05-02 Thread Martyn

I have seen several posts but I don't understand the answers :( I'm
fairly new to all this so I apologize if I'm missing something
obvious.

Using twitterOAuth from https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4
I manage to grab and save the access tokens oauth_token as $user_token
and oauth_token_secret as $user_secret and can use them to
successfully call verify_credentials.xml

However if I try make a second call it doesn't work, for example:-

$msg = 'test';
$twitter =  new TwitterOAuth($consumer_key, $consumer_secret,
$user_token, $user_secret);
$xml_string = $twitter-OAuthRequest('https://twitter.com/statuses/
update.xml', array('status' = $msg), 'POST');

Returns Failed to validate oauth signature or token.

Any ideas what I can do to make this work?

Thanks,
Martyn


[twitter-dev] Re: Stumped by Failed to validate oauth signature or token

2009-05-02 Thread Abraham Williams
Is it possible that one or more of the tokens are getting overwritten or
lost in the process?

On Sat, May 2, 2009 at 18:13, Martyn walker...@gmail.com wrote:


 I have seen several posts but I don't understand the answers :( I'm
 fairly new to all this so I apologize if I'm missing something
 obvious.

 Using twitterOAuth from
 https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4
 I manage to grab and save the access tokens oauth_token as $user_token
 and oauth_token_secret as $user_secret and can use them to
 successfully call verify_credentials.xml

 However if I try make a second call it doesn't work, for example:-

 $msg = 'test';
 $twitter =  new TwitterOAuth($consumer_key, $consumer_secret,
 $user_token, $user_secret);
 $xml_string = $twitter-OAuthRequest('https://twitter.com/statuses/
 update.xml https://twitter.com/statuses/%0Aupdate.xml', array('status'
 = $msg), 'POST');

 Returns Failed to validate oauth signature or token.

 Any ideas what I can do to make this work?

 Thanks,
 Martyn




-- 
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 Milwaukee, WI, United States


[twitter-dev] Re: Login with Twitter on my site

2009-05-02 Thread Abraham Williams
You can not use OAuth if you want. I can't speak for anyone else but I no
longer use webapps that ask for my Twitter password.

On Sat, May 2, 2009 at 11:04, P Burrows pburr...@gmail.com wrote:

 ...don't use OAuth. From what I can tell the only feature you lose from
 not using OAuth is a custom source parameter on status updates.
 (of course, using OAuth is more secure and people might not freak about not
 trusting your site if you use OAuth.)


 --
 Patrick Burrows
 http://www.CleverHumans.com



 On Sat, May 2, 2009 at 1:48 AM, Travis Beauvais tbeauv...@gmail.comwrote:


 I am building a Twitter App (my first) and I am wondering if I can put
 the login box on my site instead of directing the user to Twitter. All
 examples using OAuth I have seen always redirect to 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 Milwaukee, WI, United States


[twitter-dev] Re: Stumped by Failed to validate oauth signature or token

2009-05-02 Thread Martyn

Ouch! I have been stupid after all.  My session was open on the
domain, while my test page was on the www sub domain.

I will go away, hang my head in shame, and be quiet now!

Thanks for your help.
Martyn


On May 3, 12:46 am, Abraham Williams 4bra...@gmail.com wrote:
 Is it possible that one or more of the tokens are getting overwritten or
 lost in the process?



 On Sat, May 2, 2009 at 18:13, Martyn walker...@gmail.com wrote:

  I have seen several posts but I don't understand the answers :( I'm
  fairly new to all this so I apologize if I'm missing something
  obvious.

  Using twitterOAuth from
 https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4
  I manage to grab and save the access tokens oauth_token as $user_token
  and oauth_token_secret as $user_secret and can use them to
  successfully call verify_credentials.xml

  However if I try make a second call it doesn't work, for example:-

  $msg = 'test';
  $twitter =  new TwitterOAuth($consumer_key, $consumer_secret,
  $user_token, $user_secret);
  $xml_string = $twitter-OAuthRequest('https://twitter.com/statuses/
  update.xml https://twitter.com/statuses/%0Aupdate.xml', array('status'
  = $msg), 'POST');

  Returns Failed to validate oauth signature or token.

  Any ideas what I can do to make this work?

  Thanks,
  Martyn

 --
 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 Milwaukee, WI, United States


[twitter-dev] Re: Stumped by Failed to validate oauth signature or token

2009-05-02 Thread Martyn

They are being passed in $_SESSION variables. I have debug code
printing to screen and they look the same but I'll go check, judging
by your answer I may well have done something stoopid after all!

Thanks,
Martyn




On May 3, 12:46 am, Abraham Williams 4bra...@gmail.com wrote:
 Is it possible that one or more of the tokens are getting overwritten or
 lost in the process?



 On Sat, May 2, 2009 at 18:13, Martyn walker...@gmail.com wrote:

  I have seen several posts but I don't understand the answers :( I'm
  fairly new to all this so I apologize if I'm missing something
  obvious.

  Using twitterOAuth from
 https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4
  I manage to grab and save the access tokens oauth_token as $user_token
  and oauth_token_secret as $user_secret and can use them to
  successfully call verify_credentials.xml

  However if I try make a second call it doesn't work, for example:-

  $msg = 'test';
  $twitter =  new TwitterOAuth($consumer_key, $consumer_secret,
  $user_token, $user_secret);
  $xml_string = $twitter-OAuthRequest('https://twitter.com/statuses/
  update.xml https://twitter.com/statuses/%0Aupdate.xml', array('status'
  = $msg), 'POST');

  Returns Failed to validate oauth signature or token.

  Any ideas what I can do to make this work?

  Thanks,
  Martyn

 --
 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 Milwaukee, WI, United States


[twitter-dev] Twitter auth problem?

2009-05-02 Thread Mr. G

Hello. I have a webapp that has been working perfectly and posting on
users accounts just like it is supposed to. It has been working fine
up until now. Now when it goes to update a users status it says could
not authenticate you. I know that it doesn't have anything to do with
the code because it can successfully post on some users accounts. I
ran the verifyCredentials thing on all user accounts and all of them
have come back valid. So why would the update status function only be
working for some users now when it has worked perfectly for everyone
in the past?


Any help is much appreciated

Thanks,
Bryan


[twitter-dev] Twitter API Auth Problems?

2009-05-02 Thread Mr. G

Hello. I have a webapp that has been working perfectly and posting on
users accounts just like it is supposed to. It has been working fine
up until now. Now when it goes to update a users status it says could
not authenticate you. I know that it doesn't have anything to do with
the code because it can successfully post on some users accounts. I
ran the verifyCredentials thing on all user accounts and all of them
have come back valid. So why would the update status function only be
working for some users now when it has worked perfectly for everyone
in the past?


Any help is much appreciated

Thanks,
Bryan


[twitter-dev] Re: Login with Twitter on my site

2009-05-02 Thread Travis Beauvais

Yeah, I am going to stick with OAuth. I wouldn't give another site my
Twitter account info so I am going to expect others too.

On May 2, 4:48 pm, Abraham Williams 4bra...@gmail.com wrote:
 You can not use OAuth if you want. I can't speak for anyone else but I no
 longer use webapps that ask for my Twitter password.



 On Sat, May 2, 2009 at 11:04, P Burrows pburr...@gmail.com wrote:
  ...don't use OAuth. From what I can tell the only feature you lose from
  not using OAuth is a custom source parameter on status updates.
  (of course, using OAuth is more secure and people might not freak about not
  trusting your site if you use OAuth.)

  --
  Patrick Burrows
 http://www.CleverHumans.com

  On Sat, May 2, 2009 at 1:48 AM, Travis Beauvais tbeauv...@gmail.comwrote:

  I am building a Twitter App (my first) and I am wondering if I can put
  the login box on my site instead of directing the user to Twitter. All
  examples using OAuth I have seen always redirect to 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 Milwaukee, WI, United States