[twitter-dev] Re: oauth_token and secret length

2009-07-24 Thread Andrew Badera
http://groups.google.com/group/oauth/browse_thread/thread/d4b7f1f9174041ca?hl=en

Side note, top-posted for your pleasure simply because of the demanding,
twice-accented-by-exclamation point note in your sig. I prefer a bottom
quote myself, but I think it's your exclamation points that pushed me over
the hump.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


On Fri, Jul 24, 2009 at 6:59 AM, shiplu shiplu@gmail.com wrote:

 is there any fixed length of oauth_token and secret??
 is it fixed by twitter or by oauth standard??

 --
 A K M Mokaddim
 http://talk.cmyweb.net
 http://twitter.com/shiplu
 Stop Top Posting !!
 বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
 Sent from Dhaka, Bangladesh



[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Andrew Badera
On Fri, Jul 24, 2009 at 1:13 PM, Vision Jinx vjn...@gmail.com wrote:


 What?

 Re: as well as following and unfollowing those who don't follow back,
 are both violations of our terms of service.

 What gives Twitter the right to dictate who you want to follow or not?
 That is like Gmail saying you can't remove contacts from your contacts
 list. When I signed up it suggested a list of people to follow but I
 didn't find the tweets interesting so I un-followed them (they didn't
 follow me back, but that was not the reason I un-followed them). I
 should have the right to decide who I want to follow or not unless
 Twitter is under a communist regime? Is there also a term that if
 someone posts a link I have to click it also?

 I also followed iGoogle for a while but didn't find the tweets that
 interesting so I un-followed them, they never followed me back, so if
 Twitter wants to delete my account (for TOS violations) then fine go a
 head, do so right now then, but I feel it is my right to decide who I
 do and do not want to follow and that will not change. They need to
 post a message when you sign up that you are not allowed to un-follow
 people. Why is there even that option then?

 Regards,
 Vision Jinx
 @visionjinx
 (In case Twitter wants to delete my account for feeling I have the
 right to decide who I follow, fine then do it now.) I also, un-
 followed someone because they kept posting the same tweets over again
 so who's the bigger offender there then?


Wow, ridiculous much?

Those terms are in place to prevent spam-friendly follow-bot whores from
ruining the ecosystem for all of us.

If anything about the spirit or intention of those terms is disagreeable to
you, I'm going to go ahead and label you an inconsiderate spammer.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: oAuth .NET receiving Unauthorized Error (401)

2009-07-26 Thread Andrew Badera
On Sat, Jul 25, 2009 at 6:46 PM, mattarnold1977
matt.arnold.1...@gmail.comwrote:


 Bojan,

 Thanks for the reply.  I'm using ASP .NET.

 -Matt


I suspect Bojan was more curious about what OAuth library you're using. If
you're doing it on your own, allow me to suggest DotNetOpenAuth instead.

Also, are you sorting your parameters correctly? Non-alphabetized sort of
parameters prior to signing will give you a 401.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: Newbie to seek advice on the flow of a twitter app with OAuth

2009-07-26 Thread Andrew Badera
On Tue, Jul 21, 2009 at 3:08 AM, CG learn@gmail.com wrote:


 you can use localhost ?  really ? just update the callback to
 http://localhost/xxx ?


Sorry, missed this. Yeah, just use the oauth_callback parameter when making
the call.


[twitter-dev] Re: ASP .NET Development Issue w/OAuth Callback Parameter

2009-07-27 Thread Andrew Badera
On Mon, Jul 27, 2009 at 6:49 PM, mattarnold1977
matt.arnold.1...@gmail.comwrote:


 I've been able to create a successful web request to receive an auth
 token from Twitter.  However, Twitter is not sending me back to my
 development environment even though I have put the oauth_callback
 parameter on my request.  It even shows my call back parameter in the
 URL on the Twitter oAuth authentication page.

 I'm wondering if anyone else is using VS 08 (ASP .NET) as their
 development environment and were able to successfully get the oAuth
 call back parameter to redirect back to their development environment?

 -Matt



As I think I'd mentioned off-list, I'm able to redirect no problem, using
VS05 or VS08 or even VS10 VPC.

I'm able to default to my registered callback, and I'm able to provide an
oauth_callback value for testing (localhost) that works without difficulty.

What oauth_callback value are you providing, and what URL are you ending up
at?

--ab


[twitter-dev] Re: Whoa There! - Users don't really know whats going on.

2009-07-27 Thread Andrew Badera
On Mon, Jul 27, 2009 at 8:38 PM, goodtest goodtest...@gmail.com wrote:


 I totally agree. They should simplify it and say something like: You
 are not passing all required parameters or not encoding them properly
 or anything that makes more sense.


That's not going to make any more sense to users.

It needs to be simple and imperative.

We've experienced an OAuth [authorization [optional]] problem, sorry for
the difficulty! Please let the administrators of [requesting app] know that
they provided duplicate or incorrect OAuth request information.

--ab


[twitter-dev] Re: ASP .NET Development Issue w/OAuth Callback Parameter

2009-07-27 Thread Andrew Badera
1. Don't post your secret values.


On Mon, Jul 27, 2009 at 7:19 PM, ramesh s apnat...@gmail.com wrote:



 I am trying hard but not able to generate token. I am using the code from
 http://oauth.googlecode.com/svn/code/php/ and I am using it on my test
 server. But for some reason it is always giving me

 invalid consumer
 ___





[twitter-dev] Re: OAuth URLEncode for VB.NET Libraries

2009-07-28 Thread Andrew Badera
On Tue, Jul 28, 2009 at 2:13 PM, Duane Roelands duane.roela...@gmail.comwrote:


 My application appears to be back in the game, after some corrections
 to my url encoding.  I've posted the code here (http://dpaste.com/hold/
 72568/ http://dpaste.com/hold/%0A72568/) for the benefit of other 
 VB.NETdevelopers.

 This is a VB.NET port of the URLEncode method found in the Twitter/
 OAuth class from Shannon Whitley and Eran Sandler.  They rock.

 Hopefully, this gets you guys back in the game as well.



Good stuff Duane, I may refactor this into C#.

--ab


[twitter-dev] Re: OAUTH: Basic Auth is simpler/more reliable/more secure/better received than OAuth!?

2009-07-28 Thread Andrew Badera
On Tue, Jul 28, 2009 at 2:15 PM, JDG ghil...@gmail.com wrote:

 I think that is the statistical significance to which TjL was referring. At
 least, I hope so.


I think TjL was referring more to raw population factor than biases. Any one
single non-large userbase app is not likely to be statistically predictive
of the results you will find across the spectrum of possible apps.


[twitter-dev] Re: OAUTH: Basic Auth is simpler/more reliable/more secure/better received than OAuth!?

2009-07-28 Thread Andrew Badera
On Tue, Jul 28, 2009 at 2:49 PM, chinaski007 chinaski...@gmail.com wrote:



 I haven't done any comprehensive profiling of them.  (As well, my
 particular presentation of the OAuth or Basic login options also may
 confound the data.)

 That said, the fact that any sub-population of Twitter users shows a
 preference for Basic Auth is surprising.  I suggest that linking
 another app to one's Twitter account is foreign and difficult for the
 average person to understand.

 The OAuth scare page presented by Twitter doesn't help.  It clearly
 hasn't been split-tested and is poorly executed.  It is likely
 responsible for a significant number of desertions.  Compare it, for
 example, to the Facebook app auth page.  Twitter's DENY button is just
 as big as the ALLOW button; Facebook offers approve and then a much
 smaller cancel link.

 Add in the current complexity and unreliability of Twitter OAuth, and,
 at the very least, offering Basic Auth as an adjunct option seems to
 make sense.



OAuth IS unfamiliar, YES. OAuth DOES ask more of the user, YES. Like
anything else new in technology, the better you educate your user, both
implicitly and explicitly, about the process, the better the adoption rate
is bound to be for a useful or required innovation.

In other words, handholding and spoonfeeding your users through the OAuth
process is going to give you better conversion rates than simply bouncing
them to Twitter with little or no notification or education.

--ab


[twitter-dev] Re: OAUTH: Basic Auth is simpler/more reliable/more secure/better received than OAuth!?

2009-07-29 Thread Andrew Badera
On Wed, Jul 29, 2009 at 3:54 PM, oshells oshe...@gmail.com wrote:


 I used Abraham examples to implement OAuth into Elgg v0.9.2 (last
 version of an open source social network platform).
 It`s working as it should be, but I also made further thinking (if by
 any chance OAuth gets down) and  the first time users join our website
 they must complete a one time signup process, allowing us to have
 the missing parts from theyr account (email - any email they might
 choose) and also let them set theyr username/password .
 Now, even if theyr password is the same as for twitter it`s md5
 encripted and no-one, neither the admins can use it in a non-right
 way.


You realize of course that MD5 is compromised and relatively worthless,
right? SHA512 baby.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: OAUTH: Basic Auth is simpler/more reliable/more secure/better received than OAuth!?

2009-07-30 Thread Andrew Badera
You can lead a horse to water ...

On Thu, Jul 30, 2009 at 7:07 PM, Bradley S. O'Hearne brad.ohea...@gmail.com
 wrote:


 Duane,

 I understand the concern. But I think the conversation is moving
 closer to the actual issue. Your example of turning Twitter
 credentials to a stranger basically makes the application (or
 computer) that the user has already willfully chosen to use a
 complete stranger. I would debate that is necessarily the case, but
 let's for the moment assume it is the case, and see the problem with
 that assumption.

 In that case, OAuth *still* requires production of credentials to a
 complete stranger. Because it supposedly redirects to the Twitter web
 site for authentication doesn't save you from the either originating
 web site, the browser, or the machine itself spoofing the redirect --
 I mean you've already labeled them a complete stranger, so you have
 to allow now for that possibility. Additionally, that login directly
 into Twitter also doesn't save you from keyboard logging or phishing
 on the machine -- or, and I'm not 100% sure on this one but I think it
 is possible, malicious browser plugins. So here we get into the issue
 of not just a single trusted / non-trusted app, but whether it is a
 trusted box or not.

 Perhaps I'm still ignorant, but unless I've completely missed the
 boat, credentials are still being produced -- i mean, at some point
 they have to be, otherwise they wouldn't be credentials, something
 else would be. I think what I'm really responding to here is the lack
 of context given to discussions surrounding OAuth's security -- there
 are blanket statements being made about not giving a stranger
 passwords, and OAuth somehow solving that. Well, that stranger
 happens to be the machine you've chosen to trust. Just because OAuth
 exists, it doesn't make Twittering or accessing Twitter data from
 Facebook on an Internet Cafe computer any safer necessarily. There is
 a degree of trust somewhere that is being trusted as a beginning
 prerequisite. I do not believe there is a no-trust scenario here. What
 I really want to hear stated, or read on a FAQ, is the pre-requisite
 security trust, that in that scenario, it necessarily makes OAuth
 superior to basic authentication.

 Brad

 On Jul 30, 2009, at 11:52 AM, Duane Roelands wrote:

 
  Brad,
 
  Encryption on disk and encryption over the wire are not the issues and
  really don't have very much to do with the Basic vs. OAuth decision.
 
  The most important issue I see is that Basic Auth requires you to give
  your Twitter credentials to a person you do not know.  This is a BAD
  IDEA.
 
  Basic Auth is great for prototyping and testing and getting the core
  functionality of your app working, but at some point you should bit
  the bullet and implement OAuth.  It's better for your customers
  (security) and it's better for you because your customers can use your
  application with peace of mind.
 
  If YOU wouldn't hand over YOUR Twitter credentials to a stranger, it's
  silly to expect your users to do so.
 
  On Jul 30, 11:40 am, Bradley S. O'Hearne brad.ohea...@gmail.com
  wrote:
 
  In conclusion, as I've been reading this thread, the thing I keep
  coming back to is that OAuth vs. Basic Auth seems somewhat a
  secondary
  argument -- the real issue is encrypting over the wire (HTTPS) and
  encryption on disk, and whether those can be cracked (or are being
  used as they should). From a developer standpoint, given that the
  cracking of encryption seems outside the scope of concerns with the
  Twitter API, what is analog is which one serves the user better --
  and
  I think it is clear that the Basic Auth case has fewer steps and
  quicker to the result.
 
  Please correct my misperceptions if I'm wrong, as I'd love to hear
  what details I've overlooked.
 
  Regards,
 
  Brad
 
  On Jul 30, 2009, at 1:29 AM, Dmitriy V'jukov wrote:
 
 
 
 
 
  On Jul 28, 3:27 pm, chinaski007 chinaski...@gmail.com wrote:
 
  I suppose this is not so weird.  Users are accustomed to giving
  user/
  pass information even to foreign apps.
 
  Agree. Anyway, if user just setups desktop app to his computer, he
  already gives it much more than just login/password to some service.
  And then there is 1000 and 1 way how app can then get all needed
  info
  passing over user.
 
  --
  Dmitriy V'jukov




[twitter-dev] Re: Twitpocalypse: The Second Coming is on the horizon

2009-07-31 Thread Andrew Badera
On Fri, Jul 31, 2009 at 6:59 PM, John Adams j...@twitter.com wrote:


 On Jul 31, 2009, at 3:37 PM, Josh Roesslein wrote:

  Well 64 bit should last for a while. Curious how long it will be until 128
 bit will be required.




 Mathematica tells me:
 Fri 24 Sep 58821 22:55:00

 I think you'll be fine for a long time at 64 bit.

 -john

 ---
 John Adams
 Twitter Operations
 j...@twitter.com
 http://twitter.com/netik




 but why not go with 128 bit decimal/floating point precision datatypes to
