Re: [twitter-dev] Twitter's iOS integration and what this means for developers

2011-06-06 Thread TJ Luoma
On Mon, Jun 6, 2011 at 8:05 PM, Jason Costa jasonco...@twitter.com wrote:
 There have been a lot of questions about what the iOS announcement
 today means for developers. The integration points noted in Apple’s
 keynote create huge opportunities for both Twitter and iOS
 developers.


The first question that everyone should be asking is: Will you hold
off the DM Oauth reauthorization requirement until iOS 5 is released,
so people don't have to go through it again and again and again for
each Twitter app?

And if not, why not? (Other than not giving a whit about 3rd party
Twitter client app developers, but being more interested in helping
developers of other apps integrate Twitter into their apps.)

TjL

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] TweetDeck joins Twitter

2011-05-25 Thread TJ Luoma
On Wed, May 25, 2011 at 11:34 AM, Matt Harris thematthar...@twitter.com wrote:

 When Tweetie became part of the Twitter family the user growth was huge,
 creating more opportunities for developers to build applications for the
 growing audience.

Except for developers who had developed, you know, Twitter clients.
Because Twitter is committed to buying the biggest ones and making
them available for free, to drive you out of business.

Other than that, it was a great opportunity for developers!

TjL

ps - just to make it clear: of course Twitter, Inc. has the freedom to
do whatever they want, it's their sandbox. Just don't tell me that's
rain on my leg. It's insulting at best, and dishonest at worst.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Web page to see who I have blocked?

2011-05-24 Thread TJ Luoma
Is anyone aware of an oAuth-enabled web service which will show me who
I have blocked on Twitter?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Web page to see who I have blocked?

2011-05-24 Thread TJ Luoma
Thanks! I was aware of those endpoints, and have used them before. I
was just hoping that someone had already made a nice webpage GUI to it to
prevent me from thinking about building one :-)

TjL


