LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Jun 2009 21:27:32 -0400
Reply-To:     Joe Whitehurst <joewhitehurst@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Joe Whitehurst <joewhitehurst@GMAIL.COM>
Subject:      Re: As If and Calling Twitter from SAS
Comments: To: Savian <savian.net@gmail.com>
In-Reply-To:  <129a50e0906031736k43178d55qc3439dd1b1de2656@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Alan, I have downloaded, installed and watched a movie about Fiddler2. I'm very impressed with what I can understand so far. I do have a question that I think is best posed on SAS-L because I think many others may be interested in this tool if they knew more about it. I don't immediately see how to get Fiddler2 to monitor HTTP requests submitted directly from SAS without any browser involvement. I assume it is possible, but I have not yet read enough of the docs to see how its done. Could you point me in the right direction?

Joe

On Wed, Jun 3, 2009 at 8:36 PM, Joe Whitehurst <joewhitehurst@gmail.com>wrote:

> Alan, > I knew I was missing something! I will get Fiddler right away! Thanks. > > Joe > > > On Wed, Jun 3, 2009 at 8:33 PM, Savian <savian.net@gmail.com> wrote: > >> On Jun 3, 5:36 pm, joewhitehu...@GMAIL.COM (Joe Whitehurst) wrote: >> > I was watching the French Open, in particular, the women's match >> between >> > Serena. Williams and Svetlana Kuznetsova, and was really struck by the >> wild >> > shrieks each screamed each time they hit the ball. As a Kellian >> psychologist >> > and follower of Hans Vaihinger--the originator of Philosophie des Als Ob >> > (Philosophy of As If) that so influenced Kellyhttp:// >> en.wikipedia.org/wiki/Hans_Vaihinger)--Igot to wondering what >> > baseball might be like if baseball players played "as if" they were >> women >> > tennis players. Everytime a pitcher hurled a pitch he would scream a >> shreik, >> > the batter would scream a shreik eveytime he swung at a pitch, the >> catcher >> > would scream a shreik evey time he caught the ball or tried to peg a >> runner >> > stealing a base, a base runner would scream a shreik evey time he >> stomped a >> > base or home plate, a fielder would scream a shreik evey time he caught >> a >> > ball or threw it to another player and so on. What a different game it >> would >> > be.. And why not? And don't get me started on what would happen in the >> > workplace if SAS programmers programmed "as if" they were women tennis >> > players. >> > Now on to another topic. Have you tried calling Twitter from SAS? >> > filename twtIn "\\sas\status_update.txt"; >> > filename twtOut temp; >> > %let proxyhst="myproxy host" >> > %let twUser="mytwitterusername"; >> > %let twPass="mytwitterpassword"; >> > >> > proc http >> > in=twtIn >> > out=twtOut >> > url="http://twitter.com/statuses/update.xml" >> > method="post" >> > proxyhost=&proxyhst >> > proxyport=80 >> > webusername=&twUser >> > webpassword=&twPass; >> > run; >> > I have but could not get it to work. I have a working userid and >> password >> > but I keep getiing an HTTP 401 error. Can you get this to work? >> >> Joe, >> >> I have not (and probably won't unless I need to). However, look at >> REST services,Twitter, and .NET to see if it can lend a hand. >> >> Here's a video that might shed some light: >> >> >> http://www.pluralsight.com/main/screencasts/screencast.aspx?id=httpclient-consuming-twitter-in-under-3-minutes >> >> I work with REST services but I use C# for the consumption side. >> Nevertheless, it might shed some clues on which parm you are missing. >> Another suggestion is to download and run Fiddler and see what SAS is >> passing to Twitter and use Fiddler to test various parms until you >> have it operational. When in doubt, use Fiddler and manually make the >> request until you determine what parms need to go out in SAS. >> >> Fiddler is a MUST HAVE utility if you are working with the web. >> >> Alan >> > >


Back to: Top of message | Previous page | Main SAS-L page