begin with, and never have this issue? if anyone says overhead I'm gonna
whack 'em like a popup weasel. in this day and age of CPU cycles and RAM,
you might as well go big or go home.

--ab


[twitter-dev] Re: Twitpocalypse: The Second Coming is on the horizon

2009-07-31 Thread Andrew Badera
On Fri, Jul 31, 2009 at 7:07 PM, Abraham Williams 4bra...@gmail.com wrote:

 Srew it. Go with 1024 bit unsigned int!


Hey, if the common frameworks and languages of the day supported it, sure,
why not?


[twitter-dev] Re: Twitpocalypse: The Second Coming is on the horizon

2009-08-01 Thread Andrew Badera
On Fri, Jul 31, 2009 at 8:15 PM, John Adams j...@twitter.com wrote:



 On Jul 31, 2009, at 4:04 PM, Andrew Badera wrote:

  but why not go with 128 bit decimal/floating point precision datatypes to
 begin with, and never have this issue? if anyone says overhead I'm gonna
 whack 'em like a popup weasel. in this day and age of CPU cycles and RAM,
 you might as well go big or go home.



 Because none of us will be alive in the year 58,821.

 -john


But that makes a lot of assumptions. What if say Twitter starts integrating
laconi.ca or something else drastically different along those lines?

While I'm not a fan of inefficiency, if minor, minor, minor inefficiency
guarantees peace of mind, then why the heck not?

And my same statement could apply to 64, if you want to look at it that way.
Why not start at 64 instead of 16? Everything I build model in SQL Server
these days is ID'd with both a numeric(18,0) and a uniqueidentifier --
covering my bases, giving me peace of mind, reducing volatility down the
line.

--ab


[twitter-dev] Re: Fun140 and Truetwit developers

2009-08-02 Thread Andrew Badera
On Sun, Aug 2, 2009 at 10:47 AM, Aaron Brazell emmenset...@gmail.comwrote:

 I'm assuming whoever the developer is behind these two sites is also on
 this list. There is a lot of concern among twiytter users about your apps
 sending auto dms to people. It's perceived as abusive and spammy and I
 agree. After getting a tweaked toucan in my DM inbox, I wonder why I have
 to put up with this. Unfortunately, unlike Facebook, users can't opt out of
 these spammy things.
 I've asked Twitter to look into your apps, but I'm also making a personal
 plea to figure out another way of doing this and allowing people to opt out
 of messages from your apps. Or better yet, opt in.

 --
 Aaron Brazell
 web:: www.technosailor.com
 phone:: 410-608-6620
 skype:: technosailor
 twitter:: @technosailor



I think AutoDMs are obnoxious except in a few extremely rare cases. TrueTwit
is one of them. You only incur a DM by following someone who wishes to
verify the sincerity of your follow, the intent of your follow. Don't like
it? Don't follow. Want to cry me a river? Either follow less or suck it up.
I'm much more responsive to new, verified followers than I have been to any
given new follow in many, many spam-filled months now.

I'm tired of seeing twitter email notifications about spambots and bambibots
following me. I'd rather you [random person] be irked as a consequence of
following me than me be irked sometimes dozens of times a day by bambi spam.
Are you following me because you have genuine interest and want to have a
conversation? Excellent, then I'm sure the slightly raised barrier of entry
won't be a problem for you.

TrueTwit is the most valuable, useful, awesome Twitter third-party app I've
seen in months. Maybe ever.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: Fun140 and Truetwit developers

2009-08-02 Thread Andrew Badera
On Sun, Aug 2, 2009 at 4:10 PM, Caliban Darklock cdarkl...@gmail.comwrote:


 On Sun, Aug 2, 2009 at 1:04 PM, Andrew Baderaand...@badera.us wrote:
 
  TrueTwit is the most valuable, useful, awesome Twitter third-party app
 I've
  seen in months. Maybe ever.

 I particularly love how all you have to do is see one TrueTwit DM, go
 sign up for TrueTwit yourself, and stop getting those messages ever
 again! You can follow all the people you want, and you're
 auto-verified. I got two of those TrueTwit messages when I was
 auto-following people through Twollo, and just signed up myself. Now I
 don't get them anymore!

 Wait... how does that stop spammers, again? It looks like it may just
 add the step sign up at TrueTwit to the account creation process
 before you hook up your spambot to the account.

 Worthless, if you ask me.



Interesting, I was unaware of that mechanism. (Goes to show you how often I
follow these days I guess ... )

That does put a different spin on it. I'd like to see that go away, and then
my point stands.

--ab


[twitter-dev] Re: OAuth Suggestions

2009-08-03 Thread Andrew Badera
++ Likewise. Sign in with the account you intend to associate with our
service just doesn't click. The process itself is already bewildering to a
lot of people.
--ab




On Mon, Aug 3, 2009 at 9:11 AM, Jesse Stay jesses...@gmail.com wrote:

 This would be helpful for us, too. It's one of the biggest customer support
 issues I have now that we're using OAuth.
 Jesse

 On Mon, Aug 3, 2009 at 2:55 AM, Coderanger d...@coderanger.com wrote:


 I am looking into adding OAuth authentication to twitcher (http://
 coderanger.com/twitcher), my twitter client, and have a couple of
 suggestions:

 1. The authorisation page at twitter.com, isnt particularly clear as
 to the account being authorised. This could be an issue with users
 authorising multiple accounts from an app. Can I suggest it is split
 into paragraphs and the account name is added to the heading, like:
 ~~~
 An application would like to connect to your 'accountname' account.

 The application twitcher by Coderanger.com would like the ability to
 access and update your data on Twitter. This application plans to use
 Twitter for logging you in in the future.

 Sign out if you want to connect to an account other than
 accountname.
 ~~~

 2. It would be useful if you could pass the username up to the
 authorisation page along with the authorisation token. Then at your
 side, if the username is different to the one currently signed in, you
 can auto sign out and place the new username passed into the username
 text input ready for signing in by the user. I think this will improve
 workflow for the customer where multiple-accounts are involved, but
 also when upgrading a system that has been using BasicAuth, and avoid
 potential confusion and mistakes. I dont think there can be any
 security implications for doing this so it would be a possible change
 should you so desire.

 Thanks





[twitter-dev] Re: Twitter clients on Twitter.com

2009-08-05 Thread Andrew Badera
On Wed, Aug 5, 2009 at 7:29 AM, Dean Collins d...@cognation.net wrote:


 We get our suggestions from users adopting a particular application

   and this feedback occurs how exactly?

 - I doubt there is anyway for you to track people who have purchased
 www.MyTwitterButler.com licenses.



If you're doing things properly you either have an app-identifying consumer
token, and/or you're using a descriptive client header in all calls made to
the API. Simple analytics make it obvious what's popular and what's trending
up.

Hey, anyone else want to push their app for Twitter sidebar in this thread
while we're at it? Get it out of your systems?


[twitter-dev] Re: Using twitter for internal enterprise communication

2009-08-06 Thread Andrew Badera
On Wed, Aug 5, 2009 at 11:15 AM, michel777 laszlo.miha...@gmx.net wrote:


 Dear group,

 some questions for using twitter in a closed group (enterprise):

 1) is there already a solution using twitter for a closed group ?
 2) is it possible to integrate LDAP for authentication /
 authorization ?
 3) is also possible to communicate via https + client certificate ?

 Thanks in advance,

 Michel


It's called Yammer.


Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: What Twitter account is used for important announcements?

2009-08-06 Thread Andrew Badera
On Thu, Aug 6, 2009 at 4:05 PM, Chad Etzel c...@twitter.com wrote:


 Hello,

 For API related issues, there is the @twitterAPI account. For overall
 Twitter related issues, http://status.twitter.com/ and/or
 http://blog.twitter.com/ should be your first stop for information
 when the site/service itself is having problems. It is hard to send
 out information through Twitter accounts when the site itself is down.

 We appreciate your patience, and please know that we are doing
 everything we can to restore everything to normal.

 Thanks,
 -Chad



It would be nice if those sources were updated in a more timely fashion. An
attack or other similar situation was pretty obvious early on, but no
official announcement on the given Twitter channels. Why did I have to get
confirmation via Biz's memo to CNN?

--ab


[twitter-dev] Re: API Calls to unauthenticated methods

2009-08-06 Thread Andrew Badera
On Thu, Aug 6, 2009 at 5:40 PM, Rich rhyl...@gmail.com wrote:


 I did have similar problems, occasionally I still get some problems
 with this though.

 oAuth still down for me though.  Personally I hope the little 
 that caused this gets brought to justice.



Without damages, it's hard to pursue this kind of case. With no, or a
limited, revenue model, it's tough to show damages ... but depending on the
resources used to bring the ddos, maybe electronic trespass or
botnet-related charges may, eventually, some day, years down the road, be
filed ...


[twitter-dev] my question re: DDoS is ...

2009-08-06 Thread Andrew Badera
Given that DDoS is typically motivated by a) efforts at hacker cred or b)
efforts at extortion ... has Twitter HQ received a ransom note during all of
this mess?

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: Question About Post Commands

2009-08-07 Thread Andrew Badera
On Thu, Aug 6, 2009 at 11:33 PM, Dan Kurszewski dan.kurszew...@gmail.comwrote:


 Does anyone know if there is a way with VB.Net or C# to login to
 twitter, call 100 post commands, and then logout?

 Here is my code for making a single post command in VB.Net.  As you
 can see every time I call this function it has to login.  I would love
 to have an array of url's and/or data that need to be processed for
 the same username and password and having only one login.  I have
 tried rearranging things several different ways with no luck.

 Any help would be greatly appreciated.

 ---

Public Function ExecutePostCommand(ByVal url As String, ByVal
 username As String, ByVal password As String, _
ByVal data As String) As String
 *snip*
End Function



You're not logging in to anything -- there's no concept of a session in
play. What is your concern about supplying credentials with every call?

No, you can't batch your requests on the API side -- you're going to have to
make a call to the API for every post.

Have you looked into OAuth? You retrieve a single token for access, which
along with your consumer token you use over and over again to make requests
on behalf of a specific account. You still need to make an API call for
every POST action however.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: Twitter API Outage Caused Massive Boost in Kit Kat Sales

2009-08-07 Thread Andrew Badera
On Fri, Aug 7, 2009 at 10:09 AM, Dewald Pretorius dpr...@gmail.com wrote:


 New York, August 7th, 2009: Convenience stores from around the world
 have reported a massive jump in Kit Kat sales during the shutdown of
 the Twitter API, after Twitter experienced the denial-of-service
 attack on Thursday, August 6th, 2009.

 Anxious developers, who are running independent services that rely on
 the Twitter API, have been taking frequent breaks from chewing their
 nails, tearing their hair out, and watching their services come to a
 grinding halt, and have been relying solely on the calming break-
 taking magic of Kit Kat to soothe their frayed nerves.

 One developer, who preferred to remain anonymous due to the sudden
 increase in the size of his bank overdraft, told our reporter that he
 had commandeered the neighborhood kids to form a human chain between
 his study and the convenience store, so that the Kit Kats he required
 for his frequent breaks could be supplied without interruption.

 Even though some conspiracy theorists immediately alluded to a
 collusion between Twitter and the makers of Kit Kat, our
 investigations could not uncover any truth to that rumor.

 Normal patrons of convenience stores are cautioned to send to the
 front of the line any raggedy looking person that mumbles in PHP or
 Perl, and whose fingernails are chewed into the raw flesh.

 PS. This is an obligatory satire warning.



Lame and offtopic. Save this for your friends.


[twitter-dev] Re: Question About Post Commands

2009-08-07 Thread Andrew Badera
On Fri, Aug 7, 2009 at 12:47 PM, JDG ghil...@gmail.com wrote:

 If it's a desktop app, you could spawn some number of threads (say 10) and
 make 10 post calls in each simultaneously.


Why does it have to be a desktop app? Most real web frameworks support
asynchronous calls. Desktop app, web app, whichever, spin off some threads
and go asynchronous.


Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: ASP .NET Development Issue w/OAuth Callback Parameter

2009-08-09 Thread Andrew Badera
DotNetOpenAuth

On Sun, Aug 9, 2009 at 2:18 AM, mistermaxx misterm...@comcast.net wrote:


 So, uh...anybody got any working ASP.Net/VB.Net oAuth code that they
 don't mind posting? Help a brother out?



[twitter-dev] Re: Quick poll: Can anyone do anything on twitter.com?

2009-08-09 Thread Andrew Badera
On Sun, Aug 9, 2009 at 3:22 AM, dean.j.robinson
dean.j.robin...@gmail.comwrote:


 99.9% of login attempts simply don't work at all in Firefox 3.5, they
 just redirects to blank https://twitter.com/sessions page
 If by some fluke it does actually login I can't logout to change
 accounts.

 Logins work in Safari, but posting statuses only does occasionally,
 I've tried to update a profile picture earlier, selected my image, hit
 save... waited... nothing... came back and hour later and the page was
 still trying to load.

 Logouts won't work in safari either. Safari can’t open the page
 “https://twitter.com/logout” because the server unexpectedly dropped
 the connection. This sometimes occurs when the server is busy. Wait
 for a few minutes, and then try again. - I've been trying since
 thursday.

 paging works... sometimes
 search works... sometimes

 My oauth app was working fine until I wanted to logout and change
 users... now I can't reauthorize/relogin

 @$%$ those morons who thought it was a good idea to attack that one
 random dude in Georgia cause this whole mess.



Hey Dean,

Logout/login in FF3.5 on Vista seems fine here.

--ab


[twitter-dev] Re: OK Seriously People

2009-08-09 Thread Andrew Badera
On Sun, Aug 9, 2009 at 2:52 PM, Sean Callahan seancalla...@gmail.comwrote:


 Agree with what you said. Very well put. It is affecting most all of
 us. Our photo sharing service (TweetPhoto) is tied into 20 apps whose
 users aren't able to upload photo onto our platform. I've communicated
 by adding an alert to our homepage about the issues which broadcasts
 the message and hopefully helps manage user expectations. Twitter,
 you'll figure it out and find a solution. I'm also confident you'll
 keep us in the loop going foward. Thanks!

 Sean



Also, if you're serving as a bus or any sort of infrastructure, you should
probably have both in-band _and_ out-of-band channels for communicating this
stuff to YOUR third-parties. Any information you need to convey about
Twitter status and your status should be wrapped into every call you return.
Saves you this hassle in the future.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private


[twitter-dev] Re: Registering new applications should not be blocked

2009-08-10 Thread Andrew Badera
Timmy!


On Mon, Aug 10, 2009 at 10:41 AM, timothy willan timothywil...@gmail.comwrote:

 Why am I getting this! Not sure it's for me


 On Mon, Aug 10, 2009 at 10:29 AM, John Kalucki jkalu...@gmail.com wrote:


 I don't work on the API team, and normally don't respond to REST API
 questions, so please bear with any inaccuracies:

 I haven't heard anything about Twitter explicitly turning application
 registration off. I believe that all parts of Twitter.com should be
 working correctly -- albeit sometimes slowly or with timeouts or with
 503s... but everything should be working.

 I've escalated the app registration issue to the API team. I cannot
 offer a response time as I don't know what any of the issues are or
 what the priority would be for fixing this problem. It might be
 helpful to have a detailed trace of a failure or two sent to
 a...@twitter.com should a resource become available to look at this
 issue.

 -John Kalucki
 http://twitter.com/jkalucki
 Services, Twitter Inc.




 --
 The solution to building a strong country is to make its citizens
 strong...To make U.S. citizens strong you need to make them their own
 boss... in control of their own destiny... happy about life and the
 direction that life is taking them... that is what will make the U.S.
 citizens strong again. THAT is what built this country into the FREE nation
 that it is today{.Winning means being unafraid to lose.
 timothywil...@gmail.com
 Timothy Willan
 2214 Ardenwood dr.
 Spring Hill Fl. 346109
 352-585-1264





[twitter-dev] Re: Search API Limits lowered?

2009-08-11 Thread Andrew Badera

On Tue, Aug 11, 2009 at 10:30 AM, David Fishertib...@gmail.com wrote:

 While i haven't done scientific testing of this, I was able to run up
 to 3-4 instances of my search script prior at a time before it told me
 to enhance my calm. Now I'm barely able to run one without hitting the
 limit. I can put delays in my code to slow it down, but I'm wondering
 if this is just a symptom of the aftermath of the DDoS attack or
 something else? My server has a dedicated IP and no one else runs code
 from it, so it isn't other people on my IP hitting the Search API.

 Maybe I need to talk about Search API whitelisting...


 dave
 http://webecologyproject.org


Are you sending a unique client ID header with each request, per
previous Search API throttling conversations? (Not sure that it
matters, that seemed pretty fuzzy when discussed ...)

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Timeouts and API Errors, Tuesday August 11th

2009-08-11 Thread Andrew Badera

On Tue, Aug 11, 2009 at 4:11 PM, Alex Paynea...@twitter.com wrote:
 Our operations staff has informed me that the attack ceased several minutes
 ago. Site performance should be returning to normal.

 On Tue, Aug 11, 2009 at 12:23, Alex Payne a...@twitter.com wrote:

 We're currently experiencing another wave of Distributed Denial of Service
 (DDoS) attacks against our system. Expect periodic slowness and errors until
 the attack passes or is countered by our operations team and hosting
 provider. Updates will be provided as we get them.
 Thanks for your patience.

 --
 Alex Payne - Platform Lead, Twitter, Inc.
 http://twitter.com/al3x

Has it resumed? Still getting lots of intermittency here.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Timeouts and API Errors, Tuesday August 11th

2009-08-11 Thread Andrew Badera

On Tue, Aug 11, 2009 at 5:01 PM, Andrew Baderaand...@badera.us wrote:
 On Tue, Aug 11, 2009 at 4:57 PM, Alex Paynea...@twitter.com wrote:
 Yes, I've just been informed that the attack has resumed, and that our
 service provider is putting network hardware in place to counter the attack.
 We're trying to work with them to ensure minimal impact to the API, but in
 the near term there may be issues with OAuth and the Streaming API.
 This is a bit of a juggling act, as we're trying to coordinate our team, the
 operations team, our service provider's staff, and specialists that they've
 brought in for this issue. Please bear with us.



 Thanks for the update Alex. No worries here, you all seem to be
 keeping us much more comfortably updated than most of Friday.

 --ab



*Thursday, not Friday


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Tue, Aug 11, 2009 at 11:12 PM, Jeremy
Darlingjeremy.darl...@gmail.com wrote:
 Funny thing about trademarking a name and trying to utilize that trademark
 against a URL, can't be done.  If so, MicroSoft would have nailed people
 left and right for infringement upon IE (can we say IE7.com and IE8.com) as
 well as several other websites that utilize trademarked MS product names
 LOL.  Several other companies have tried this as well and failed.

 As for Twitter TOS and developer rights.  Nope, can't sue for voilation of a
 TOS on a public API either.  You can suspend suspect activities and revoke
 developer/company rights but you can't actually file suite on a TOS
 violation of this type.  Lots of statuatory presidence on the subject.

 On point 3, 80% rule along with the fact that you have clearly labeled in
 valid font size the non-affiliation with Twitter again negates this point in
 most cases.

 Actually, about the only thing they could get you for would be
 Slander/Liable if you were spreading bad publicity about the company that
 was un-true.  In that case, they could get you for everything your worth
 LOL.  Then again, being a public entity they would fall under the same laws
 as the movie stars and other public figures and would basically have to suck
 it up in the end.

  - Jeremy


Apparently you fail to recall the MikeRoweSoft.com case.

Twitter can most definitely enforce their trademark here.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 5:23 AM, Richrhyl...@gmail.com wrote:

 Except Twitter is encouraging the use of the word Tweet in
 applications, but not their brand name, Twitter. Perfectly acceptable
 in my personal opinion.

 On Aug 12, 5:13 am, jim.renkel james.ren...@gmail.com wrote:

 BTW, twitter is trademarking tweet as well as twitter. You have
 been warned! :-)


I thought there was a CD incident last month that revolved around tweet?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 5:52 AM, Richrhyl...@gmail.com wrote:

 I'm not aware of this but this link 
 http://blog.twitter.com/2009/07/may-tweets-be-with-you.html,
 published only last month says

 We have applied to trademark Tweet because it is clearly attached to
 Twitter from a brand perspective but we have no intention of going
 after the wonderful applications and services that use the word in
 their name when associated with Twitter. In fact, we encourage the use
 of the word Tweet.



Thanks, I'd missed that. I only saw the original, unupdated article
that brought up the issue on TechCrunch. Great to know.

--ab


[twitter-dev] Re: Newbie to seek advice on the flow of a twitter app with OAuth

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 1:44 AM, jaikejai...@gmail.com wrote:

 Andrew,

 I can't seem to get this working and wanted to see if you would be
 able to shed some light... thx

 in my main index i created a variable:

 (i tried with both of these)
 $callback_url ='callback_url=http%3A%2F%2Fwww.tweetivism.com%2Fblog';
 $callback_url ='http%3A%2F%2Fwww.tweetivism.com%2Fblog';

 and within the default case i added $callback_url to the constructor

  $to = new TwitterOAuth($consumer_key, $consumer_secret,
 $callback_url);

 and im still redirecting to where I have it set in the app backend on
 twitter... am I on the right track at all?

 thx



Perhaps it's an issue with the specific library it looks like you're
using? I was doing callbacks to various addresses all day long
yesterday, no problems. I'm not in PHP and not using a third party
library though.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 9:04 AM, Dewald Pretoriusdpr...@gmail.com wrote:

 Logically, isn't it necessary that a clear and unambiguous definition
 of aggressive following to be publicly available before any legal
 action can be based on it?

 Just asking.

 Dewald


The decision in any legal action would set the precedent most likely.
It's essentially an interpretation of contract case.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 9:29 AM, Dewald Pretoriusdpr...@gmail.com wrote:

 Andy,

 One would hope that a judge would not even hear a case that said,
 Defendent violated terms that he had no way of knowing exactly when
 and how he violated those terms.

 Suspending accounts based on what is a nebulous concept to the public
 is one thing. Even though it may not be good PR, it is well within
 someone's rights to do so. But, to take legal action based on it is
 probably, or shall I say hopefully, a bit of a stretch of the
 imagination. There is a good reason why law books and contracts are so
 thick and contain so many definitions, namely, so you can know exactly
 when you have broken the law or broken the terms of the contract.

 Dewald


And if a judge refused to hear the case, that's also setting some
precedent, and forces Twitter to provide clearer terms if they expect
to pursue similar matters in the future.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 9:43 AM, Dewald Pretoriusdpr...@gmail.com wrote:

 Just thinking, I cannot recall ever having seen in the Twitter TOS
 where it says that it is a violation of their TOS to assist or enable
 others to violate their TOS. It is probably just an oversight, and
 it's something that should be in a Developer TOS.

 But, even if they did that, they would be painting themselves into a
 corner if they did not very clearly and very exactly define each
 clause of the TOS. Not doing that is simply sending them into a very
 dark alley of extremely bad publicity.

 Dewald

Might qualify as a safe harbor issue ...

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 10:08 AM, Bill Kocikbko...@gmail.com wrote:



 On Aug 12, 9:07 am, Duane Roelands duane.roela...@gmail.com wrote:

 It doesn't matter who else
 is doing it.

 Well, actually, it does matter. That's the thing about trademarks -
 you are obligated to defend them across the board, or you lose them.
 You can't selectively defend them by allowing people (or applications,
 or business entities) you like to use them and not people you don't.
 If you do, the people you selectively pursue will stand up in court
 and ask What actions have you taken against X, Y, and Z, who also use
 your trademark? which is a perfectly relevant legal question to which
 the plaintiff's answer had better not be None - we're only going
 after you.

 This is how trademark suits are defended against and how they are lost.


But _ethically_, morally, it doesn't matter.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Trademark infringement

2009-08-12 Thread Andrew Badera

On Wed, Aug 12, 2009 at 12:01 PM, David Fishertib...@gmail.com wrote:

 My guess is that Twitter will hold both Tweet and Twitter as IP, but
 allow general use of Tweet. It seems to really make sense to defend
 the name of their company always, and Tweet only when it is misused.

 -dave


Twitter I could understand but Tweet is a term that I'm pretty
sure originated with we users. If they attempted to enforce that as a
trademark, registered or not, I think they'd probably upset a _lot_ of
people. But I'd like to think that that's not the kind of company that
Twitter is.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: FW: Twitter is Suing me!!!

2009-08-13 Thread Andrew Badera

Spam is anything in your inbox caused by a third party and not desired
by you. Period. Get over the semantics already. If it were possible to
opt-out of all bambibot, SEObot and other spambot accounts on
Twitter, then sure, getting bot follow notifications in your inbox
would NOT be spam. Unfortunately the choice is not offered, but the
lack of a distinctive choice in this matter does not change intent or
outcome.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 9:34 AM, Neil Ellisneilellis1...@googlemail.com wrote:

 +1 and well explained Chris, thanks.

 On 13 Aug 2009, at 08:38, Chris Babcock wrote:


 On Wed, 12 Aug 2009 11:50:24 -0700 (PDT)
 Dewald Pretorius dpr...@gmail.com wrote:

 It may be an irritation and it may cost you money, but it is NOT spam.

 You opted in to receive the notifications on your phone, and hence it
 is NOT spam.


 If you have an email account sent notices to your IMs when you have
 email, those notices are not Spam, but the content of the message may
 be.

 Twitter's just the protocol. The you have a follower message is not
 Spam, but the act of following itself may be if the intent is to use
 Twitter's delivery methods to deliver unwelcome content.

 If a user opts-out of receiving follower notices because of the
 content of the followers' profiles then Spam has damaged the network
 infrastructure on which Twitter is based.

 Chris Babcock








[twitter-dev] Re: BOJAN RAJKOVIC - Your DLL is not working!

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 4:21 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Hey dude,

 I'm using version 0.1 of your DLL because 0.3 did not compile in
 VS2005. So, I try posting an update to twitter using spaces replaced
 with + signs as the standard RFC compliant way of making a POST and
 I've got everyting working because it posts updates without spaces you
 see - only I get a 401 Unauthorised when I use spaces. I've tried a
 hell of a lot of different methods to make a post with spaces - all
 fail. So, what gives with your DLL? When are you going to release
 something what works?


Wow, when did this turn into BOJAN RAJKOVIC's personal line?

There are plenty of .NET libraries out there. Check out LinqToTwitter.

By the way, when it's free, you're definitely getting what you pay for.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: BOJAN RAJKOVIC - Your DLL is not working!

2009-08-13 Thread Andrew Badera

My input was that you're asking in the wrong place, and that there are
working alternatives to demanding fixes in that tone.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 4:47 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Since it is his library I am using which needs a fix. I am asking him
 two things;

 1. Is this a known error in 0.1
 2. When will 0,3 turn into a working version.

 So, what was your input again?

 On Aug 13, 9:23 pm, Andrew Badera and...@badera.us wrote:
 On Thu, Aug 13, 2009 at 4:21 PM, catcallsg.obrzut3...@ntlworld.com wrote:

  Hey dude,

  I'm using version 0.1 of your DLL because 0.3 did not compile in
  VS2005. So, I try posting an update to twitter using spaces replaced
  with + signs as the standard RFC compliant way of making a POST and
  I've got everyting working because it posts updates without spaces you
  see - only I get a 401 Unauthorised when I use spaces. I've tried a
  hell of a lot of different methods to make a post with spaces - all
  fail. So, what gives with your DLL? When are you going to release
  something what works?

 Wow, when did this turn into BOJAN RAJKOVIC's personal line?

 There are plenty of .NET libraries out there. Check out LinqToTwitter.

 By the way, when it's free, you're definitely getting what you pay for.

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



[twitter-dev] Re: BOJAN RAJKOVIC - Your DLL is not working!

2009-08-13 Thread Andrew Badera

Perhaps you need to reconsider your design abstractions -- you should
be able to virtually plug and play. You should have an assembly
sitting between your app and the Twitter library, if you're using
third party, and use your intermediary assembly as an adapter or
facade. That makes it a lot simpler to swap the library on the
backend. You can also use interfaces for this sort of purpose; I
prefer the separate assembly because it reduces regression testing
needs when you make changes later. Single-purpose-ish principle.

Have you tried encoding the spaces before sending them into his library?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 4:50 PM, catcallsg.obrzut3...@ntlworld.com wrote:


 Furthermore - I have wrote an entire program with full Twitter
 Interfacing from Searching to Following to Finally Updating and now I
 find I cannot post spaces with the library.

 I cannot rewrite my entire code base because you suggest LINQ2Twitter.

 I am using this guys library and he really needs to get it sorted for
 me and the rest of his user base.

 Basically, my only work around is to replace spaces with an underscore
 _

 That works.

 But it looks like garbage.



[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

But you're trying to encode a SPACE not a + Mr. Expert Coder.

You've got to be a troll.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:41 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Yeah - but to clarify - A URLEncoded + (which is a space in RFC POST)
 is %2B - so that was my point.

 Don't try and correct me - I am an expert coder.

 On Aug 13, 10:39 pm, Peter Denton petermden...@gmail.com wrote:
 just to clarify, so someone doesn't happen upon this thread and start using
 %2B for spaces.

 a space is %20



 On Thu, Aug 13, 2009 at 2:33 PM, catcalls g.obrzut3...@ntlworld.com wrote:

  Hi Bojan Rajkovic,

  When I tried using 0.3 DLL it stated a file was missing. Fox
  something?

  Perhaps it's a vs2008 only DLL? What do you think?

  Also, I am using 0.1 DLL which works perfectly except it does not post
  spaces - I get a 401 unauthorised.

  I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() with
  the URL.

  I've tried a + and %2B and the only way to seperate words that works
  is using a _

  And that looks terrible!

  So, is it a known issue in 0.1 that you cannot post spaces with
  WebRequest?

  I am getting authenticated fine. AND can post Hi to Twitter. Only one
  word without spaces works tho - if I use a space or the URLEncoded
  version of + or + itself it fails.

  Any ideas because I am stumped?

  On Aug 13, 10:18 pm, Bojan Rajkovic severedcr...@gmail.com wrote:
   On Thu, Aug 13, 2009 at 4:17 PM, catcalls g.obrzut3...@ntlworld.com
  wrote:

 BOJAN RAJKOVIC

Yeah, this is the guy. He is a member here. He'll prolly tell me to
use the updated version of his DLL but sadly the updated version does
not work as far as I can tell.

So, I am using version 0.1 of his Twitter OAuth DLL. Which sucks to be
honest. I wish I had the time to rewrite the code in VB.NET but I got
stuck on creating correct nonces.

   As I recall, you're the gentleman who had trouble following my workflow
   instructions, so I'm not much inclined to help you anyway, less so after
   this little rant.

   I somehow don't think this is my OAuth library's fault, considering that
  it
   takes input from your implementation and doesn't really do any processing
   short of signing it. If your input is invalid, the signing won't work.
   The 0.3 version of the OAuth library works just fine. Please don't blame
  my
   code for your own mistakes, and if you have problems, file an issue on
   Google Code or send me an e-mail, instead of berating my code in public.

   OAuth trunk seems to work though, I'm able to get an access token from
   Twitter. I am able to properly sign a GET request and fetch it (I tried
  with
   the user timeline from statuses) from the C# REPL on Mono.

   If you want to get more information out of the library, try setting
   .Debugging to true on the OAuth object, you should get a lot of output on
   the command line or in Visual Studio's debugging window.



[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

PS you know there are builtin encoding functions, right?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:43 PM, Andrew Baderaand...@badera.us wrote:
 But you're trying to encode a SPACE not a + Mr. Expert Coder.

 You've got to be a troll.

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



 On Thu, Aug 13, 2009 at 5:41 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Yeah - but to clarify - A URLEncoded + (which is a space in RFC POST)
 is %2B - so that was my point.

 Don't try and correct me - I am an expert coder.

 On Aug 13, 10:39 pm, Peter Denton petermden...@gmail.com wrote:
 just to clarify, so someone doesn't happen upon this thread and start using
 %2B for spaces.

 a space is %20



 On Thu, Aug 13, 2009 at 2:33 PM, catcalls g.obrzut3...@ntlworld.com wrote:

  Hi Bojan Rajkovic,

  When I tried using 0.3 DLL it stated a file was missing. Fox
  something?

  Perhaps it's a vs2008 only DLL? What do you think?

  Also, I am using 0.1 DLL which works perfectly except it does not post
  spaces - I get a 401 unauthorised.

  I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() with
  the URL.

  I've tried a + and %2B and the only way to seperate words that works
  is using a _

  And that looks terrible!

  So, is it a known issue in 0.1 that you cannot post spaces with
  WebRequest?

  I am getting authenticated fine. AND can post Hi to Twitter. Only one
  word without spaces works tho - if I use a space or the URLEncoded
  version of + or + itself it fails.

  Any ideas because I am stumped?

  On Aug 13, 10:18 pm, Bojan Rajkovic severedcr...@gmail.com wrote:
   On Thu, Aug 13, 2009 at 4:17 PM, catcalls g.obrzut3...@ntlworld.com
  wrote:

 BOJAN RAJKOVIC

Yeah, this is the guy. He is a member here. He'll prolly tell me to
use the updated version of his DLL but sadly the updated version does
not work as far as I can tell.

So, I am using version 0.1 of his Twitter OAuth DLL. Which sucks to be
honest. I wish I had the time to rewrite the code in VB.NET but I got
stuck on creating correct nonces.

   As I recall, you're the gentleman who had trouble following my workflow
   instructions, so I'm not much inclined to help you anyway, less so after
   this little rant.

   I somehow don't think this is my OAuth library's fault, considering that
  it
   takes input from your implementation and doesn't really do any 
   processing
   short of signing it. If your input is invalid, the signing won't work.
   The 0.3 version of the OAuth library works just fine. Please don't blame
  my
   code for your own mistakes, and if you have problems, file an issue on
   Google Code or send me an e-mail, instead of berating my code in public.

   OAuth trunk seems to work though, I'm able to get an access token from
   Twitter. I am able to properly sign a GET request and fetch it (I tried
  with
   the user timeline from statuses) from the C# REPL on Mono.

   If you want to get more information out of the library, try setting
   .Debugging to true on the OAuth object, you should get a lot of output 
   on
   the command line or in Visual Studio's debugging window.




[twitter-dev] Re: Rate Limiting Question

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 5:44 PM, Dewald Pretoriusdpr...@gmail.com wrote:

 YabadabaFrigginDoo!!

 I have no idea what kind of application would need to continuously
 make 5 authenticated calls per second on a particular Twitter account,
 but hey, if you can think of one, you know you won't be rate limited.

 Dewald


Twitterbation?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 5:49 PM, catcallsg.obrzut3...@ntlworld.com wrote:


 No, I'm trying to encode a RFC POST request space which is a +.

 Stop trying to be clever, it's making you look like an idiot.



Pot, meet my friend kettle. :)

You're a lost cause.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

.NET has UrlEncode() fool, and numerous other character set
manipulation functions.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:50 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 What are you blathering about now? I've checked the DLL routines,
 there are no built in encoding features.

 And as for VB.NET - you have to do it manually like I did with %2B
 because only ASP.NET has URLEncode.

 On Aug 13, 10:44 pm, Andrew Badera and...@badera.us wrote:
 PS you know there are builtin encoding functions, right?

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



 On Thu, Aug 13, 2009 at 5:43 PM, Andrew Baderaand...@badera.us wrote:
  But you're trying to encode a SPACE not a + Mr. Expert Coder.

  You've got to be a troll.

  ∞ Andy Badera
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

  On Thu, Aug 13, 2009 at 5:41 PM, catcallsg.obrzut3...@ntlworld.com wrote:

  Yeah - but to clarify - A URLEncoded + (which is a space in RFC POST)
  is %2B - so that was my point.

  Don't try and correct me - I am an expert coder.

  On Aug 13, 10:39 pm, Peter Denton petermden...@gmail.com wrote:
  just to clarify, so someone doesn't happen upon this thread and start 
  using
  %2B for spaces.

  a space is %20

  On Thu, Aug 13, 2009 at 2:33 PM, catcalls g.obrzut3...@ntlworld.com 
  wrote:

   Hi Bojan Rajkovic,

   When I tried using 0.3 DLL it stated a file was missing. Fox
   something?

   Perhaps it's a vs2008 only DLL? What do you think?

   Also, I am using 0.1 DLL which works perfectly except it does not post
   spaces - I get a 401 unauthorised.

   I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() with
   the URL.

   I've tried a + and %2B and the only way to seperate words that works
   is using a _

   And that looks terrible!

   So, is it a known issue in 0.1 that you cannot post spaces with
   WebRequest?

   I am getting authenticated fine. AND can post Hi to Twitter. Only one
   word without spaces works tho - if I use a space or the URLEncoded
   version of + or + itself it fails.

   Any ideas because I am stumped?

   On Aug 13, 10:18 pm, Bojan Rajkovic severedcr...@gmail.com wrote:
On Thu, Aug 13, 2009 at 4:17 PM, catcalls g.obrzut3...@ntlworld.com
   wrote:

  BOJAN RAJKOVIC

 Yeah, this is the guy. He is a member here. He'll prolly tell me to
 use the updated version of his DLL but sadly the updated version 
 does
 not work as far as I can tell.

 So, I am using version 0.1 of his Twitter OAuth DLL. Which sucks 
 to be
 honest. I wish I had the time to rewrite the code in VB.NET but I 
 got
 stuck on creating correct nonces.

As I recall, you're the gentleman who had trouble following my 
workflow
instructions, so I'm not much inclined to help you anyway, less so 
after
this little rant.

I somehow don't think this is my OAuth library's fault, considering 
that
   it
takes input from your implementation and doesn't really do any 
processing
short of signing it. If your input is invalid, the signing won't 
work.
The 0.3 version of the OAuth library works just fine. Please don't 
blame
   my
code for your own mistakes, and if you have problems, file an issue 
on
Google Code or send me an e-mail, instead of berating my code in 
public.

OAuth trunk seems to work though, I'm able to get an access token 
from
Twitter. I am able to properly sign a GET request and fetch it (I 
tried
   with
the user timeline from statuses) from the C# REPL on Mono.

If you want to get more information out of the library, try setting
.Debugging to true on the OAuth object, you should get a lot of 
output on
the command line or in Visual Studio's debugging window.



[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

For general encoding, yes, HttpUtility, or Server.

And Boijan pointed out the OAuth UrlEncode function as well for your
specific problem as well.

Smack me? Feel free, c'mon over!

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:53 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 OK - if you're the heroin here tell me where it is located.

 And if you state system.web.httputility I'm gonna smack you.

 On Aug 13, 10:52 pm, Andrew Badera and...@badera.us wrote:
 .NET has UrlEncode() fool, and numerous other character set
 manipulation functions.

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



 On Thu, Aug 13, 2009 at 5:50 PM, catcallsg.obrzut3...@ntlworld.com wrote:

  What are you blathering about now? I've checked the DLL routines,
  there are no built in encoding features.

  And as for VB.NET - you have to do it manually like I did with %2B
  because only ASP.NET has URLEncode.

  On Aug 13, 10:44 pm, Andrew Badera and...@badera.us wrote:
  PS you know there are builtin encoding functions, right?

  ∞ Andy Badera
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google 
  me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

  On Thu, Aug 13, 2009 at 5:43 PM, Andrew Baderaand...@badera.us wrote:
   But you're trying to encode a SPACE not a + Mr. Expert Coder.

   You've got to be a troll.

   ∞ Andy Badera
   ∞ This email is: [ ] bloggable [x] ask first [ ] private
   ∞ Google 
   me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

   On Thu, Aug 13, 2009 at 5:41 PM, catcallsg.obrzut3...@ntlworld.com 
   wrote:

   Yeah - but to clarify - A URLEncoded + (which is a space in RFC POST)
   is %2B - so that was my point.

   Don't try and correct me - I am an expert coder.

   On Aug 13, 10:39 pm, Peter Denton petermden...@gmail.com wrote:
   just to clarify, so someone doesn't happen upon this thread and start 
   using
   %2B for spaces.

   a space is %20

   On Thu, Aug 13, 2009 at 2:33 PM, catcalls g.obrzut3...@ntlworld.com 
   wrote:

Hi Bojan Rajkovic,

When I tried using 0.3 DLL it stated a file was missing. Fox
something?

Perhaps it's a vs2008 only DLL? What do you think?

Also, I am using 0.1 DLL which works perfectly except it does not 
post
spaces - I get a 401 unauthorised.

I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() with
the URL.

I've tried a + and %2B and the only way to seperate words that works
is using a _

And that looks terrible!

So, is it a known issue in 0.1 that you cannot post spaces with
WebRequest?

I am getting authenticated fine. AND can post Hi to Twitter. Only 
one
word without spaces works tho - if I use a space or the URLEncoded
version of + or + itself it fails.

Any ideas because I am stumped?

On Aug 13, 10:18 pm, Bojan Rajkovic severedcr...@gmail.com wrote:
 On Thu, Aug 13, 2009 at 4:17 PM, catcalls 
 g.obrzut3...@ntlworld.com
wrote:

   BOJAN RAJKOVIC

  Yeah, this is the guy. He is a member here. He'll prolly tell 
  me to
  use the updated version of his DLL but sadly the updated 
  version does
  not work as far as I can tell.

  So, I am using version 0.1 of his Twitter OAuth DLL. Which 
  sucks to be
  honest. I wish I had the time to rewrite the code in VB.NET but 
  I got
  stuck on creating correct nonces.

 As I recall, you're the gentleman who had trouble following my 
 workflow
 instructions, so I'm not much inclined to help you anyway, less 
 so after
 this little rant.

 I somehow don't think this is my OAuth library's fault, 
 considering that
it
 takes input from your implementation and doesn't really do any 
 processing
 short of signing it. If your input is invalid, the signing won't 
 work.
 The 0.3 version of the OAuth library works just fine. Please 
 don't blame
my
 code for your own mistakes, and if you have problems, file an 
 issue on
 Google Code or send me an e-mail, instead of berating my code in 
 public.

 OAuth trunk seems to work though, I'm able to get an access token 
 from
 Twitter. I am able to properly sign a GET request and fetch it (I 
 tried
with
 the user timeline from statuses) from the C# REPL on Mono.

 If you want to get more information out of the library, try 
 setting
 .Debugging to true on the OAuth object, you should get a lot of 
 output on
 the command line or in Visual Studio's debugging window.



[twitter-dev] Re: Rate Limiting Problem

2009-08-13 Thread Andrew Badera

Get the accounts themselves whitelisted.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:13 PM, arjunsegmentationremo...@gmail.com wrote:

 We are a research group in Georgia Tech working on a Recommender
 System for Twitter. We have 10 accounts and 3 ips whitelisted.
 However, since the accounts use the same ips, the rate limit of the
 ips (20,000) is causing a bottleneck. We would like to get the ips off
 the white-list if thats the only solution or we would like to know if
 there is a better solution. Is there someone who could help us out
 with this?



[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

Like I said, or Server buddy.

Keep digging that hole. Thanks for all the laughs!

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 5:58 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Yeah, accept that you've been smacked. VB.NET for Windows Forms has no
 HTTPUtility.URLEncode - it's purely ASP.NET. Dumbass troll.

 On Aug 13, 10:54 pm, Andrew Badera and...@badera.us wrote:
 For general encoding, yes, HttpUtility, or Server.

 And Boijan pointed out the OAuth UrlEncode function as well for your
 specific problem as well.

 Smack me? Feel free, c'mon over!

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



 On Thu, Aug 13, 2009 at 5:53 PM, catcallsg.obrzut3...@ntlworld.com wrote:

  OK - if you're the heroin here tell me where it is located.

  And if you state system.web.httputility I'm gonna smack you.

  On Aug 13, 10:52 pm, Andrew Badera and...@badera.us wrote:
  .NET has UrlEncode() fool, and numerous other character set
  manipulation functions.

  ∞ Andy Badera
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google 
  me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

  On Thu, Aug 13, 2009 at 5:50 PM, catcallsg.obrzut3...@ntlworld.com 
  wrote:

   What are you blathering about now? I've checked the DLL routines,
   there are no built in encoding features.

   And as for VB.NET - you have to do it manually like I did with %2B
   because only ASP.NET has URLEncode.

   On Aug 13, 10:44 pm, Andrew Badera and...@badera.us wrote:
   PS you know there are builtin encoding functions, right?

   ∞ Andy Badera
   ∞ This email is: [ ] bloggable [x] ask first [ ] private
   ∞ Google 
   me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

   On Thu, Aug 13, 2009 at 5:43 PM, Andrew Baderaand...@badera.us wrote:
But you're trying to encode a SPACE not a + Mr. Expert Coder.

You've got to be a troll.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google 
me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

On Thu, Aug 13, 2009 at 5:41 PM, catcallsg.obrzut3...@ntlworld.com 
wrote:

Yeah - but to clarify - A URLEncoded + (which is a space in RFC 
POST)
is %2B - so that was my point.

Don't try and correct me - I am an expert coder.

On Aug 13, 10:39 pm, Peter Denton petermden...@gmail.com wrote:
just to clarify, so someone doesn't happen upon this thread and 
start using
%2B for spaces.

a space is %20

On Thu, Aug 13, 2009 at 2:33 PM, catcalls 
g.obrzut3...@ntlworld.com wrote:

 Hi Bojan Rajkovic,

 When I tried using 0.3 DLL it stated a file was missing. Fox
 something?

 Perhaps it's a vs2008 only DLL? What do you think?

 Also, I am using 0.1 DLL which works perfectly except it does 
 not post
 spaces - I get a 401 unauthorised.

 I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() 
 with
 the URL.

 I've tried a + and %2B and the only way to seperate words that 
 works
 is using a _

 And that looks terrible!

 So, is it a known issue in 0.1 that you cannot post spaces with
 WebRequest?

 I am getting authenticated fine. AND can post Hi to Twitter. 
 Only one
 word without spaces works tho - if I use a space or the 
 URLEncoded
 version of + or + itself it fails.

 Any ideas because I am stumped?

 On Aug 13, 10:18 pm, Bojan Rajkovic severedcr...@gmail.com 
 wrote:
  On Thu, Aug 13, 2009 at 4:17 PM, catcalls 
  g.obrzut3...@ntlworld.com
 wrote:

    BOJAN RAJKOVIC

   Yeah, this is the guy. He is a member here. He'll prolly 
   tell me to
   use the updated version of his DLL but sadly the updated 
   version does
   not work as far as I can tell.

   So, I am using version 0.1 of his Twitter OAuth DLL. Which 
   sucks to be
   honest. I wish I had the time to rewrite the code in VB.NET 
   but I got
   stuck on creating correct nonces.

  As I recall, you're the gentleman who had trouble following my 
  workflow
  instructions, so I'm not much inclined to help you anyway, 
  less so after
  this little rant.

  I somehow don't think this is my OAuth library's fault, 
  considering that
 it
  takes input from your implementation and doesn't really do any 
  processing
  short of signing it. If your input is invalid, the signing 
  won't work.
  The 0.3 version of the OAuth library works just fine. Please 
  don't blame
 my
  code for your own mistakes, and if you have problems, file an 
  issue on
  Google Code or send me an e-mail, instead of berating my code 
  in public.

  OAuth

[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 6:01 PM, Bojan Rajkovicseveredcr...@gmail.com wrote:
 On Thu, Aug 13, 2009 at 5:54 PM, Andrew Badera and...@badera.us wrote:

 For general encoding, yes, HttpUtility, or Server.

 And Boijan pointed out the OAuth UrlEncode function as well for your
 specific problem as well.

 Smack me? Feel free, c'mon over!

 Hi Andrew,
 Mind if I mail you?
 --Bojan

Feel free, no need to ask.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 6:01 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Server is purely ASP.NET - What the hell are you on?


You are familiar with the concept of including references, right? Take
your pick.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

Straight out of OAuthBase and Shannon Whitley's work:

protected string UrlEncode(string value)
{
StringBuilder result = new StringBuilder();

if (!string.IsNullOrEmpty(value))
{
foreach (char symbol in value)
{
if (unreservedChars.IndexOf(symbol) != -1)
{
result.Append(symbol);
}
else
{
result.Append('%' +
String.Format(CultureInfo.InvariantCulture, {0:X2}, (int)symbol));
}
}
}

return result.ToString();
}


∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 13, 2009 at 3:47 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 This is really bugging me now!

 So far I've tried the following;

 post_data = status=Hi carla

 or

 post_data=status='hi carla'

 or

 post_data=status=Hi%20Carla

 Nothing works!

 What is required to post spaces to twitter?



[twitter-dev] Re: How to post spaces to twitter from vb.net?

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 6:06 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 Oh, one last point - URLEncode will only convert the + to %2B - what I
 have tried using. So, what the HELL are you talking about?


You're not encoding a +. You're encoding a  .

Good luck and good evening friend.


[twitter-dev] Re: Can someone suggest a VB.NET Twitter API Interface that works?

2009-08-13 Thread Andrew Badera

On Thu, Aug 13, 2009 at 7:23 PM, catcallsg.obrzut3...@ntlworld.com wrote:

 I want something that
 actually works and is at least 1.0

And I want whirled peaz, Giselle Bundchen and a 12 figure bank account ...


[twitter-dev] Re: Cease Desist from Twitter

2009-08-14 Thread Andrew Badera

On Fri, Aug 14, 2009 at 7:16 AM, Goblinstu...@abovetheinternet.org wrote:

 LOL, problems are now all sorted, lawyers happy it isn't confusing
 anymore.

friggin IE6. Had to GIF some PNGs recently myself.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Cease Desist from Twitter

2009-08-14 Thread Andrew Badera

On Fri, Aug 14, 2009 at 9:20 AM, Goblinstu...@abovetheinternet.org wrote:
 Out of curiousity, have you tried the Unit PNG fix to deal with IE6?
 Interested to know if you did and it didn't work out for you.

I was unfamiliar with it, I'll have to check it out, thanks.


[twitter-dev] Re: Platform downtime is expected

2009-08-16 Thread Andrew Badera

On Sun, Aug 16, 2009 at 1:40 PM, bosherbhellm...@gmail.com wrote:

 How is it that all the oAuth apps out there are down, but others like
 TweetMeMe are not? TweetMeMe works just fine, how is that possible?


HTTP Basic Auth still works I believe, as do any pre-problem OAuth
tokens issued.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: php regex for twitter password

2009-08-16 Thread Andrew Badera

At least 6
At least one capital letter
At least one non-capital letter
At least on numeric

[Stronger]
At least 8
At least one non-alphanumeric

I'd love to provide a RegEx ... only :
a) I live in the .NET world not PHP, and,
b) There are TONS -- BAJILLIONS -- of password regexes available on
the interwebs that describe every frickin' reasonable permutation of
such.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sat, Aug 15, 2009 at 2:33 AM, Xpineapplekenned...@gmail.com wrote:

 I could probably play with regex all day and get no where (and so far
 am).  While I could make some progress, I don't know all the rules for
 a good password.  My intent is to ensure server (and service) are
 safe.  With that in mind, can anyone provide a fair enough regex
 example of sanatizing a password for twitter service? Thanx.



[twitter-dev] Re: OAuth on client side

2009-08-16 Thread Andrew Badera

On Sun, Aug 16, 2009 at 11:00 AM, JONNiE`arse...@gmail.com wrote:

 Hi,
 I was wondering is there a way to implement OAuth and Twitter
 functionality without server going out to twitter.com? We have servers
 that are closed to external websites. Yet the client side application
 should be Twitter Enabled. Is that possible?



laconi.ca?

XMPP?

Facebook?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Issues with the API this morning?

2009-08-17 Thread Andrew Badera

On Mon, Aug 17, 2009 at 11:25 AM, Mario Mentimme...@gmail.com wrote:
 Same here (twitterfeed), we're getting very large numbers (tens of
 thousands) of 500 timeout errors on status updates. Although the extent
 isn't quite as bad, the symptoms and messages look like they did during the
 DDoS attack, so I suspect they are again throttling/blocking some
 high-volume apps.
 Mario.

 On Mon, Aug 17, 2009 at 4:19 PM, CodeWarden paul0...@gmail.com wrote:

 Are there still issues with the API this morning?  We have many of our
 UberTwitter users reporting timeouts when trying to retrieve timelines
 and send tweets.  We are not using OAUTH.

 Any info would be greatly appreciated!

 -CodeWarden



Also been seeing occasional failed page loads on the web.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Permanent URL to profile images?

2009-08-18 Thread Andrew Badera

On Tue, Aug 18, 2009 at 4:21 PM, natefanaronatefan...@gmail.com wrote:

 There is no officially supported way to get a static url for profile
 images but if you're familiar with google app engine you may want to
 check this out: http://code.google.com/p/spiurl/


Nice, great find, thanks for sharing.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: sending a tweet from an ASP.NET form action

2009-08-18 Thread Andrew Badera

On Tue, Aug 18, 2009 at 4:45 PM, subquarksubqu...@gmail.com wrote:

 I don't know where to start (or even the terms to search for)
 but . . .

 I would like to be able to send a tweet out on the completion of a
 form to my own account. A user fills out an ASP.NET form and when they
 submit the form, I would like my Twitter status to update and simply
 say another form has been filed+tinyurl.  The tiny URL will always
 be the same.

 It would eventually be used in custom work we do for hotels and their
 Request For Proposal pages.  A user submits an RFP and we would like
 that hotel's Twitter to reflect that with something like:

 another conference RFP just submitted - tinyURL

 Where the URL is simply a link to their blank RFP form.  No user data
 would be passed ever.

 Thank you and thanks for making Twitter pretty much the centre of the
 social universe!



Well, you can spend some time learning, like most of us here, or you
can hire someone else to do it. Good luck with your choice.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: sending a tweet from an ASP.NET form action

2009-08-19 Thread Andrew Badera

When in doubt, read the documentation. GIYF.

http://apiwiki.twitter.com/Getting-Started

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Wed, Aug 19, 2009 at 8:32 AM, subquarksubqu...@gmail.com wrote:

 thank you, I am looking for what terminology to use in searching, not
 for someone to do it for me. I am new to twitter so not even sure
 what it is.  =p

 And looking for resources so I can self-educate.

 I have done ActionScripting for 10 years and am use to providing links
 to good resources as member of that community (I have answered 5,000
 questions on actionsript.org) and I am simply not sure what the lingo
 is for an automated tweet?

 thanks again . . .



 n Aug 18, 7:45 pm, Andrew Badera and...@badera.us wrote:
 On Tue, Aug 18, 2009 at 4:45 PM, subquarksubqu...@gmail.com wrote:

  I don't know where to start (or even the terms to search for)
  but . . .

  I would like to be able to send a tweet out on the completion of a
  form to my own account. A user fills out an ASP.NET form and when they
  submit the form, I would like my Twitter status to update and simply
  say another form has been filed+tinyurl.  The tiny URL will always
  be the same.

  It would eventually be used in custom work we do for hotels and their
  Request For Proposal pages.  A user submits an RFP and we would like
  that hotel's Twitter to reflect that with something like:

  another conference RFP just submitted - tinyURL

  Where the URL is simply a link to their blank RFP form.  No user data
  would be passed ever.

  Thank you and thanks for making Twitter pretty much the centre of the
  social universe!

 Well, you can spend some time learning, like most of us here, or you
 can hire someone else to do it. Good luck with your choice.

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)- 
 Hide quoted text -

 - Show quoted text -



[twitter-dev] Re: Do My Customers Have a Twitter Account?

2009-08-19 Thread Andrew Badera

On Wed, Aug 19, 2009 at 11:07 AM, arawajyaraw...@gmail.com wrote:

 Dear Developers,
 I have a list of 400,000 e-mail addresses of my clients. I want to
 know Is it possible to develop a script to check if they have a
 twitter account or not?. I will then want to generate 2 separate
 lists based upon the result; one for the twitter users and one for the
 non-twitter users. I want to only invite the users and create a custom
 invitation message. Is it possible to check if the e-mail address's
 owner is a twitter user or not? provide details please.
 Thanks and Regards,
 Mahmoud


If they're already your clients then what are you inviting them to?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Twitter's Tweet Trademark Torpedoed

2009-08-19 Thread Andrew Badera

Excellent as always Sam.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Wed, Aug 19, 2009 at 1:57 PM, Sam Johnstons...@samj.net wrote:

 [refer to the article itself for the inline links - @samj]

 Twitter's Tweet Trademark Torpedoed
 http://samj.net/2009/08/twitters-tweet-trademark-torpedoed.html

 Last month Twitter founder Biz Stone announced in a blog post (May The
 Tweets Be With You) that they have applied to trademark Tweet because
 it is clearly attached to Twitter from a brand perspective.  This
 understandably caused widespread upset as the word tweet has been
 used generically by users for some time as well as in any number of
 product names by independent software vendors. Here's some samples
 from the resulting media storm:

    * CNET News: Is Twitter freaking out over 'tweet' trademark?
    * TechExpert: Twitter Trying to Trademark Tweet
    * LA Times: Will Twitter trademark 'tweet' before it’s
 genericized?
    * PC Magazine: Twitter Trying to Trademark 'Tweet'
    * TechCrunch: Twitter Grows “Uncomfortable” With The Use Of The
 Word Tweet In Applications
    * TechCrunch: Twitter To Developers: “Tweet” Your Heart Out, But
 Don’t “Twitter” It
    * Bloomberg: Twitter Lays Claim to ‘Tweet’ Trademark in Bid to
 Protect Brand

 What they failed to mention though was that according to USPTO records
 (#77715815) not only had they actually applied some months before (on
 16 April 2009) but that their application had been refused that very
 same day (1 July 2009).

 According to documents from the Trademark Document Retrieval system,
 their lawyers (Fenwick  West LLP) were notified of the rejection by
 email to tradema...@fenwick.com that day. The USPTO had explained that
 marks in prior-filed pending applications may present a bar to
 registration of applicant’s mark. [...] If the marks in the referenced
 applications register, applicant’s mark may be refused registration
 under Trademark Act Section 2(d) because of a likelihood of confusion
 between the two marks, referencing and attaching not one, not two but
 three separate trademark applications:

    * #77695071 for TWEETMARKS (pending receipt of Statement of Use)
    * #77697186 for COTWEET (pending clarification)
    * #77701645 for TWEETPHOTO (pending transfer to Supplemental
 Register)

 Now I may not be a lawyer (I did play a role in overturning Dell's
 cloud computing and Psion's Netbook trademarks) but given all
 three of the marks identified look like proceeding to registration (it
 only takes one to rain on their parade), it's my non-expert opinion
 that Twitter has a snowflake's chance in hell of securing a monopoly
 over the word Tweet.

 That's too bad for Twitter but it's great news for the rest of the
 community as it's one less tool for locking in Twitter's rapidly
 growing microblogging monopoly. People do use the word tweet
 generically (including with non-Twitter services) and if Twitter, Inc.
 were successful in removing it from the public lexicon then we could
 all suffer in the long run.

 In any case it is neither serious nor safe for one company to become
 the pulse of the planet and that is why I will be following up with
 a series of posts as to how distributed social networking can be made
 a reality through open standards (if that stuff is of interest to you
 then subscribe and/or follow me for updates). I've also got some
 interesting things in the pipeline in relation to standards and
 trademarks in general so watch this space.

 Anyway it just goes to show that with trademarks you need to use it
 or lose it. The propagation delay of the media has dropped from
 months at the outset to near real-time today so companies need to move
 fast to protect their marks or lose them forever. As for whether the 1
 July post was a scramble to protect the mark on receipt of the USPTO's
 denial, whether the USPTO was acting in response to it, or whether it
 was just a coincidence and particularly bad timing I don't know. I
 don't really care either as the result is the same, but I would like
 to believe that the USPTO is becoming more responsive to the needs of
 the community (after all, they revoked Dell's cloud computing
 trademark in the days following the uproar, despite having already
 issued a Notice of Allowance offering it to them).



[twitter-dev] Re: Do My Customers Have a Twitter Account?

2009-08-20 Thread Andrew Badera

On Wed, Aug 19, 2009 at 11:41 PM, Dewald Pretoriusdpr...@gmail.com wrote:

 I fully agree with you, Duane.

 Dewald

 On Aug 20, 12:17 am, Duane Roelands duane.roela...@gmail.com wrote:
 This is a terrible idea.

*snip*

 As a developer and a user, I hope Twitter -never- implements this.


+

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: C# + OAuth + account/update_profile_image = 500 Internal Server Error

2009-08-20 Thread Andrew Badera

On Thu, Aug 20, 2009 at 1:40 AM, David Carsoncarson63...@gmail.com wrote:

 Got this sorted out and working, and thought I should share the two
 pitfalls which were causing me problems.

 First of all, unbelievably, the 500 Internal Server Error was being
 caused by an extra carriage return between my last HTTP header and the
 first multipart boundary. Seriously. I had two blank lines in there
 instead of one. Removed the extra carriage return, and my 500
 vanished, being replaced by a more reasonable (401) Unauthorized -
 Incorrect signature error.

 Secondly, the OAuth documentation seems a bit shaky when it comes to
 multipart/form-data POSTs. But basically, you do NOT use any of the
 POST parameters when creating your signature. And this includes all of
 the OAuth-specific parameters like oauth_consumer_key,
 oauth_signature_method, etc. Bit of a security hole imho, OAuth
 implements all this complexity to avoid man-in-the-middle or replay
 attacks, and as soon as you do a multipart POST it's all negated.

 So, my signature base was literally:

 POSThttp%3A%2F%2Ftwitter.com%2Faccount%2Fupdate_profile_image.xml

 Just the HTTP method and the URL. No parameters.

 Once I made that change to the signature generation, my request went
 through fine and my avatar changed.

 Hope this helps someone!

 Cheers,
 David...


Gotta love HTTP. In many ways very forgiving, in other ways very, very
picky. Glad you got it worked out. FYI I believe LinqToTwitter offers
the same image upload/change functionality on top of the same
OAuthBase work by Eran  Shannon.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Creating Groups

2009-08-20 Thread Andrew Badera

I'd recommend checking out the API documentation.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 20, 2009 at 10:20 AM, Ryan Bellryan.j.b...@gmail.com wrote:

 Twitter Groups:  I am adding the ability to create custom 'groups' of
 twitter users to my site.  My current approach seems very processor/
 twitter api intensive.  Can anyone make a recommendation or refer me
 to a link where I can find information on how I might more efficiently
 code this feature?

 Any help is appreciated.

 Current Approach:
 1. User can put n users in a group
 2. User clicks their group to view the timeline
 3. Iterate through all 'n' users in the group and get the respective
 user's timelines
 4. Merge the timelines into a collection.
 5. Sort the timelines by date
 6. Bind this collection to the display grid.
 7. This timeline is immediately out of date of course so a click of
 the 'refresh' button triggers the need to do the entire process again.

 An example might have 80 users in the group called colleagues. I
 would then call Twitter 80 times to get the 80 disparate timelines.
 Next I would merge and sort the collection.  This would have to be
 repeated upon each refresh or selection of a different group.

 Thanks in advance!

 Ryan



[twitter-dev] Re: URGENT HELP NEEDED

2009-08-21 Thread Andrew Badera

As long as your app is registered with Twitter with an appropriate
name, and you're using your consumer key and secret, the from
[yourapp] should be automatic with OAuth. If it's not, it's probably
a bug/temporary issue. I'm using OAuthBase.cs myself with no problems
with source at the moment:

http://twitter.com/andrewbadera/status/3447332737

However, is what you provide all of your code? With OAuth you don't
use the username/password, you use the authorization URL to pass the
user to Twitter, where they can approve access for your app. Twitter
then redirects them back to your callback url (which you can provide
at call time as oauth_callback rather than use the setting in the
Twitter application registry) where it also POSTs the access token and
secret for the user.

You then make your request using your consumer token values PLUS the
user token values. Your token values identify your service or app, the
user token identify the user. Username/password is only for Basic
Auth, and Basic Auth only shows from [app] if the app predates
OAuth. Http Basic is in the process of slowly, slowly being
deprecated. When you provide the username/password but not the user
token/secret, I believe that class defaults to Http Basic Auth.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 20, 2009 at 8:27 AM, Kuntalkuntal.mazum...@gmail.com wrote:

 Hello All,

 I want to show updates are from my web application name instead of
 from web

 We want to integrate the status update system of twitter in our web
 application which is made in .NET Framework 2.0. We have integrated it
 successfully and is updating the status. But the problem we are facing
 that the message says. from Web.

 We want to make it from Our Site Name. For that we have registered
 our application in twitter.


 It provided us the following information...

 1) Consumer key
 2) Consumer secret
 3) Request token URL
 4) Access token URL
 5) Authorize URL

 We are using the API and is using the following code.


 public void Test()
    {

        OAuth_Twitter obj = new OAuth_Twitter();

        obj.strusername = User Name;
        obj.strpassword = Password;

        obj.consumerKey = Consumer key;
        obj.consumerSecret = Consumer secret;
        obj.token = obj.AuthorizationLinkGet();

        obj.oAuthWebRequest(POST, https://twitter.com/statuses/
 update.xml, status= + The Message To Send + source=my_app);
    }


 Please look at above code. We have two class file also. Those are
 OAuth_Twitter.cs and OAuthBase.cs. In the above code please look
 that we have used source=my_app to make from from Web to from
 Our Site Name. We got this suggestion from many sites as they
 suggested. But we are so sorry that we could not reach to our
 objective.

 Please help us out to solve our problem. We are eagerly waiting for
 your reply.

 Thanks



[twitter-dev] Re: large user base push notification solutions?

2009-08-21 Thread Andrew Badera

If you're already talking about a 2-minute delay, then why push and
not pull ?? Polling clients will give you greater scalability with
that range of latency easily achievable for little investment. Push is
meant for immediate notifications. True push to 500k+ clients is
costly -- but you don't need millisecond latency here. Pull is much,
much cheaper.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Fri, Aug 21, 2009 at 8:07 AM, Dewald Pretoriusdpr...@gmail.com wrote:

 In addition, your database will have to cope with 8,300 writes per
 second. And then you need to take into account the latency of the
 Apple Push Notification service.

 Dewald

 On Aug 21, 8:57 am, Dewald Pretorius dpr...@gmail.com wrote:
 On Aug 21, 12:06 am, ke...@nibirutech.com intelligent...@gmail.com
 wrote:

  What if we have a large user base, say , 500, 000 users at
  least?  How can we use a proper solution to get a 2-minutes delay push
  for any user's mentions and DMs? (we can't afford the server cost for
  half million requests every 2 minutes)

 You are actually talking about one million API calls every 2 minutes
 (1 for mentions, one for DMs).

 That's 8,300 API calls per second.

 My rough estimate is that you are going to need around 200 servers to
 cope with that workload.

 Dewald



[twitter-dev] Re: Stop playing around with Source parameters

2009-08-22 Thread Andrew Badera

Crazily enough, not everyone writes in PHP.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sat, Aug 22, 2009 at 3:28 AM, Joel Strellnerj...@twitturly.com wrote:
 Ummm... strip_tags()'s?

 On Fri, Aug 21, 2009 at 9:17 PM, TCI ticoconid...@gmail.com wrote:

 Recently you added nofollow's, and now you moved the nofollow after
 the href. Some of us filter these out and you changing them is only
 making it more complicated. Please make up your mind and stop changing
 these...

 a href=http://fun140.com/;Fun140/a

 a rel=nofollow href=http://fun140.com/;Fun140/a

 a href=http://fun140.com/; rel=nofollowFun140/a




[twitter-dev] Re: how can I get user address using Twitter API?

2009-08-22 Thread Andrew Badera

Spam? Privacy? Call me crazy, I know!

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Fri, Aug 21, 2009 at 10:25 PM, Bo Huangbohua...@gmail.com wrote:

 Is there any reason twitter doesn't support it? it is so weird.

 On Aug 21, 6:03 am, JDG ghil...@gmail.com wrote:
 no, on purpose.

 On Fri, Aug 21, 2009 at 01:08, Bo Huang bohua...@gmail.com wrote:

  Hi,

  I am trying to integrate Twitter OAuth with my website. Right now I
  can use this API (https://twitter.com/account/verify_credentials.xml)
  to get lots of profile information like user ID, screen name, but I
  didn't any info about the user email address. Is there any API to get
  email address? Thanks in advance.

  Bo

 --
 Internets. Serious business.



[twitter-dev] Re: heavy throttling by search.twitter.com API from GAE application

2009-08-22 Thread Andrew Badera

On Sat, Aug 22, 2009 at 6:26 AM, Beierbeier...@gmail.com wrote:

 not sure about GAE, but for AWS, you can request for a static IP, it
 costs some $, but it's the only way to work with Twitter API if rate
 limit is an issue for you

GAE has no such IP offering yet. Also, by its very nature, all
activity on GAE is global -- which is why it's taking them a while to
deliver SSL services as well.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Stop playing around with Source parameters

2009-08-22 Thread Andrew Badera

Can you use DOM functions in most languages on mere HTML fragments?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sat, Aug 22, 2009 at 7:38 AM, shiplushiplu@gmail.com wrote:
 Use DOM functions in your language to parse it.
 Dont use Regex. Another Good solution is using libxml. But Html is not XML.
 So you may have to convert it.
 Thats why DOM is better.

 --
 A K M Mokaddim
 http://talk.cmyweb.net
 http://twitter.com/shiplu
 Stop Top Posting !!
 বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল



[twitter-dev] Re: how can I get user address using Twitter API?

2009-08-22 Thread Andrew Badera

On Sat, Aug 22, 2009 at 10:01 AM, Dossy Shiobarado...@panoptic.com wrote:

 On 8/22/09 5:49 AM, Andrew Badera wrote:

 Spam? Privacy? Call me crazy, I know!

 So, who wants to form a data mining startup that crawls websites for follow
 me on twitter links to people's twitter IDs, then correlates that to
 contact email addresses for the site ...

 Easy revenue model: sell lookups from email - twitter ID and twitter ID -
 email.

 Could this ever violate Twitter's ToS?  In theory, you could build such a
 service without ever accessing twitter.com - just crawl blogs and tumblr and
 posterous and other such sites where folks advertise their twitter IDs, then
 try to identify contact email address for the site owner.

 Clearly, there's demand for such a service - would people pay for this data?


Hopefully most of us use Spam Poison and/or CAPTCHAs to conceal or
obscure contact addresses on our site :)

--ab


[twitter-dev] Re: heavy throttling by search.twitter.com API from GAE application

2009-08-23 Thread Andrew Badera

150 is a per-user rate, not a per-IP rate, to begin with, isn't it?
The issue here is whitelisted IPs sharing 20k total, right?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sun, Aug 23, 2009 at 10:17 AM, boazsapirb...@gmail.com wrote:

 Hello everyone,

 I checked the behavior on an AWS instance _without_ static IP (which
 is called by Amazon elastic IP) and I do not see any problem with the
 limits. The limit status shows that I have exactly 150 calls left
 minus the ones I have explicitly used. I do not obeserve any behvior
 where my limits are affected by other users with which I share the
 resource.
 Am I missing something? Could it be just a matter of luck/random
 behavior?

 Thank you,
 Boaz

 On Aug 22, 12:03 am, Darren Bounds (Cliqset) dbou...@gmail.com
 wrote:
 Hello Chad,

 Can you confirm that this is not the case for AWS elastic IPs which
 had been previously whitelisted by Twitter?

 Thanks,
 Darren

 On Aug 21, 4:35 pm, Chad Etzel jazzyc...@gmail.com wrote:

  Hello,

  I have replied to Jud off-list, but for everyone's benefit we'd like
  to reiterate that AWS and GAE are shared resources and therefore share
  the rate limit across applications. A dedicated IP and unique UA will
  guarantee the maximum API limits. There are several cheap and reliable
  VPS hosting services available which can provide a dedicated IP
  address and full control over the server.

  Thanks,
  -Chad

  On Fri, Aug 21, 2009 at 12:48 PM, Judjvale...@gmail.com wrote:

   I've got a python app running on Google App Engine (appspot hosted)
   that querieshttp://search.twitter.com/search.atom?q=forsimple
   queries (e.g. foo OR bar), and it's being severely throttled (e.g.
   can't get a successful request through (response 200 w/ data) more
   than a couple of times per _hour_).

   - I'm setting the UA string to something unique/identifiable (e.g. my
   company name)
   - I'm respecting the retry-after header coming back when I see a 503
   (average retry-after duration is ~750)
   - GAE turns the IP address behind the app over ~ every 6 hours
   - app hits tries to hit search.twitter.com every 5 minutes.

   I've successfully polled the endpoint at much higher rates (in
   completely different IP address ranges) in the past, without issue.
   Unclear what's going on. Any suggestions would be greatly appreciated.



[twitter-dev] Re: Is twitter down ???

2009-08-25 Thread Andrew Badera

status.twitter.com is rarely up to date or detailed.

I've seen issues on the web the past 20 minutes or so. loading now though.



On Wed, Aug 26, 2009 at 12:17 AM, Vigneshvignesh.isqu...@gmail.com wrote:

 All my api calls are getting a download error and the twitter website
 itself is not opening,
 http://status.twitter.com has no updates about this
 What is happening?



[twitter-dev] Re: Pass credentials to browser

2009-08-26 Thread Andrew Badera

Not HIS IP -- that's a client process there. That will be spread
around individual client IPs, which being mobile are probably highly
dynamic.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Wed, Aug 26, 2009 at 9:15 AM, Stuartstut...@gmail.com wrote:

 2009/8/26 balu reghu baluk...@gmail.com:

 Hi all,
 Can i pass my credentials to browser.I am working on a twitter
 application.
 On a click i am trying to show the twitter site. If i have the
 credentials with me.Can i make the user view his tweets without login
 (again)

 this is my code

 on a click
 Process.Start(@\Windows\iexplore.exe,
                                      http://m.twitter.com/search/
 users?q= + tbsearch.Text);

 In this case the browser will show a popup .asking for user name and
 password.Is there any way to pass the credentials?

 That is not an API call so what you're doing is scraping the Twitter
 site. They don't like you doing that and it will likely get your IP
 blocked if you keep doing it.

 -Stuart

 --
 http://stut.net/projects/twitter/



[twitter-dev] Re: Pass credentials to browser

2009-08-26 Thread Andrew Badera

Actually ... IS that PocketIE, or is that Internet Explorer on a desktop?

If desktop, why are you scraping the mobile page?




On Wed, Aug 26, 2009 at 9:27 AM, Andrew Baderaand...@badera.us wrote:
 Not HIS IP -- that's a client process there. That will be spread
 around individual client IPs, which being mobile are probably highly
 dynamic.

 ∞ Andy Badera
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



 On Wed, Aug 26, 2009 at 9:15 AM, Stuartstut...@gmail.com wrote:

 2009/8/26 balu reghu baluk...@gmail.com:

 Hi all,
 Can i pass my credentials to browser.I am working on a twitter
 application.
 On a click i am trying to show the twitter site. If i have the
 credentials with me.Can i make the user view his tweets without login
 (again)

 this is my code

 on a click
 Process.Start(@\Windows\iexplore.exe,
                                      http://m.twitter.com/search/
 users?q= + tbsearch.Text);

 In this case the browser will show a popup .asking for user name and
 password.Is there any way to pass the credentials?

 That is not an API call so what you're doing is scraping the Twitter
 site. They don't like you doing that and it will likely get your IP
 blocked if you keep doing it.

 -Stuart

 --
 http://stut.net/projects/twitter/




[twitter-dev] Re: Build a Library based on OAuth

2009-08-28 Thread Andrew Badera

Noo.

You should always be prepared to request new tokens on behalf of
users, and you should always be ready to swap your app's consumer key
and secret.

Never store any sort of hardcoded string -- like your tokens -- in
your applications. Worst case, put them in a human-readable config
file the system parses out on-load. (Some frameworks make it easy.
.NET .config files, Python YAML files.) Better, store everything in a
DB, and be prepared to re-approve and re-pop your DB on the fly.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 27, 2009 at 12:22 PM,
slexten...@alice.itslexten...@alice.it wrote:

 Hello, I just want a confirmation.
 I need to build a library to enhance my CMS.
 I need that news added on my portal are added to Twitter too.
 I got my Twitter account, and I got my Twitter application.
 To add a tweet by code I allowed my app on my twitter account.
 I derived from a debug session the OAuth Token and the OAuth
 TokenSecret so, since those values will not expire, I store them in my
 app and I use without re-log/auth my app.

 Is this a correct approach?
 Thanks



[twitter-dev] Re: Some1 Can Explain Me This Process?

2009-08-28 Thread Andrew Badera

OAuth credentials are verified by default. If you have tokens that
work with Twitter, you know you have valid credentials. If that token
fails during a call, you must ask the user to reapprove with a new
token. There is never a need to verify credentials on the OAuth side
of the fence -- you always knew (or should know, record when grabbed)
whose OAuth token you have.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 27, 2009 at 3:29 PM, Gustavo Melopipoc...@gmail.com wrote:
 I was trying to change my old app for the new OAuth authentication.

 I'm using .NET C#

 I could get my token and tokenSecret. Ok.

 So i try to test verify_credentials.xml

 looks like this:
 http://twitter.com/account/verify_credentials.xml
 ?oauth_consumer_key=xx
 oauth_nonce=xx
 oauth_signature_method=HMAC-SHA1
 oauth_timestamp=1251398498
 oauth_token=xx
 oauth_signature=%2bgUJx2ydmVWdoLgdGrFWfwy0efg%3d

 And i received this message:
 errorCould not authenticate you./error

 But...
 If i put this link directly on browser some message box appear with:
 The API requer a login and password
 Login:
 Password:

 If a put my pass and login i can get the right return:
 user
 idX/id
 namepipocadr/name
 screen_namepipocadr/screen_name
 location/
 description/
 −
 profile_image_url
 http://a3.twimg.com/profile_images/299177807/3D_normal.png
 /profile_image_url
 url/


 This is the basic auth or oauth? I pass my token and tokenSecret and
 consumerKey etc...
 So how can i get the result?

 Best Regards



[twitter-dev] Re: Automated URL shortening

2009-08-28 Thread Andrew Badera

Shortening is sometimes turned off due to system issues or bit.ly issues.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Thu, Aug 27, 2009 at 3:40 PM, Matt Terenziomteren...@gmail.com wrote:

 Are the rules on whether a URL is automatically shortened or not
 openly available anywhere?

 I was pushing a URL like this through the API:

 http://www.domain.com/story/1234567

 and it is not shortened in the tweet.

 I decided to implement my own short URLs and started pushing this
 through:

 http://go.domain.com/12xhf

 and it seemed like that caused it to be converted to a bit.ly URL

 Can that be true?



[twitter-dev] Re: Wondering if this would be against TOS

2009-08-28 Thread Andrew Badera

1. If you're not putting messages in front of someone, it's not spam.
If you're not aggressively following and @'g people, it's probably not
spam.
2. It would probably be better to do it all with one account -- most
users don't wish to sign up for and maintain more than one. But people
having multiple accounts is not, to my knowledge, against TOS by any
means. (But maybe it should be  )

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Fri, Aug 28, 2009 at 12:24 AM, Peter J. Walshxor.g...@gmail.com wrote:

 tl;dr: I'm a hobbyist programmer writing an application that passes
 data to/from devices using twitter, and was wondering if this would be
 a violation of the TOS?

 or if you prefer, the longer version:

 I'm a hobbyist programmer writing an application. An application that
 controls other applications on a host by receiving data sent to
 twitter from a remote device such as a cell phone. It's not very far
 along, so far the only thing it can do is query the status of uTorrent
 at the request of the remote device and return it through direct
 messaging, and add torrents passed through a direct message. I was
 wondering if this portion would constitute spam?

 The application also requires a person to have two accounts, one for
 themselves, and one for the application. As a hobbyist programmer I
 don't really spread my applications around, just to a few people to
 help test them. So far this particular application has only been sent
 to one other person. So I was wondering also if this creation of two
 accounts would cause issues? If this would cause issues, I could
 rewrite the application to only need one account for all it's users,
 but this would hinder it's adoption of other applications that don't
 support a HTTP interface.

 Of course if any of these things would cause any issues I would be
 more than willing to discontinue development.



[twitter-dev] Re: help!!!

2009-08-29 Thread Andrew Badera

Generally that would mean the picture is too big.

It can't be over 700k.

Your second question? Wordpress/PEBKAC issue. Find your answers there.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sat, Aug 29, 2009 at 8:42 PM, francinafrancinastew...@gmail.com wrote:

 i can't upload a picture for my twitter account, it says the pic is
 too big. what does this mean? also, i tried to link a wordpress blog
 to twitter and it says my page does not exist. what does this mean???
 I need your help soon please!
 ~francina



[twitter-dev] Re: Website!

2009-08-31 Thread Andrew Badera

Wave your magic wand, demand some plz send teh codez, and your wish
will come true!

You're probably better going to the Drupal community for this if you
intend to use Drupal. This isn't a website building tutorial list.
This isn't a Drupal how-to list. Most of us here probably don't even
use Drupal. (I have, but not for anything Twitter related, but I'm
sure there's a module.)

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Mon, Aug 31, 2009 at 1:16 AM, priteshdesaiiampriteshde...@gmail.com wrote:

 I want to make a website closely tied with Twitter. I want users to
 signin, using Oauth. People can import there tweets on this site and
 also comment on others tweets.
 How can I make such a website?
 I would like to use Drupal to do it..
 Any ideas?



[twitter-dev] Re: Does anyone have an ASPinfo.asp file they can share?

2009-08-31 Thread Andrew Badera

Are you maybe talking browsercap.ini ?

Or are you actually talking the first result of googling aspinfo.asp
which is a third-party script of that name?

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Mon, Aug 31, 2009 at 1:29 AM, Sean Callahanseancalla...@gmail.com wrote:

 I am in need of an aspinfo.asp file to grab detailed system
 information on a windows server. I can't find one of those files to
 save my life. Can someone please email me one to
 s...@tweetphoto.com ??



[twitter-dev] Re: Using Twitter API by Nick Beam

2009-08-31 Thread Andrew Badera
TEXT AVALANCHE! RUN!

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Mon, Aug 31, 2009 at 3:27 PM, Pjpravee...@gmail.com wrote:

 Can anyone please assist me on how to use/call this API functions with
 php?

 I tried
 ?php

 require(new.class.php);

 $twitter = new Twitter(, );

 $msg = $twitter-getMessages(xml);

 echo pre. $msg. /pre;

 ?

 And something weird displayed..
 thanks in advance.

 //new.class.php\\
 ?php
 /**
  * Twitter interface class
  * Nov 26 2007 Nick Beam
  * Bugs, comments, questions: winkerb...@gmail.com
  * http://rbrw.net -- http://tinydinosaur.com
  *
  * This is a simple interface to the Twitter API.
  * I've tried to keep as close as possible to the real API
  *   calls (some had to be changed due to ambiguity), but all
  *   of the arguments are as they are in the official docs.
  *
  * Usage:
  *  $twitter = new Twitter(username, password);
  *  $public_timeline_xml = $twitter-getPublicTimeline(xml);
  *
  * Methods:
  *  getPublicTimeline($format [, $since_id])
  *  getFriendsTimeline($format [, $id [, $since ]])
  *  getUserTimeline($format [, $id [, $count [, $since ]]])
  *  showStatus($format, $id)
  *  updateStatus($status)
  *  destroyStatus($format, $id)
  *  getReplies($format [, $page ])
  *  getFriends($format [, $id ])
  *  getFollowers($format [, $lite ])
  *  getFeatured($format)
  *  showUser($format [, $id [, $email ]])
  *  getMessages($format [, $since [, $since_id [, $page ]]])
  *  getSentMessages($format [, $since [, $since_id [, $page ]]])
  *  newMessage($format, $user, $text)
  *  destroyMessage($format, $id)
  *  createFriendship($format, $id)
  *  destroyFriendship($format, $id)
  *  verifyCredentials([$format])
  *  endSession()
  *  getArchive($format [, $page ])
  *  getFavorites($format [, $id [, $page ]])
  *  createFavorite($format, $id)
  *  destroyFavorite($format, $id)
  *  lastStatusCode()
  *  lastAPICall()
  */

 class Twitter {
        /* Username:password format string */
        private $credentials;

        /* Contains the last HTTP status code returned */
        private $http_status;

        /* Contains the last API call */
        private $last_api_call;

        /* Twitter class constructor */
        function Twitter($username, $password) {
                $this-credentials = sprintf(%s:%s, $username, $password);
        }

        function getPublicTimeline($format, $since_id = 0) {
                $api_call = 
 sprintf(http://twitter.com/statuses/public_timeline.
 %s, $format);
                if ($since_id  0) {
                        $api_call .= sprintf(?since_id=%d, $since_id);
                }
                return $this-APICall($api_call);
        }

        function getFriendsTimeline($format, $id = NULL, $since = NULL) {
                if ($id != NULL) {
                        $api_call = 
 sprintf(http://twitter.com/statuses/friends_timeline/
 %s.%s, $id, $format);
                }
                else {
                        $api_call = 
 sprintf(http://twitter.com/statuses/friends_timeline.
 %s, $format);
                }
                if ($since != NULL) {
                        $api_call .= sprintf(?since=%s, urlencode($since));
                }
                return $this-APICall($api_call, true);
        }

        function getUserTimeline($format, $id = NULL, $count = 20, $since =
 NULL) {
                if ($id != NULL) {
                        $api_call = 
 sprintf(http://twitter.com/statuses/user_timeline/%s.
 %s, $id, $format);
                }
                else {
                        $api_call = 
 sprintf(http://twitter.com/statuses/user_timeline.%s;,
 $format);
                }
                if ($count != 20) {
                        $api_call .= sprintf(?count=%d, $count);
                }
                if ($since != NULL) {
                        $api_call .= sprintf(%ssince=%s, (strpos($api_call, 
 ?count=)
 === false) ? ? : , urlencode($since));
                }
                return $this-APICall($api_call, true);
        }

        function showStatus($format, $id) {
                $api_call = sprintf(http://twitter.com/statuses/show/%d.%s;, 
 $id,
 $format);
                return $this-APICall($api_call);
        }

        function updateStatus($status) {
                $status = urlencode(stripslashes(urldecode($status)));
                $api_call = 
 sprintf(http://twitter.com/statuses/update.xml?status=
 %s, $status);
                return $this-APICall($api_call, true, true);
        }

        function getReplies($format, $page = 0) {
                $api_call = sprintf(http://twitter.com/statuses/replies.%s;,
 $format);
                if ($page) {
                        $api_call .= sprintf(?page=%d, $page);
                }
                return $this-APICall($api_call, true

[twitter-dev] Re: what kind of cache does twitter is using?

2009-09-01 Thread Andrew Badera

The caching they use has evolved over the past couple years. There
have been various allusions to and brief explanations of, often along
the lines of why something on the front-end is acting or looking
funky.

Starling has been mentioned several times. It works over Memcached,
and is native to Twitter:

http://highscalability.com/scaling-twitter-making-twitter-1-percent-faster

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Tue, Sep 1, 2009 at 3:12 AM, mel_06melchor...@yahoo.com wrote:

 i know the question is just a bit far from the question that should be
 ask from this group but i really want to know what kind of cache does
 the twitter is using?

 and maybe some few explanation 'bout this kind og caching?

 thanks!



[twitter-dev] Re: Redirect URL with own GET Parameters ?

2009-09-01 Thread Andrew Badera

On Tue, Sep 1, 2009 at 12:35 PM, solar22bubig...@yahoo.de wrote:

 Hello,
 it is possible to do this:
 My application use the follow request link:
 https://twitter.com/oauth/authorize?oauth_token=MY_TOKENarticleid=%ID
 it is possible that twitter redirect to page.php?id=%ID
 ?

 thanks.


Using oauth_callback you can append your own querystring value to the
callback, no problem! Just make sure you URL encode the entire
callback value.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: api user rate limit from different ip addresses

2009-09-01 Thread Andrew Badera

On Tue, Sep 1, 2009 at 2:48 PM, Jim Renkeljames.ren...@gmail.com wrote:

 If the API requests come from your server when users view your page,
 then, yes, your users will be collectively limited to 150
 unauthenticated GET requests per hour, unless your site is white-listed.

 If your site was white-listed, it would get 20,000 unauthenticated GET
 requests per hour. You also authenticate the requests using multiple
 accounts and get 150 (or 20,000, if white-listed) API GET requests per
 hour for each account used for authentication.

 If the API requests come from your users' computers, then each will get
 150 API GET requests per hour.

jQuery should be making calls from each individual client, not the
server app  therefore, the request limit burden should be spread
out.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Redirect URL with own GET Parameters ?

2009-09-01 Thread Andrew Badera

... you'll want to URL encode everything after oauth_callback of course.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Tue, Sep 1, 2009 at 2:56 PM, Sandesh
Devarajusandesh.devar...@gmail.com wrote:

 The way to accomplish this is by setting the articleid parameter to
 the oauth_callback URL when obtaining the request token[1].

 http://twitter.com/oauth/request_token?...oauth_callback=http://yourdomain.com/methodarticleid=foo;...

 Note that the parameter value should be encoded as per [2] Section 5.1.

 The authorization callback from Twitter would then include the
 articleid as per [2] Section 6.2.3

 http://yourdomain.com/methodarticleid=foooauth_token...

 [1] http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-request_token
 [2] http://oauth.net/core/1.0a

 On Tue, Sep 1, 2009 at 12:35 PM, solar22bubig...@yahoo.de wrote:

 Hello,
 it is possible to do this:
 My application use the follow request link:
 https://twitter.com/oauth/authorize?oauth_token=MY_TOKENarticleid=%ID
 it is possible that twitter redirect to page.php?id=%ID
 ?

 thanks.




[twitter-dev] Re: Can you speak in plain english

2009-09-03 Thread Andrew Badera

On Thu, Sep 3, 2009 at 5:29 AM, Nicholas Granadongran...@gmail.com wrote:
 PJB ... really? There really no need to flame-bait this thread. I think
 Scott put it perfectly.

 Cheers,
 Nick

There was even less need for you to chide him for it. What
contribution did you, a list user, just add by criticizing another
user of a public list? Let it die, if the matter bothers you, and
leave the rest up to the officially appointed, Twitter-employed types.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Can you speak in plain english

2009-09-03 Thread Andrew Badera

On Thu, Sep 3, 2009 at 6:00 AM, PJBpjbmancun...@gmail.com wrote:


 I think the UK Telegraph (?) article yesterday put it perfectly... the
 problem is two-fold: Twitter itself is pretty insecure (unfixed
 javascript hacks, etc), and third-party apps are even LESS secure (non-
 encrypted db storage of Twitter authentication on mysql injectable
 hosts, etc etc).

 My general feeling is that Twitter is going to throw baby out with the
 bathwater in a desperate attempt to shore up its security.  This no
 doubt will mean that the good apps along with the lousy apps will be
 thrown to the curb (i.e., blacklisted, or whatever).

 For those of us relying on Twitter app development as something more
 than just a hobby, or as something more than a chance to speak
 computer language, we should really foster a sense of self-
 regulation that DISCOURAGES the average non-programmer from using
 Twitter's API.

 Programming secure, effective, and useful Twitter apps IS VERY HARD.
 If you don't have expensive programming and db experience, STAY AWAY!
 This app's NOT for you!


PJB,

Unfortunately, this is the inevitable scenario in any technology. At
first it's the innovators, enthusiasts and true hackers. Then it's the
still-savvy early adopters. Once you go mainstream, or even _start_ to
go mainstream, you're going to get the uneducated/unlearned types who
expect the world on a silver platter, for free. Plz send me teh codez!

There's nothing you, I or probably anyone can do to change that. It's
human nature. We can simply try our best to ignore the idiots, help
those with potential and a willingness to help themselves, and
otherwise simply focus on making our own work the best it can be.

This is a lesson I've tried to learn, and failed, many times over,
over the years ...

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Andrew Badera

Sometimes.


On Thu, Sep 3, 2009 at 6:45 PM, Scott Hanedatalkli...@newgeo.com wrote:

 Yes.

 On Sep 3, 2009, at 9:41 AM, ka...@sbcglobal.net wrote:

 Is twitter a fad or worth development efforts?

 --
 Scott * If you contact me off list replace talklists@ with scott@ *




[twitter-dev] Re: screen_name param for /statuses/mentions and/or xml format for search results?

2009-09-04 Thread Andrew Badera

ATOM _is_ XML ... not sure what the problem is?

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Fri, Sep 4, 2009 at 6:18 PM, Hosshoss...@gmail.com wrote:

 Background...

 I'm attempting to build an app that can display a conversation graph
 of all the tweets to/from people in a small group ... the use case
 being a set of friends, or coworkers in an office all wanting a quick
 view of the various public tweets and public reply tweets posted by
 other people in the group -- along with the full context of those
 tweets: tweets they are in reply to, or replies to those tweets, even
 if they are from people not included in the group.

 Current Approach...

 The /statuses/user_status REST API makes it trivial to get public
 tweets *by* a set of known individuals and using the XML format i can
 immediately inspect the in_reply_to_status_id element to see if
 there is a parent status i should fetch using /statuses/show to
 fetch the previous tweets for context context on the conversation --
 even those tweets were from outside users not in the group.  The
 next step is to find public statuses posted *from* outside users in
 reply to tweets by users who *are*in my set.  The to param of the /
 search API makes it fairly easy to find a super set of these messages,
 but there's just one catch...

 The Problem...

 The /search API only supports the atom and json formats; since it
 doesn't support the xml format option, the only way (i can see) to
 determine if an item returned by /search is an actual reply to a
 previous tweet (and not just a shout out) is to fetch each individual
 tweet using the /status/show API ... but that feels like a very
 hackish solution, requiring numerous REST fetches of tweets (one at a
 time using the /statuses/show) just to backfill one additional
 property.

 In an ideal world the /search API would support the xml format so
 in_reply_to_status_id was included in the response, and things that
 weren't a reply could be easily excluded.  (even better: if there was
 an optional param on the /search API that would allow you to restrict
 the results to only tweets that were replies)

 Alternately: it would be really great if the /statuses/mentions API
 (which does support the xml format) didn't require authentication, and
 allowed clients to pass a screen_name param to fetch public tweets
 mentioning a specific user.

 The Question...

 Obviously, my comments above constitute a suggested change to the
 existing APIs, but does anyone see any solutions to the problem i
 describe that would be less kludgy then using the /statuses/show API
 to fetch *every* individual item returned by the /search API in order
 to get the in_reply_to_status_id ?







<    1   2   3   4   >