On Tue, May 24, 2011 at 1:05 PM, Arnaud Meunier arn...@twitter.com wrote:
 Hey,
 You could use one of these two API endpoints to retrieve who the
 authenticated user (i.e. you) is blocking:
 - /1/blocks/blocking/ids to retrieve an array of user ids (more info on
 http://dev.twitter.com/doc/get/blocks/blocking/ids)
 - /1/blocks/blocking to retrieve the user objects (more info on
 http://dev.twitter.com/doc/get/blocks/blocking)
 Hope that helps,
 Arnaud / @rno


 On Tue, May 24, 2011 at 7:03 AM, TJ Luoma luo...@gmail.com wrote:

 Is anyone aware of an oAuth-enabled web service which will show me who
 I have blocked on Twitter?

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Re: Unwanted Link Shortening with t.co

2011-05-22 Thread TJ Luoma
On Sun, May 22, 2011 at 11:47 AM, Mo maur...@moluv.com wrote:
 I understand what's happening. The issue is that now my domain doesn't
 appear in my tweets. It's a marketing issue. I'd like to know what the
 workaround is, since one seems to exist for other link shorteners.

This is part of Twitter's move to take total control over their
platform. They can modify your content however they want to because
it's their sandbox, they just let the rest of us play in it.

TjL

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] A new permission level

2011-05-19 Thread TJ Luoma
On Thu, May 19, 2011 at 5:18 PM, Frank Ash nut...@gmail.com wrote:

 To disguise this as a security issue is laughable at best and a bit insulting.

As USAmericans learned after 9/11/2001, you can push through just
about any policy you want if you wrap it up as security.

It's just astounding to watch Twitter, Inc. ignore the realities of
the developers' world when it takes weeks to get an app through
Apple's App Store process yet Twitter feels like they can just
announce this change and a 30 day deadline.

One might almost wonder if this wasn't yet another attempt to
discourage 3rd party developers from competing with Twitter's own
apps.  And when you're done wondering about that, think about this:
what rule will Twitter change next?

Twitter's fall from grace as the best API platform to the most
developer hostile is an exciting trainwreck to watch.

— http://twitter.com/justinw/status/70922532915642368

Then there was John Gruber's
http://daringfireball.net/linked/2011/05/18/twitter-translation:

 Translation From Weasel-Speak to English of the Key Question in Twitter’s FAQ 
 for Developers Regarding Their New Policy for Third-Party Client Apps

 Q: Will Twitter’s own applications also go through the OAuth web flow?

 A: We’re taking this step to give more clarity and control to users about 
 the access a third-party application has to their account. The way users 
 interact with Twitter’s clients is not expected to change.

 Translation: No.

Or as I said yesterday: https://twitter.com/#!/TJLuoma/status/70954138103586816

 Shorter Message from @Twitter to 3rd Party Devs: This is Phase One of 
 getting rid of xAuth and Phase Two of getting rid of 3rd party devs.

First they came for basic auth…

TjL

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: How do I uninstall/reinstall twurl? (was Re: [twitter-dev] twurl is getting Read-only application cannot POST)

2011-01-06 Thread TJ Luoma
'twurl accounts' shows 3 consumer keys. Changing it to 2nd one does
seem to have solved the problem. I don't know why, because, as I
stated and demonstrated before, none of my apps were every read/write,
but at this point I don't give a sh*t why, as long as it's working. It
only cost me ~3 days of troubleshooting. Gosh, yeah, twurl is just as
easy as curl. OAuth is so convenient to use on the command line.

For those who may come afterwards and wonder how to edit your
'accounts' you have to edit ~/.twurlrc. I didn't see any way to do
something like 'twurl account delete'

Sorry to be so gruff, but this has been a huge hassle and a complete
waste of time.

Thanks to @themattharris for finding a solution, even if there's still
no explanation. Other than well it must have been read only even
though it wasn't.

TjL

-- 
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


How do I uninstall/reinstall twurl? (was Re: [twitter-dev] twurl is getting Read-only application cannot POST)

2011-01-05 Thread TJ Luoma
On Wed, Jan 5, 2011 at 2:31 AM, Abraham Williams 4bra...@gmail.com wrote:
 At this point I would recommend creating a new application. If you are still
 having issues deleting the existing one you should be able to rename it to
 something else and delete it later.

I had the same idea. So I did that. Created a new app called twtr.sh

You can download it/view the source here (it's a bash script):
http://luo.ma/sh/twtr

Here is a screenshot of app settings (with private bits white-d out
and read  write status highlighted:

https://img.skitch.com/20110105-xfad1was8ts4fjhhq6dw67iqm1.jpg

Here is a screenshot of my Twitter / Connections

https://img.skitch.com/20110105-t4p6354c94mxn8u295ckn1rwp7.jpg

I authorized twurl with twtr.sh's information.

If I run twtr.sh —verify (which does a simple 'verify credentials')

returns twtr.sh: Verified

twtr.sh --dm tjluoma hello

fails.

But I ran it on another computer (where I hadn't updated the keys) and
—verify worked there too, when it shouldn't have.

I guess the question I have now is:

How do I completely uninstall 'twurl' and then reinstall it?

because the only thing I can guess is that it's screwed up on my
computers somehow.

TjL

-- 
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


Re: [twitter-dev] twurl is getting Read-only application cannot POST

2011-01-04 Thread TJ Luoma
On Mon, Jan 3, 2011 at 7:14 PM, Matt Harris thematthar...@twitter.com wrote:
 To be able to send POST requests to the API you need to ensure your
 application is of access type: Read  Write
 The message you are getting means your application is Read Only. To change
 this you need to visit http://dev.twitter.com/apps and then edit the details
 of your application so that the access type is Read  Write.
 This will only change access tokens issues from then on so any users who
 have already authorised your application will need to be sent through the
 OAuth process again.

My app is Read  Write and has been Read  Write since day 1 since
pretty much everything it does was obviously going to require 'write'
access.

When I pull up my app on the dev page it is shown as being Read  Write.

I read somewhere else that someone else had this problem  so they
deleted their app and re-created it. I've tried that for two days now,
but whenever I try to delete it, I get the twitter is over capacity
message.

Still need ideas.
TjL

-- 
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


Re: [twitter-dev] twurl is getting Read-only application cannot POST

2011-01-04 Thread TJ Luoma
On Tue, Jan 4, 2011 at 5:13 PM, Matt Harris thematthar...@twitter.com wrote:
 Deleting applications is a known issue at the moment being tracked on our
 issue tracker:
     http://code.google.com/p/twitter-api/issues/detail?id=2040

Why is the 'delete' button still shown if you know it isn't working?


 Regarding your application. Can you check under:
     http://dev.twitter.com/apps
 That your application is read and write. The error message is very specific
 and is only triggered by an application which is read only. If it is read
 and write, try changing it to read only and then back again.

It was set to read  write, as previously stated, but since you don't
believe me, here's a screenshot:

https://img.skitch.com/20110105-e7439ygif6i6yiiwuir244itnp.jpg

I did as you suggested, toggling the app to read only, (and then saved
 saw it listed as read only), and then changed it back to readwrite,
as shown here:

https://img.skitch.com/20110105-urh375rhp1bfmgu463pbtwc3b.jpg

Then re-authorized (which I'll now have to do on 4 different computers
since the keys changed):

# twurl authorize --consumer-key 6meHNyaircETFgqObTAkQ
--consumer-secret qqKvuCRyNBGrYMPQIUyhZiOU8sLdlKS9Mo7Edx70Uk

and then pasted the PIN from my web browser. It said it authorized.

I tried my script again:

# twit.sh --block @dwikirowi

failed, as did

# twurl  -d screen_name=dwikirowi /1/blocks/create.xml
?xml version=1.0 encoding=UTF-8?
hash
  request/1/blocks/create.xml/request
  errorRead-only application cannot POST/error
/hash

Actually, now that I think about it… isn't that suggesting that
*twurl* is Read-Only, not my app? I don't know. All I know is that we
never had these problems with curl and I've wasted far too long on
this when I could have been actually improving my program :-/

Would xAuth make this any easier?

TjL

-- 
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


Re: [twitter-dev] twurl is getting Read-only application cannot POST

2011-01-04 Thread TJ Luoma
On Tue, Jan 4, 2011 at 10:06 PM, Abraham Williams 4bra...@gmail.com wrote:
 Go to https://twitter.com/settings/connections and find the application you
 are testing with. Coffee says that next to it will be read-only access.
 You will have to revoke access then a new authorization should work.

Can I get that coffee via PayPal?

https://img.skitch.com/20110105-mr9ydhi9uh6yr2e6mkpjy26gaq.jpg

Again, the app has NEVER BEEN Read Only, so the app could never have
requested Read Only access to my account.


 Actually, now that I think about it… isn't that suggesting that *twurl* is
 Read-Only, not my app?

 No. It Twurl is just acting like a library that is using your applications
 consumer key and secret. (Which you should reset if those are you real
 values in the emails).

Will do.


I appreciate folks willingness to help, but so far everything has
resolved around the idea that I must be wrong about the app being
read only. I don't know how else to prove that it isn't now and it
never was.



TjL

-- 
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] twurl is getting Read-only application cannot POST

2011-01-03 Thread TJ Luoma
I have authorized twurl successfully but when I try to create a block,
it tells me that it's read only


# twurl -t -d screen_name=dwikirowi /1/blocks/create.xml
opening connection to api.twitter.com...
opened
- POST /1/blocks/create.xml HTTP/1.1\r\nAccept: */*\r\nConnection:
close\r\nUser-Agent: OAuth gem v0.4.4\r\nContent-Type:
application/x-www-form-urlencoded\r\nAuthorization: OAuth
oauth_consumer_key=\EK9yzQy6K8gqzAg0pCaQug\,
oauth_nonce=\TpGOfe8bnzD74N5Ixrpjaip1PfscSkxTYLlYvXqzs14\,
oauth_signature=\yX1suHCZxeGf3pyjNCdkOE5F7rw%3D\,
oauth_signature_method=\HMAC-SHA1\, oauth_timestamp=\1294066225\,
oauth_token=\7344012-fsOhwagPQXaz627NUEI9jbxUFyF4QBQakZeikJsoIA\,
oauth_version=\1.0\\r\nContent-Length: 21\r\nHost:
api.twitter.com\r\n\r\n
- screen_name=dwikirowi
- HTTP/1.1 401 Unauthorized\r\n
- Date: Mon, 03 Jan 2011 14:50:25 GMT\r\n
- Server: hi\r\n
- Status: 401 Unauthorized\r\n
- WWW-Authenticate: Basic realm=\Twitter API\\r\n
- Content-Type: application/xml; charset=utf-8\r\n
- Content-Length: 147\r\n
- Cache-Control: no-cache, max-age=1800\r\n
- Set-Cookie: k=99.174.173.56.1294066225492468; path=/; expires=Mon,
10-Jan-11 14:50:25 GMT; domain=.twitter.com\r\n
- Set-Cookie: guest_id=129406622564378748; path=/; expires=Wed, 02
Feb 2011 14:50:25 GMT\r\n
- Set-Cookie:
_twitter_sess=BAh7CDoHaWQiJTc1YmY4YzA2YTZiNmE1MWIzZjI5N2M2NmQ4MjEyODE4Igpm%250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG%250AOgpAdXNlZHsAOg9jcmVhdGVkX2F0bCsI95FbTC0B--0032072eac8637c5b993db5512109cee00605655;
domain=.twitter.com; path=/\r\n
- Expires: Mon, 03 Jan 2011 15:20:25 GMT\r\n
- Vary: Accept-Encoding\r\n
- Connection: close\r\n
- \r\n
reading 147 bytes...
- 
- ?xml version=\1.0\ encoding=\UTF-8\?\nhash\n
request/1/blocks/create.xml/request\n  errorRead-only
application cannot POST/error\n/hash\n
read 147 bytes
Conn close
?xml version=1.0 encoding=UTF-8?
hash
  request/1/blocks/create.xml/request
  errorRead-only application cannot POST/error
/hash

-- 
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] twurl block is sending 502 even when it succeeds

2010-12-30 Thread TJ Luoma
I am trying to block users on the command line like this:

twurl -t -d screen_name=$1 /1/blocks/create.xml

I am consistently getting

- HTTP/1.1 502 Bad Gateway\r\n

as a response to this (Twitter Over Capacity) even when it works
(verified via API and via website)

Is this why so few 3rd party apps can successfully block? Because the
API gives bad information? I've had to follow every blocks/create with
a blocks/exists to see if it really worked or not.

TjL

-- 
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


Re: [twitter-dev] Re: Install twurl without root access?

2010-10-04 Thread TJ Luoma
The key to getting this to work is making sure that GEM_HOME is set to
somewhere you have write access too:

Here is it failing:

$ gem install twurl
ERROR:  While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
[1]9286 exit 1 gem install twurl


Here is it working:

$ export GEM_HOME=$HOME

$ gem install twurl
Successfully installed oauth-0.4.3
Successfully installed twurl-0.6.2
2 gems installed
Installing ri documentation for oauth-0.4.3...
Installing ri documentation for twurl-0.6.2...
Installing RDoc documentation for oauth-0.4.3...
Installing RDoc documentation for twurl-0.6.2...

TjL

-- 
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] twurl errors in cron

2010-10-04 Thread TJ Luoma
I'm getting the following error when running

twurl -t /1/statuses/user_timeline/amazondeals.rss

in a cron script:

/home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/../lib/twurl/configuration_controller.rb:2:
uninitialized constant Twurl::AbstractCommandController (NameError)
   from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
   from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   from /home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/../lib/twurl.rb:10
   from /home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/../lib/twurl.rb:9:in
`each'
   from /home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/../lib/twurl.rb:9
   from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
   from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   from /home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/twurl:2
   from /home/luomat/bin/twurl:19:in `load'
   from /home/luomat/bin/twurl:19

I have no idea what this means, or if it is important or not.

TjL

-- 
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


Re: [twitter-dev] Re: Any plans to increase user_timeline limit of 3200

2010-09-16 Thread TJ Luoma
On Wed, Sep 15, 2010 at 1:15 PM, Invader avm...@gmail.com wrote:
 Thanks for the quick response. I eagerly await when your
 infrastructure is ready to allow a larger limit.

I wouldn't hold your breath.

-- 
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


[twitter-dev] twurl equivalent of curl's -D/--dump-header mode - or how do I get status response from Twitter?

2010-09-05 Thread TJ Luoma
I had been in the habit of using curl -D - to get the header
information from Twitter to tell me Status 200 (or HTTP/1.1 200)
before proceeding. It was the most reliable way that I knew of to make
sure that Twitter was functioning before parsing the data that I got
back from the API.

I can't figure out any way to get that information from twurl.

So… how do I get a HTTP status back from Twitter while using twurl?

TjL

-- 
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


[twitter-dev] can I install twurl into $HOME?

2010-06-23 Thread TJ Luoma
When trying to install twurl, I am told to run these commands:

sudo gem i twurl --source http://rubygems.org
rake dist:gem
sudo gem i pkg/twurl*gem
sudo gem i oauth

except that I am on a shared server where I do not have write
permissions anywhere outside of ~/

I thought that maybe if I left off the 'sudo' it would be smart enough
to install to my $HOME but no such luck:

# gem i twurl --source http://rubygems.org
ERROR:  While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.

So... am I SOL for running twurl if I don't have admin access to the
machine? If so that will pretty much kill Twitreport.

TjL

ps - sorry if this is a dumb question, I just don't know anything
about ruby. I'm trying to convert my curl shell scripts to twurl due
to basic auth's impending demise.


Re: [twitter-dev] can I install twurl into $HOME?

2010-06-23 Thread TJ Luoma
On Wed, Jun 23, 2010 at 7:01 PM, Matt Harris thematthar...@twitter.com wrote:
 If you don't have sudo rights on the machine you want to run twurl on you 
 will need to tell your system to install gems into your user folder. For most 
 cases this happens automatically when you leave sudo off of the call. One 
 method i've heard works is to change your GEM_HOME folder to somewhere you 
 have write access to. You can do this by typing something similar to:

  export GEM_HOME=/home/myname/gems

OK, that worked for this line:

$ export GEM_HOME=$HOME
$ gem i twurl --source http://rubygems.org
Successfully installed twurl-0.6.1
1 gem installed
Installing ri documentation for twurl-0.6.1...
Installing RDoc documentation for twurl-0.6.1...


$ rake dist:gem
(in /home/twitreport/twurl)
rake aborted!
uninitialized constant Twurl::AbstractCommandController
/home/twitreport/twurl/Rakefile:6
(See full trace by running task with --trace)

And now I'm stuck again. I tried googling and guessing, but neither of
them worked :-/

TjL


[twitter-dev] t.co mixed messages

2010-06-09 Thread TJ Luoma
On the list we were told:

 our current plan is that no user will see a t.co URL on twitter.com but we 
 still have some details to work through. the links will still be displayed as 
 they were sent in, but the target of the link will be the t.co link instead. 
 and, we want to provide the same ability to display original links to 
 developers. we're going to use the entities attribute to make this possible.


On the website,
(http://blog.twitter.com/2010/06/links-and-twitter-length-shouldnt.html)
Twitter said:

 When this is rolled out more broadly to users this summer, all links shared 
 on Twitter.com or third-party apps will be wrapped with a t.co URL. A really 
 long link such as 
 http://www.amazon.com/Delivering-Happiness-Profits-Passion-Purpose/dp/0446563048
  might be wrapped as http://t.co/DRo0trj for display on SMS, but it could be 
 displayed to web or application users as amazon.com/Delivering- or as the 
 whole URL or page title. Ultimately, we want to display links in a way that 
 removes the obscurity of shortened link and lets you know where a link will 
 take you.


Reading that last sentence, it makes it sound like you are going to
auto-expand shortened URLs, which would effectively kill all other URL
shortening services.

Can someone clarify this? I searched through the list archive but
didn't see an answer.

If I post http://ƒ.ws/tco; to Twitter (which is a redirect to
http://blog.twitter.com/2010/06/links-and-twitter-length-shouldnt.html),
will the user see http://ƒ.ws/tco; and if the user clicks on
http://ƒ.ws/tco will it actually go through (for analytics, etc)?

Thanks!

TjL


Re: [twitter-dev] Re: Basic authentication

2010-05-18 Thread TJ Luoma
On Tue, May 18, 2010 at 11:32 AM, Jef Poskanzer jef.poskan...@gmail.com wrote:
 For my command-line twitter applications there is no third party, just
 the end-user and twitter.  Basic Auth + https would be just fine for
 that.

+1

I don't access anyone's account information except my own. This is a
huge hassle for no gain at all for me.

Not that I expect that to change.


[twitter-dev] Really, You're not going to suspend @julianperretta?

2010-04-28 Thread TJ Luoma
He's been plagiarizing people for weeks, and has been reported for
spam by dozens of people that I know about.

Here's just one example:

http://twitter.com/sween/status/3736262373

http://twitter.com/julianperretta/status/12991042505

But hey, I guess he's famous, so why make him follow the same rules as
everyone else?

TjL

ps - yeah I know it's not about the API but it's not like you get a
response from Twitter anywhere else. No, I'm not expecting one here
/rant


Re: [twitter-dev] Really, You're not going to suspend @julianperretta?

2010-04-28 Thread TJ Luoma
On Wed, Apr 28, 2010 at 10:18 AM, John Meyer john.l.me...@gmail.com wrote:
 On 4/28/2010 7:50 AM, TJ Luoma wrote:

 He's been plagiarizing people for weeks, and has been reported for
 spam by dozens of people that I know about.

 Spam I understand, but are you actually trying to report plagarism on a
 bloody tweet?  Are you kidding me?  We're you planning on selling that bit
 of wisdom somewhere? Spinning it off for a book deal?


http://help.twitter.com/forums/26257/entries/18311 under spam

If you repeatedly post other users' Tweets as your own

But Twitter ought to just enforce the rules *you* care about.

TjL


Re: [twitter-dev] Re: Basic Auth Deprecation

2010-04-14 Thread TJ Luoma
On Wed, Apr 14, 2010 at 8:39 AM, Dean #39;at#39; Cognation dot Net
d...@cognation.net wrote:
 But why is oauth better than basic for a desktop client?

 i understand it for the webapps but on a desktop client whats the
 point?

 Basically you are saying the desktop end user cant be trusted? Sorry
 but that doesn't make any sense.

 Please explain.

ARGH.

Are you kidding me?!

Here's a simple use case:

Change your Twitter password

If you are using only OAuth apps, they will be unaffected.

If you are using Basic Auth apps, you will have to go around and
update all of them OR risk being locked out of your Twitter account.

I know; this just happened to me.

More below…

On Wed, Apr 14, 2010 at 9:28 AM, Dean Collins d...@cognation.net wrote:

 So basically you are saying Twitter wants a chokehold to block apps they
 don’t like which you don’t currently have with basic auth.

 Considering your recent purchase of a twitter client is that really a
 message you want to be spreading at the moment?

 How about leaving it up to end users to make the decision about which
 clients they do and don’t use to access twitter. Restricting all clients to
 oauth only is hardly going to give developers warm and fuzzy feelings that
 with a single keystroke a client can be banned instantly across the entire
 ecosystem.

 Or am I missing something?

Dean, seriously, lay off the X-Files re-runs. They're making you sound paranoid.

Twitter has been talking about this for ***at least*** 6 months, maybe 12.

Bringing up the purchase of Tweetie only make it looks like you have
an axe to grind.

Leave it to end users? Because end users will do what developers
will do: the laziest option available.

Requiring users to repeatedly type Twitter passwords is going to lead
most of them to a) use insecure passwords and b) not change them.
Forcing developers who would otherwise be too lazy to implement OAuth
to change will make it better for users and developers in the long
run.

I say this as someone whose ONLY method of interacting with the
Twitter API is on the commandline, meaning that I am going to have to
look at every single piece of code I've written, every little shell
script (several dozen, at least) to see where I have to change things.

And I don't make a dime from this, I'm providing a free service.

As are — oh yeah — Twitter.

Giving away your password is insecure. Twitter users have been
extremely vulnerable to this. This will make Twitter accounts more
secure. It's a good thing that requires extra work.

Changing your password when using Basic Auth is a giant PITA. I know
because I just did it across all my Twitter accounts and clients.

And anyone who says that Twitter is springing this on people is
either a liar or ignorant.

TjL


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Basic Auth Deprecation

2010-04-13 Thread TJ Luoma
On Tue, Apr 13, 2010 at 7:35 PM, Raffi Krikorian ra...@twitter.com wrote:

 we'll make sure to message it long before hand!

I'm still unclear what people who use 'curl' will do after basic auth
is deprecated.

Is there an OAuth for the commandline? If so: pointers, please.

TjL


Re: [twitter-dev] Someone managed to get me to follow them w/o my intervention (@johnnymatosj)

2010-03-18 Thread TJ Luoma
On Thu, Mar 18, 2010 at 4:57 PM, jmathai jmat...@gmail.com wrote:
 Anyone seen this?  User @johnnymatosj started showing up in my feed
 and I checked and oddly enough I was following him.  I never heard of
 him so there is some bug or he got a hold of my password (this account
 hasn't added any oauth apps).  I did a search and saw that others have
 had similar issues.

 http://search.twitter.com/search?q=johnnymatosj

I used this:

http://search.twitter.com/search?q=johnnymatosj+-from%3Ajohnnymatosj

and saw two, including you.

My guess? He's someone you were following who changed their twittername.

He joined back in September 2009. Anyone you've followed since then
who's gone missing?

TjL

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] missing tweets

2010-03-15 Thread TJ Luoma
I've seen Tweetie on the Mac and Brizzly users both complaining that
twitter.com is showing them tweets that the others are missing.

Is this a known issue right now? Is the cause known?

TjL


Re: [twitter-dev] missing tweets

2010-03-15 Thread TJ Luoma
It's not so much frozen as some are there and some are not.

Brizzly, I think you leave off tweets. I just ventured over to
twitter and saw loads more tweets in my timeline

http://twitter.com/expat_erin/status/10518763664 (just now)

Tweetie for Mac is losing tweets due to some change at Twitter. Hate
going to the Web for Twitter.

http://twitter.com/jeffcarlson/status/10500472068 (11 hrs ago)

TjL


On Mon, Mar 15, 2010 at 10:30 AM, John Kalucki j...@twitter.com wrote:
 http://status.twitter.com/post/447344319/some-users-experiencing-frozen-timelines

 Are the missing tweets from over the weekend, or are new tweets from today
 missing?

 -John


 On Mon, Mar 15, 2010 at 7:12 AM, TJ Luoma luo...@luomat.net wrote:

 I've seen Tweetie on the Mac and Brizzly users both complaining that
 twitter.com is showing them tweets that the others are missing.

 Is this a known issue right now? Is the cause known?

 TjL




Re: [twitter-dev] Getting IP of user from Tweets

2010-03-11 Thread TJ Luoma
On Thu, Mar 11, 2010 at 10:08 PM, PRAVEEN KUMAR erpraveen2...@gmail.com wrote:

 I want to get IP address of user based on the last tweet sent by him.
 Message may be sent from machine or from mobile but in both the cases
 whatever IP he has used I need that in my application to find out
 user's current location.

 Please help me in getting this detail.Which API function can solve my
 problem ?

None. That information isn't available via the API, nor should it be
as it would be a major issue of privacy that I'm sure Twitter wouldn't
want to open up without explicit permission from the users.

TjL


Re: [twitter-dev] how do we get the via Client name on Tweets

2010-03-10 Thread TJ Luoma
It has to be a registered app which uses OAuth.

(Existing non-OAuth apps were grand-fathered in when this policy was adopted)

On Wed, Mar 10, 2010 at 4:02 PM, pranzb bhatpra...@gmail.com wrote:
 Hello all,

 I wanted to know how do we get our client name at the end of every
 tweet. Like for eg: At the end of a tweet, the website says via API
 or via TweetDeck. I wanted to know how do we get that to be our
 client name like Tweetdeck did?

 Thanks,

 Pranz B



[twitter-dev] Suddenly can't authenticate via 3rd party apps

2010-03-02 Thread TJ Luoma
Is something weird going on with the API this morning?

Tweetie 2 on the iPhone  Tweetie on the Mac both said they couldn't
authenticate me.

I logged into the website with the same username/password that I've been using.

But I still can't authenticate via the commandline either:

$ curl --location --referer ;auto -D - -s --netrc
http://api.twitter.com/1/account/verify_credentials.xml;
HTTP/1.1 401 Unauthorized
Date: Tue, 02 Mar 2010 14:08:39 GMT
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm=Twitter API
X-Runtime: 0.00163
Content-Type: application/xml; charset=utf-8
Content-Length: 154
Cache-Control: no-cache, max-age=1800
Set-Cookie: guest_id=1267538919429; path=/
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCAUANR8nAToHaWQiJTljZGIxYjQwNTE3YmVm%250ANWMyOGZiNGQ4ZWQzZDI3ZmUwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--681010a37b71af29fcb79b4f82c48e9673257e32;
domain=.twitter.com; path=/
Expires: Tue, 02 Mar 2010 14:38:39 GMT
Vary: Accept-Encoding
Connection: close

?xml version=1.0 encoding=UTF-8?
hash
  request/1/account/verify_credentials.xml/request
  errorCould not authenticate you./error
/hash


[twitter-dev] Re: Suddenly can't authenticate via 3rd party apps

2010-03-02 Thread TJ Luoma
I did some further investigating and discovered that

curl --location --referer ;auto -D - -s --netrc
http://twitter.com/account/verify_credentials.xml;

works fine but

curl --location --referer ;auto -D - -s --netrc
http://api.twitter.com/1/account/verify_credentials.xml;

fails.

(I still can't use Tweetie on the Mac or iPhone.)

Headers of each reproduced below:

$ curl --location --referer ;auto -D - -s --netrc
http://api.twitter.com/1/account/verify_credentials.xml;

HTTP/1.1 401 Unauthorized
Date: Tue, 02 Mar 2010 16:37:15 GMT
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm=Twitter API
X-Runtime: 0.00307
Content-Type: application/xml; charset=utf-8
Content-Length: 154
Cache-Control: no-cache, max-age=1800
Set-Cookie: guest_id=1267547834998; path=/
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCHcKvR8nAToHaWQiJWU0NTU1ODgxNjBjNWVh%250AZGM2OTMwM2I5MDdjMDg1NmNhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--0de412a9e08a3cb8829112c54e5ad75aff686ce5;
domain=.twitter.com; path=/
Expires: Tue, 02 Mar 2010 17:07:13 GMT
Vary: Accept-Encoding
Connection: close

?xml version=1.0 encoding=UTF-8?
hash
  request/1/account/verify_credentials.xml/request
  errorCould not authenticate you./error
/hash



$ curl --location --referer ;auto -D - -s --netrc
http://twitter.com/account/verify_credentials.xml;

HTTP/1.1 200 OK
Date: Tue, 02 Mar 2010 16:37:04 GMT
Server: hi
Status: 200 OK
X-Transaction: 1267547824-13464-26726
ETag: 0a11cb52548d01603901042ed8792fa6
Last-Modified: Tue, 02 Mar 2010 16:37:04 GMT
X-Runtime: 0.08553
Content-Type: application/xml; charset=utf-8
Content-Length: 2095
Pragma: no-cache
X-Revision: DEV
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Set-Cookie: guest_id=1267547824009; path=/
Set-Cookie: lang=en; path=/
Set-Cookie: 
_twitter_sess=BAh7CToRdHJhbnNfcHJvbXB0MDoPY3JlYXRlZF9hdGwrCMLfvB8nAToHaWQi%250AJTUzZDQyZmI3Mzk5MWY0NjZiNTMxY2FlYzUxM2ZlNjI5IgpmbGFzaElDOidB%250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--79e5002cee6eb1cdf89d398c45e79ff80f2e66b0;
domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close

{I removed the rest since it seemed superfluous, but it gave me all
the right information}


Re: [twitter-dev] Re: forcing api.twitter.com resources - tomorrow

2010-03-02 Thread TJ Luoma
On Tue, Mar 2, 2010 at 6:03 PM, Dewald Pretorius dewaldpub...@gmail.com wrote:
 There appears to be ground for confusion here. I'm sure some folks are
 still sending some API calls to twitter.com.

I'm not even sure what Twitter is talking about. The initial post in
this thread was completely vague.

This is fairly troublesome, considering that:

$ curl --location --referer ;auto -D - -s --netrc
http://api.twitter.com/1/account/verify_credentials.xml;

fails but

$ curl --location --referer ;auto -D - -s --netrc
http://twitter.com/account/verify_credentials.xml;

works fine (as I mentioned earlier in another thread).

I don't know why, but it's been doing it all day.

I wonder how much other stuff is going to break tomorrow.

TjL


Re: [twitter-dev] Re: forcing api.twitter.com resources - tomorrow

2010-03-02 Thread TJ Luoma
On Tue, Mar 2, 2010 at 8:25 PM, Marc Mims marc.m...@gmail.com wrote:
 Both of those curl commands work for me.  Perhaps you have a .netrc
 entry for twitter.com but not for api.twitter.com?

Argh. I thought it would match *.twitter.com AND that curl would
complain if I used --netrc but it didn't find a matching host :-/

Ok, so now I just need to know why Tweetie on the Mac and iPhone keep
telling me that I'm using the wrong password when I know I'm not.

TjL


Re: [twitter-dev] banned from search?

2010-02-19 Thread TJ Luoma
This has been a problem for months. Some people just don't have their tweets
show up in search, ever.

I reported one of these for a friend via getsatisfaction months ago. No
change.


On Feb 19, 2010, at 12:31 PM, Dean Collins d...@cognation.net wrote:

 I just came across this article recently
http://shegeeks.net/5-tips-to-avoid-being-filtered-from-twitter-search/



And read with interest this comment “Did you know that
Twitterhttp://twitter.comis beginning to filter out tweets from
Twitter
Search http://search.twitter.com?”



The article suggests “Head to Twitter search http://search.twitter.com/.
Enter the following in the search box:  *from:username*, without the
@http://twitter.com/symbol. For example:”



So I did so for my personal account and tweets are showing up “
http://search.twitter.com/search?q=from%3Adeancollins “



But the twitter account for my webapp for
www.LiveNascarChat.comhttp://www.livenascarchat.com/are not showing
up?  “
http://search.twitter.com/search?q=from%3Alivenascarchat  “





Does this mean the account http://twitter.com/livenascarchat is banned from
search and people searching for “Nascar“ will not find it or am I missing
something?













Cheers,

Dean


[twitter-dev] Re: favorites paging limit?

2010-02-18 Thread TJ Luoma
Adding to my own question / observation:

Another problem seems to be that when the maximum is exceeded, the
server still sends Status 200


$ curl --location --referer ;auto -D - -s --netrc
'http://twitter.com/favorites.xml?page=175'|cat -v|less
HTTP/1.1 200 OK^M
Date: Thu, 18 Feb 2010 01:26:48 GMT^M
Server: hi^M
X-RateLimit-Limit: 2^M
X-Transaction: 1266456408-4-31327^M
Status: 200 OK^M
ETag: 8cbb8956513e515ff337bf304285829f^M
Last-Modified: Thu, 18 Feb 2010 01:26:48 GMT^M
X-RateLimit-Remaining: 19991^M
X-Runtime: 0.02584^M
Content-Type: application/xml; charset=utf-8^M
Pragma: no-cache^M
Content-Length: 79^M
X-RateLimit-Class: api_whitelisted^M
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0^M
Expires: Tue, 31 Mar 1981 05:00:00 GMT^M
X-Revision: DEV^M
X-RateLimit-Reset: 1266459239^M
Set-Cookie: lang=en; path=/^M
Set-Cookie: 
_twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJTg0Y2RkNThlMTQ5ZjJmNGI1YmRi%250AOWY0ZGI2NDkxN2IwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz%250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--29b1ab4c87c4495ba4f785f5c05319693ca1e392;
domain=.twitter.com; path=/^M
Vary: Accept-Encoding^M
Connection: close^M
^M
?xml version=1.0 encoding=UTF-8?
nilclasses type=array
/nilclasses


[twitter-dev] favorites paging limit?

2010-02-17 Thread TJ Luoma
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-favorites
doesn't mention any limits to the page parameter.

Through trial and error I figured out that

curl --location --referer ;auto -D - -s --netrc
'http://twitter.com/favorites.xml?page=175'

was too much but

curl --location --referer ;auto -D - -s --netrc
'http://twitter.com/favorites.xml?page=174'

seems to work.

At 20 per page, that works out to 3,480.

TjL


Re: [twitter-dev] Re: question regarding API FAQ: reclaim inactive username

2010-02-15 Thread TJ Luoma
On Thu, Feb 11, 2010 at 9:04 PM, Ryan Sarver rsar...@twitter.com wrote:
 Thanks for the thorough follow up. First of all we definitely care and we
 try to show that as opposed to just saying it. The @username issue is a
 really sticky one for us for a number of reasons. With that being said, I'm
 going to meet with our team internally to review the process and see if we
 can come up with better answers to your questions and see if we can improve
 the process at all.

I hope it will be reviewed for *everyone* not just developers.

I was once told that the policy was that if the account hadn't been
used in 9 months, it was considered abandoned. Most of the accounts
I've heard about here have been idle for much longer than that.

When I was looking for an account for my wife, there were 5-6 of them
which had either never been used (or which had been used for the
equivalent of Hello? Is this thing on? I don't get it. Twitter is
dumb).

Glad to hear that Twitter will be reviewing it.

TjL


Re: [twitter-dev] OAuth for softwares

2010-02-09 Thread TJ Luoma
On Tue, Feb 9, 2010 at 10:26 AM, John Meyer john.l.me...@gmail.com wrote:
 On 2/9/2010 3:57 AM, Thomas wrote:

 Hello,

 still no OAuth solution for softwares (not web apps) ?



 There is oAuth for desktop and mobile software.

 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-authorize

 You may not like the fact that you have to integrate a web page, but it is
 still there.

Isn't the whole point of OAuth that, by taking me to Twitter's web
page itself, I'm supposed to have more trust in your app vs giving my
login credentials to Some Random App?


Re: [twitter-dev] Re: Basic Auth Deprecation in June

2010-01-18 Thread TJ Luoma
On Mon, Jan 18, 2010 at 12:48 PM, Raffi Krikorian ra...@twitter.com wrote:
 we have a command line tool that acts exactly like curl but does all the
 oauth signatures transparently to the end user (the user simply needs to
 register the keys with the tool).  this way people who rely on the ability
 to use curl to interact with the API (such as scripts, etc.) can still do
 so. we'll be releasing that tool soon.

Well just about everything that I do with the API is through curl, so
let me know if you need any beta testers :-)

Otherwise I'm just going to put everything on hold for now before I
waste any more time on stuff I'm just going to have to redo later.

TjL


Re: [twitter-dev] Missing favorites... please help!

2010-01-05 Thread TJ Luoma
On Tue, Jan 5, 2010 at 6:20 PM, Mark McBride mmcbr...@twitter.com wrote:
 Orian, is this still an issue?  If so let me know...


It's been going on for awhile (week or so) with my account (@TJ) too.

They disappeared, reappeared, and then have largely disappeared again.

TjL


Re: [twitter-dev] How can I perform a search within my followers only?

2009-12-26 Thread TJ Luoma
On Sat, Dec 26, 2009 at 12:14 PM, humbucker oursystemfai...@gmail.com wrote:
 Hi!

 I would like to use the twitter search api to display tweets
 containing a #hashtag BUT from my followers only,  I can't find this
 option, is it possible friends? how?

 Quich other question, when I perform the request below asking 50
 returns, I only get 10 or 12 at first and then the other ones show up,
 is it somehow a limit??

 http://search.twitter.com/search.json?q=%23designrpp=50callback=?

I setup a cron job on a Unix server which sent my timeline to me every
5 minutes and sent them all to a special Gmail account.  Then I could
search my followers using Gmail.

There's no way to do it via search.twitter.com

TjL


Re: [twitter-dev] Current policy on following apps

2009-12-21 Thread TJ Luoma
On Thu, Dec 17, 2009 at 3:57 PM, Adam Green a...@vibemetrix.com wrote:
 My goal is NOT to build a bulk follower that blindly follows and
 unfollows thousand of users each day. I understand the negative
 aspects of these. But I also realize that building a following is an
 essential part of being a productive Twitter user. Is there a middle
 ground that is allowed?

 My idea is to build an well behaved app that uses a procedure like
 this to build a following for a Twitter account:
 Select the most active Twitter users in a specific market.
 Follow a small number, perhaps 50,  per day.
 If these follows are not followed back in a week, unfollow them.
 Log this attempt, and repeat it again after an interval of perhaps 30
 days.
 If 2 or 3 follow attempts for an account fail to gain a follow back,
 then stop trying permanently for that account.

Why not do something much simpler:

1. Follow people you find interesting, gradually.

2. Generate content which will make you interesting to others

3. Use @replies, mentions, and DMs to communicate with others

4. Gain followers who are interested in what you have to say, not
because of some lame system of reciprocity.

Just a thought…

TjL


Re: [twitter-dev] Announcements

2009-12-09 Thread TJ Luoma
On Wed, Dec 9, 2009 at 1:38 PM, Raffi Krikorian ra...@twitter.com wrote:

 On Wed, Dec 9, 2009 at 10:31 AM, Cameron Kaiser spec...@floodgap.com wrote:
 there will be much more information about this soon.  in general, the
 API for browser-less apps is designed for applications or environments
 that are unable to bring up a web browser -- desktop clients,
 presumably, can still bring up a web page?

 What about text-only client such as TTYtter or the myriad of automatic
 systems? Unless you make the OAuth page accessible over Lynx, which
 would be cool, but I doubt. :)

 i wouldn't qualify a text-only client as a desktop client :P

 more detail will be coming - but, in general, i would ask developers
 to think about privacy from their users' standpoint :P

I've got a number of shell scripts that I run via 'curl --netrc' with
my password stored in ~/.netrc

How will OAuth work with this scenario?

I don't need anyone else's password, just my own.


Re: [twitter-dev] Re: Send to certain user

2009-12-09 Thread TJ Luoma
You can DM anyone who follows you.

Only people you follow can DM you.



On Wed, Dec 9, 2009 at 1:47 PM, park2 parkfo...@googlemail.com wrote:
 I managed to get something working thanks.

 What is the exact criteria needed to be able to send direct to a
 user.

 eg do you have to follow them they follow you , accept messages etc
 etc

 Cheers

 SteveW

 On Dec 9, 3:27 pm, Abraham Williams 4bra...@gmail.com wrote:
 You can read about creating direct messages on the 
 wiki:http://apiwiki.twitter.com/Twitter-REST-API-Method:-direct_messagesnew

 You can read about making POST requests with cURL 
 here:http://netevil.org/blog/2006/nov/http-post-from-php-without-curl

 Abraham

 On Tue, Dec 8, 2009 at 14:42, park2 parkfo...@googlemail.com wrote:
  We have an existing security product that when an alert happens we
  send a text and email. We now need to send to a Twitter account. What
  is the syntax to send 'test alert' to user 'test123' direct from the
  web address bar. I am trying to do this within php without installing
  curl.

 --
 Abraham Williams | Community Evangelist |http://web608.org
 Project | Intersect |http://intersect.labs.poseurtech.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 This email is: [ ] shareable [x] ask first [ ] private.
 Sent from Madison, WI, United States



[twitter-dev] search.twitter.com no longer showing deleted tweets

2009-12-07 Thread TJ Luoma
Good news/bad news.

Not sure when this started, but search.twitter.com is no longer
showing deleted tweets.


Re: [twitter-dev] search.twitter.com no longer showing deleted tweets

2009-12-07 Thread TJ Luoma
On Mon, Dec 7, 2009 at 9:00 PM, Zac Bowling zbowl...@gmail.com wrote:
 Little late to the party :-)

 http://www.techcrunch.com/2009/10/24/twitter-finally-removing-deleted-tweets-from-search-results/


Really? Seems like it worked more recently than that.

Then again I was sick-and-in-bed for about 6 weeks, so my sense of
time is skewed.

TjL


[twitter-dev] simply verify that user exists

2009-12-06 Thread TJ Luoma
Sorry, I'm having a brain cramp. I've been checking the wiki and can't
for the life of me figure out what's the preferred way of taking a
name and validating / verifying if the name is valid Twitter account.

Is http://twitter.com/users/show.xml?screen_name=FOO; (and checking
the response) the best way?

TjL


[twitter-dev] curl --netrc fails for adding to lists

2009-12-06 Thread TJ Luoma
Summary:  When I try to add someone to a list using 'curl' with
--netrc it is failing, but if I use -u username:password it works.

Of course the first thought is that ~/.netrc isn't setup right
(although it's been working fine for months). But I double checked
that it is. Watch:

1) Verify that my information in ~/.netrc is valid and accessible:

#  curl --location --referer ;auto -D - -s --netrc
http://twitter.com/account/rate_limit_status.xml
HTTP/1.1 200 OK
Date: Sun, 06 Dec 2009 20:41:13 GMT
{edited}

2) verify AGAIN that netrc is working

# curl --location --referer ;auto -D - -s --netrc
http://twitter.com/blocks/blocking.xml
HTTP/1.1 200 OK
Date: Sun, 06 Dec 2009 20:44:19 GMT
Server: hi
X-RateLimit-Limit: 2
{edited}


3) Try to add someone to list new-followers

# curl --location --referer ;auto -D - -s --netrc -d id=25148966
http://api.twitter.com/1/tj/new-followers/members.xml

HTTP/1.1 401 Unauthorized
Date: Sun, 06 Dec 2009 20:45:34 GMT
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm=Twitter API
X-Runtime: 0.00164
Content-Type: application/xml; charset=utf-8
Content-Length: 152
Cache-Control: no-cache, max-age=1800
Set-Cookie: 
_twitter_sess=BAh7BzoHaWQiJTgwMDhmYWMwNDU4ODkxNmIzODFhZjJmMTY4ZTU3YzkwIgpm%250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG%250AOgpAdXNlZHsA--e8bdf83c0b67e77b39c841d940153e181af893a3;
domain=.twitter.com; path=/
Expires: Sun, 06 Dec 2009 21:15:34 GMT
Vary: Accept-Encoding
Connection: close

?xml version=1.0 encoding=UTF-8?
hash
  request/1/tj/new-followers/members.xml/request
  errorCould not authenticate you./error
/hash

This happens every time.


4) Try same command, but using -u instead of --netrc (password
*-ed out in email)

# curl --location --referer ;auto -D - -s -u tj:** -d
id=25148966 http://api.twitter.com/1/tj/new-followers/members.xml
HTTP/1.1 200 OK
Date: Sun, 06 Dec 2009 20:46:10 GMT
Server: hi
X-Transaction: 1260132370-28062-8379
Status: 200 OK


I have no idea why this might not be working. Can anyone hazard a guess?

TjL


Re: [twitter-dev] What Is The Status of Twitter OAuth?

2009-11-30 Thread TJ Luoma
On Mon, Nov 30, 2009 at 1:27 PM, Dewald Pretorius dpr...@gmail.com wrote:

 How can you say that if OAuth is not yet in stable production mode??

Because there have been several sites that used Twitter user's login
for nefarious purposes, and Twitter wants to start getting people out
of the habit of blindly trusting any site that asks for their twitter
information.

TjL
not speaking for Twitter Inc.


Re: [twitter-dev] Call for action #StopBritneyBots

2009-11-30 Thread TJ Luoma
On Mon, Nov 30, 2009 at 4:19 PM, M. Edward (Ed) Borasky
zzn...@gmail.com wrote:
 Twitter, what say you? Developer community, what say you?


Twitter, Inc. can't even keep up with porn spammers reported manually
using the Report As Spam links, what makes you think they would be
able to keep up with an automated version?

TjL


Re: [twitter-dev] Migrating followers

2009-11-25 Thread TJ Luoma
On Wed, Nov 25, 2009 at 7:37 AM, Iain scotland.digi...@mediacom.com wrote:
 Hi

 Is it possible to migrate followers from one commercial brand page to
 another commercial brand page? Both pages are owned and maintained by
 the same commercial brand?

Do you mean They were following Twitter user X but now I want them to
be following Twitter user Y?

No, there's no way to do that.

You can rename your Twitter account and retain followers, but you
can't merge them.

TjL


Re: [twitter-dev] Tweets not found on search

2009-11-25 Thread TJ Luoma
On Wed, Nov 25, 2009 at 11:34 AM, Raffi Krikorian ra...@twitter.com wrote:
 not all tweets appear in twitter search -- twitter search filters tweets for
 quality, relevance, etc.

Not to mention that some people are simply excluded altogether for no
known reason.

http://getsatisfaction.com/twitter/topics/from_emzbulletproof_missing_from_search_twitter_com_results

(who doesn't meet any of the criteria here
http://twitter.zendesk.com/forums/10713/entries/42646)

Reported 5 months ago and still missing.

TjL


[twitter-dev] Re: Getting Blocked user list

2009-11-14 Thread TJ Luoma

On Fri, Nov 13, 2009 at 11:04 PM, stevie j stevie@gmail.com wrote:
 Thanks Loumat for the reply. What I am trying is toget just the current
 authenticated user/my blocked list - but there seems to be no proper API? Am
 I missing something?

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-blocks-blocking

http://twitter.com/blocks/blocking.xml


[twitter-dev] Re: Getting Blocked user list

2009-11-13 Thread TJ Luoma

The only list of blocked users you can access is your own. I haven't
heard of any plans to let you access others' blocked user list

On Fri, Nov 13, 2009 at 7:33 AM, stevie stevie@gmail.com wrote:

 Hi All,
           Can anyone suggest me if there is a way for getting the
 blocked users list of mine such as getting friends and followers. If
 not is there any beta implementation going on related this.

 Any suggestion regarding this will  be helpful.

 Thanks and Regards,
 Steve.



[twitter-dev] Re: Moderators, can you trim this address from list?

2009-11-13 Thread TJ Luoma

On Fri, Nov 13, 2009 at 12:23 PM, Cameron Kaiser spec...@floodgap.com wrote:
 I've been hit with NDRs on this address numerous times recently. If
 you could unsubscribe that address, it would be great.

 User: if you're actually active on list, please use a reliable email
 server, and not that box in your mom's basement.

 I can pull it, but why are you getting a bounce message? Are you sending a
 copy to them as well as to the list?

IIRC homelinux.net is one of those free DNS forwarding domains from
DynDNS… I'd guess they have their mail forwarding to their home server
which has been offline for longer than the mail system will accept,
and so it's bouncing back to the original sender.

TjL


[twitter-dev] Re: Time zone support

2009-11-10 Thread TJ Luoma

On Mon, Nov 9, 2009 at 2:03 PM, Emrah e...@ekanet.net wrote:
 That's the main point of my suggestion! It helps avoiding the need of
 making calculation to know at what time a Tweet has been posted
 according to the poster's timezone. It doesn't make sense to see that
 Jeff said Good morning at 12:30 even though it was 06:30 for him... Of
 course for a personal timeline I will need to have the 13:30
 information, but I would appreciate to have a mention of Jeff's timezone
 somewhere. For now, I must calculate each post's timestamp, whether it
 comes from India, Switzerland, New-York or Australia...

 If tweets all start having variable timezones, it is just another
 thing that has to be calculated around to get times into the local
 timezone for end users.

 I am not going to repeat myself...

 I still believe this feature would emphasize the international impact of
 Twitter and improve the user experience.

 What do you think?

I think it's solving a problem that doesn't exist. It doesn't bother
me to see my friends in Australia talking about going to bed when it's
morning for me.  And how are you going to decide whether or not it's a
pertinent message? If my mom posts Not feeling well, going to bed
at 9pm, are you going to show that message if I'm in another timezone?
 Or if a friend posts Great night, just getting to bed at 4am their
time?  Good morning! I slept 18 hours!

Seriously, I don't see a) why this is a problem or b) even if you
accept that it is a problem, how you'd implement a solution.

Now if you could find a way to filter out political message or
pro-Yankees posts, THAT would solve a real world problem :-)

TjL


[twitter-dev] Re: can FOLLOW, but can't LEAVE

2009-11-09 Thread TJ Luoma

On Mon, Nov 9, 2009 at 6:37 PM, TJ Luoma luo...@luomat.net wrote:
 On Mon, Nov 9, 2009 at 5:24 PM, Cameron Kaiser spec...@floodgap.com wrote:

 I have users complaining that of the commands listed on

        http://help.twitter.com/forums/59008/entries/14020

 they all still work right for status updates *except* LEAVE (FOLLOW
 *does* work). On my own testing, LEAVE just appears to do nothing. Did
 this break?

 LEAVE still only means Don't get text messages when they post to
 Twitter *not* Unfollow on Twitter, right?

No, I'm wrong… OFF is only for SMS… LEAVE is supposed to unfollow.

Sorry

TjL


[twitter-dev] Re: can FOLLOW, but can't LEAVE

2009-11-09 Thread TJ Luoma

On Mon, Nov 9, 2009 at 5:24 PM, Cameron Kaiser spec...@floodgap.com wrote:

 I have users complaining that of the commands listed on

        http://help.twitter.com/forums/59008/entries/14020

 they all still work right for status updates *except* LEAVE (FOLLOW
 *does* work). On my own testing, LEAVE just appears to do nothing. Did
 this break?

LEAVE still only means Don't get text messages when they post to
Twitter *not* Unfollow on Twitter, right?


[twitter-dev] Re: update_delivery_device method

2009-10-31 Thread TJ Luoma

You used to be able to get Twitter via IM.

Back before most people were using it.

Heck even by the time I got here it was starting to flake out,
although there are some IM clients now which will fetch your feeds
(Trillian, for one)

TjL


On Fri, Oct 30, 2009 at 12:36 PM, Gijsbert gijsbert.de.h...@gmail.com wrote:

 What does the 'im' device mean?

 On Oct 29, 3:55 am, DustyReagan dustyrea...@gmail.com wrote:
 I was playing around with the account/update_delivery_device method.

 It seems to behave like this:

 device=sms:im - Does nothing
 device=none - Turns device updates off

 Neither sms or im turn device updates back on.

 Are there any plans for this method to be updated or deprecated?