[twitter-dev] twitter_oauth gem problem
Having a problem with the twitter_oauth gem. It seems to work fine for the update method and others, e.g. chan = Jobchannel.find(:last, :conditions = ['access_token IS NOT NULL']) client = TwitterOAuth::Client.new( :consumer_key = SAFETWEET_CONSUMER_KEY, :consumer_secret = SAFETWEET_CONSUMER_SECRET, :token = chan.safetweet_access_token, :secret = chan.safetweet_access_secret ) ret = client.update('test') but when I use the update profile method, I get this: ret = client.update_profile(:description = 'test') JSON::ParserError: 665: unexpected token at '?xml version=1.0 encoding=UTF-8 hash request/1/account/update_profile/request errorCould not authenticate with OAuth./error /hash ' from /home/deploy/.gem/ruby/1.8/gems/json_pure-1.2.2/lib/json/common.rb: from /home/deploy/.gem/ruby/1.8/gems/json_pure-1.2.2/lib/json/common.rb: from /opt/ruby/lib/ruby/gems/1.8/gems/twitter_oauth-0.4.3/lib/twitter_oa from /opt/ruby/lib/ruby/gems/1.8/gems/twitter_oauth-0.4.3/lib/twitter_oa from (irb):12 Any ideas? Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs LinkedIn http://www.linkedin.com/profile/view?id=414054 704-544-9370 Listen to the TweetMyJOBS Holiday Album at http://www.tweetmyjobs.com/album Check out TweetMyJOBS on MSNBC's Dylan Ratigan Show: http://www.msnbc.msn.com/id/31510813/#39313587 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Dean Collins [mailto:d...@cognation.net] Sent: Wednesday, January 05, 2011 11:00 AM To: twitter-development-talk@googlegroups.com Subject: [twitter-dev] RE: New twitter in ie8 broken again Huh well that IS interesting. I have no idea why but someone just emailed me to answer my question about New Twitter being broken for IE8. They told me if you turn on InPrivate browsing on IE8 that new twitter works.. Just tried it for my account http://www.Twitter.com/LiveNascarChat came up perfect. Can someone from twitter explain what in their code broke this morning at 8am that is negated by inprivate browsing? Cheers, Dean _ From: Dean Collins Sent: Wednesday, January 05, 2011 8:23 AM To: twitter-development-talk@googlegroups.com Subject: New twitter in ie8 broken again New twitter in ie8 is broken again, works great in firefox but started failing in ie8 about 8am this morning. Cheers, Dean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Where is join date on #newtwitter
Does anyone know where the Join Date is on a user in #NewTwitter? Thanks, Gary Zukowski -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] TwitterOauth
We've started seeing some errors using TwitteOauth. Specifically, we get an Incorrect signature error when trying to use the followers_ids method. This method worked 3 days ago. Has something changed? Thanks, Gary Zukowski -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] TwitterOauth
I'm getting the following error when trying to do a simple update_profile: client.update_profile(:url = '') JSON::ParserError: 665: unexpected token at '?xml version=1.0 encoding=UTF-8? hash request/1/account/update_profile/request errorCould not authenticate with OAuth./error /hash ' Any ideas? Thanks, Gary Zukowski -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] TwitterOauth
Is anyone else having problem with TwitterOauth and friends? I'm trying to create friends with: ret = @client.friend(twittername) And the response I get is a null ret and test show up on the console. Any ideas? Thanks, Gary Zukowski -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
RE: [twitter-dev] Re: Twitter Platform blog post
We tweet jobs for customers to not only our accounts, but to their branded accounts as well. Companies like this because they can outsource this mechanism to a third party without getting their IT groups involved. We don't do any advertising within the tweet, other than provide a bit.ly link that takes jobseekers to more detail about the job. Are these considered ads? Is this considered a violation? In the past, the folks at Twitter have told me that we're OK, but has this changed with the new TOC? If so, there's going to be a lot of upset brand-name companies. Thanks, Gary Zukowski TweetMyJOBS.com This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -Original Message- From: Liz [mailto:nwjersey...@gmail.com] Sent: Tuesday, May 25, 2010 6:36 AM To: Twitter Development Talk Subject: [twitter-dev] Re: Twitter Platform blog post Thanks for the clarification, Ryan. This distinction isn't clear in the original blog post. I also wasn't sure what the difference was between me posting a message that I love Reebok shoes and Starbucks posting they have a special on Frappuccinos. If advertising was prohibited from Tweets, it would apply to commercial accounts as well as individual ones. But you say that's not the case. At this point, I'm not sure what services DO fall under the prohibition guidelines but I guess they are ones where the users have given advertisers blanket control to post whatever they want on their Tweetstream. In effect, this sounds like advertising spam with a third party taking over individual users' accounts. Liz nwjersey...@yahoo.com
[twitter-dev] Oauth authenticated user
How do I force a user to log in to Twitter during the Oauth dance, even though he/she may already be logged in to Twitter via the web? Our users may have more than one Twitter account they want to authenticate/register, and I want to make sure they are forced to put the correct credentials, and not just click accept for the currently logged in account. Thanks, Gary Zukowski
RE: [twitter-dev] Oauth authenticated user
What does “adf” mean? I want to force the logout and present the Twitter login when doing the authentication…. Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Roee Aizman [mailto:roe...@gmail.com] Sent: Wednesday, May 19, 2010 7:41 AM To: twitter-development-talk@googlegroups.com Subject: Re: [twitter-dev] Oauth authenticated user U can adf the if you are not user name log out Then log again with his righr cridentials Sent by IPhone On 19/05/2010, at 14:28, Gary Zukowski ga...@tweetmyjobs.com wrote: How do I force a user to log in to Twitter during the Oauth dance, even though he/she may already be logged in to Twitter via the web? Our users may have more than one Twitter account they want to authenticate/register, and I want to make sure they are forced to put the correct credentials, and not just click “accept” for the currently logged in account. Thanks, Gary Zukowski
RE: [twitter-dev] Oauth authenticated user
So there's no way to automatically do this? I have to ask the user to log out? Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Roee A. [mailto:roe...@gmail.com] Sent: Wednesday, May 19, 2010 8:28 AM To: twitter-development-talk@googlegroups.com Subject: Re: [twitter-dev] Oauth authenticated user add to your code If you are not user name please log out. Then you will connect him again with the right credentials. Regards, On Wed, May 19, 2010 at 3:19 PM, Gary Zukowski ga...@tweetmyjobs.com wrote: What does adf mean? I want to force the logout and present the Twitter login when doing the authentication.. Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Roee Aizman [mailto:roe...@gmail.com] Sent: Wednesday, May 19, 2010 7:41 AM To: twitter-development-talk@googlegroups.com Subject: Re: [twitter-dev] Oauth authenticated user U can adf the if you are not user name log out Then log again with his righr cridentials Sent by IPhone On 19/05/2010, at 14:28, Gary Zukowski ga...@tweetmyjobs.com wrote: How do I force a user to log in to Twitter during the Oauth dance, even though he/she may already be logged in to Twitter via the web? Our users may have more than one Twitter account they want to authenticate/register, and I want to make sure they are forced to put the correct credentials, and not just click accept for the currently logged in account. Thanks, Gary Zukowski -- Roee Aizman, CTO E: roe...@gmail.com M: +972-542345222 Amigos-Online.com Friends have never been so close
RE: [twitter-dev] Oauth authenticated user
Dean, Exactly the same concern I have. We're going to store the access tokens in the db under their user profile, and some of our users have multiple Twitter accounts. We feel that some of them may see the big allow button, click it, and not realize that they are allowing the wrong Twitter account to be linked to their TMJ account. Any way around this? Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Dean Collins [mailto:d...@cognation.net] Sent: Wednesday, May 19, 2010 8:53 AM To: twitter-development-talk@googlegroups.com Subject: RE: [twitter-dev] Oauth authenticated user This question has been raised before. We have the same issue for our sports chat sites. I would have preferred to have the user log in each time an oauth request is made as it's frustrating when people contat us at support because their in chat twitter posts aren't appearing only to find the posts are being made but to someone else twitter accounts who was using the computer before and even though the browser was closed Twitter automatically sued this account when we sent the oauth requests. It's a big problem and a choice should be offered to the developer to force logout before an oauth call if this is the process flow they want to implement. Cheers, Dean _ From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of srikanth reddy Sent: Wednesday, May 19, 2010 8:46 AM To: twitter-development-talk@googlegroups.com Subject: Re: [twitter-dev] Oauth authenticated user I do not think forcing the user to logout is a good idea. Isn't this a security breach? Twitter will any how ask the user to signout if the user does not wish to connect to your app with the logged in account.Then he will be shown the login page and after successful authentication user will be redirected back to your app (like normal flow) On Wed, May 19, 2010 at 6:01 PM, Gary Zukowski ga...@tweetmyjobs.com wrote: So there's no way to automatically do this? I have to ask the user to log out? Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. From: Roee A. [mailto:roe...@gmail.com] Sent: Wednesday, May 19, 2010 8:28 AM To: twitter-development-talk@googlegroups.com Subject: Re: [twitter-dev] Oauth authenticated user add to your code If you are not user name please log out. Then you will connect him again with the right credentials. Regards, On Wed, May 19, 2010 at 3:19 PM, Gary Zukowski ga...@tweetmyjobs.com wrote: What does adf mean? I want to force the logout and present the Twitter login when doing the authentication.. Thanks, Gary Zukowski TweetMyJOBS.com @garyzukowski @tweetmyjobs 704-544-9370 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents