<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
	<title>YDN .NET Forum RSS</title>
	<description><![CDATA[RSS stream for YDN's .NET forum]]></description>
	<link>http://developer.yahoo.net/forum/index.php</link>
	<pubDate>Tue, 09 Feb 2010 19:52:11 -0800</pubDate>
	<ttl>99</ttl>
	<item>
		<title>Yahoo weather XML parsing problems when forecasting C#</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4459</link>
		<description><![CDATA[I've currently written an XML parser to pull the yahoo weather into an intraweb application I'm developing for the company I work for. Weather effects what we do so I thought it would be a good idea to do this. My problems is when I try and pull this in, everything works fine. The 5-Day forecasting on the other hand does not. I'm only able to pull the very next day, and nothing further past that. Any idea what the problem can be. I know that it's on a 0 sum and the [0] attitude pulls current day, then [1] pulls the next day. But for some reason [2] and so are do not pull in advance I keep getting that it's not a reference to an object.<br /><br />Here is my code:<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->mlDocument weatherDocknox = new XmlDocument&#40;&#41;;<br />        weatherDocknox.Load&#40;&#34;http&#58;//xml.weather.yahoo.com/forecastrss?p=USTN0268&u=f&#34;&#41;;<br /><br />        XmlNodeList wtitleknox = weatherDocknox.GetElementsByTagName&#40;&#34;title&#34;&#41;;<br />        XmlNodeList wconditionknox = weatherDocknox.GetElementsByTagName&#40;&#34;yweather&#58;condition&#34;&#41;;<br />        XmlNodeList wforecastknox = weatherDocknox.GetElementsByTagName&#40;&#34;yweather&#58;forecast&#34;&#41;;<br />        XmlNodeList wtempknox = weatherDocknox.GetElementsByTagName&#40;&#34;temp&#34;&#41;;<br />        XmlNodeList watmosphereknox = weatherDocknox.GetElementsByTagName&#40;&#34;yweather&#58;atmosphere&#34;&#41;;<br />        XmlNodeList wastronomyknox = weatherDocknox.GetElementsByTagName&#40;&#34;yweather&#58;astronomy&#34;&#41;;<br />        XmlNodeList wwindknox = weatherDocknox.GetElementsByTagName&#40;&#34;yweather&#58;wind&#34;&#41;;<br /><br />        double tempValue = XmlConvert.ToDouble&#40;wconditionknox&#91;0&#93;.Attributes&#91;&#34;temp&#34;&#93;.Value&#41;;<br /><br />        divtitleknox.InnerHtml = &#34;&#60;font size=4&#62;&#34; + wtitleknox&#91;2&#93;.InnerText.Replace&#40;&#34;Conditions for &#34;, &#34;&#34;&#41; + &#34;&#60;/font&#62;&#34;;<br />        divconditionsknox.InnerHtml = &#34;&#60;b&#62;&#60;u&#62;Current Conditions&#60;/u&#62;&#60;/b&#62; &#60;br /&#62;&#34; + &#34;&#60;font size=4&#62;&#34; + wconditionknox&#91;0&#93;.Attributes&#91;&#34;text&#34;&#93;.Value + &#34; &#60;br/&#62;&#60;/font&#62; &#34; +<br />            &#34;&#60;font size='10'&#62;&#60;span style=&#92;&#34;color&#58; &#34; + &#40;tempValue &#60;= 32 ? &#34;#15C4ED&#34; &#58; &#34;#81DEF5&#34;&#41; + &#34;&#92;&#34;&#62;&#34; + tempValue + &#34;&deg F&#60;/span&#62;&#60;/font&#62;&#60;br/&#62;&#34; +<br />            &#34; &#60;b&#62;High&#60;/b&#62;&#58; &#34; + wforecastknox&#91;0&#93;.Attributes&#91;&#34;high&#34;&#93;.Value + &#34;&deg F&#60;br /&#62;&#34; +<br />            &#34; &#60;b&#62;Low&#60;/b&#62;&#58; &#34; + wforecastknox&#91;0&#93;.Attributes&#91;&#34;low&#34;&#93;.Value + &#34;&deg F&#34;;<br /><br />        string imageDiv = divimageknox.InnerHtml = &#34;&#60;img src=&#92;&#34;http&#58;//l.yimg.com/a/i/us/nws/weather/gr/&#34; + wconditionknox&#91;0&#93;.Attributes&#91;&#34;code&#34;&#93;.Value + &#34;d.png&#92;&#34;&#62;&#34;;<br /><br />        divatmosphereknox.InnerHtml = &#34;&#60;b&#62;Humidity&#60;/b&#62;&#58; &#34; + watmosphereknox&#91;0&#93;.Attributes&#91;&#34;humidity&#34;&#93;.Value + &#34;%&#60;br /&#62;&#60;b&#62;Visiblity&#60;/b&#62;&#58; &#34; + watmosphereknox&#91;0&#93;.Attributes&#91;&#34;visibility&#34;&#93;.Value +<br />            &#34; mi&#60;br /&#62;&#60;b&#62;Wind&#60;/b&#62;&#58; &#34; + wwindknox&#91;0&#93;.Attributes&#91;&#34;speed&#34;&#93;.Value + &#34; mph&#34;;<br />        divastronomyknox.InnerHtml = &#34;&#60;b&#62;Sunrise&#60;/b&#62;&#58; &#34; + wastronomyknox&#91;0&#93;.Attributes&#91;&#34;sunrise&#34;&#93;.Value + &#34;&#60;br /&#62;&#60;b&#62;Sunset&#60;/b&#62;&#58; &#34; + wastronomyknox&#91;0&#93;.Attributes&#91;&#34;sunset&#34;&#93;.Value;<br /><br />        //Day 1<br />        divforecastknox.InnerHtml = wforecastknox&#91;1&#93;.Attributes&#91;&#34;day&#34;&#93;.Value + &#34;&#60;br&#62; &#34; +<br />            wforecastknox&#91;1&#93;.Attributes&#91;&#34;date&#34;&#93;.Value + &#34;&#60;br /&#62;&#34; +<br />            &#34;&#60;img src=&#92;&#34;http&#58;//l.yimg.com/us.yimg.com/i/us/we/52/&#34; + wforecastknox&#91;1&#93;.Attributes&#91;&#34;code&#34;&#93;.Value + &#34;.gif&#92;&#34;&#62; &#60;br/&#62;&#34; +<br />            &#34; &#60;b&#62;High&#60;/b&#62;&#58; &#34; + wforecastknox&#91;1&#93;.Attributes&#91;&#34;high&#34;&#93;.Value + &#34;&deg F&#60;br /&#62;&#34; +<br />            &#34; &#60;b&#62;Low&#60;/b&#62;&#58; &#34; + wforecastknox&#91;1&#93;.Attributes&#91;&#34;low&#34;&#93;.Value + &#34;&deg F&#34;;<br />        //Day 2<br />        divforecast2knox.InnerHtml = wforecastknox&#91;0&#93;.Attributes&#91;&#34;day&#34;&#93;.Value + &#34;&#60;br&#62; &#34; +<br />            wforecastknox&#91;0&#93;.Attributes&#91;&#34;date&#34;&#93;.Value + &#34;&#60;br /&#62;&#34; +<br />            &#34;&#60;img src=&#92;&#34;http&#58;//l.yimg.com/us.yimg.com/i/us/we/52/&#34; + wforecastknox&#91;0&#93;.Attributes&#91;&#34;code&#34;&#93;.Value + &#34;.gif&#92;&#34;&#62; &#60;br/&#62;&#34; +<br />            &#34; &#60;b&#62;High&#60;/b&#62;&#58; &#34; + wforecastknox&#91;0&#93;.Attributes&#91;&#34;high&#34;&#93;.Value + &#34;&deg F&#60;br /&#62;&#34; +<br />            &#34; &#60;b&#62;Low&#60;/b&#62;&#58; &#34; + wforecastknox&#91;0&#93;.Attributes&#91;&#34;low&#34;&#93;.Value + &#34;&deg F&#34;;<!--c2--></code></pre></div><!--ec2-->]]></description>
		<pubDate>Thu, 04 Feb 2010 07:52:10 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4459</guid>
	</item>
	<item>
		<title>news search based on location</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4379</link>
		<description><![CDATA[HI,<br /><br />I am using Yahoo Search API to get news based on location entered. It provides me option to specify the language and region. but it also required one keyword to search. I dont want to search for any particular keyword. I want to all news of selected region.<br /><br />Can one please help me on this.<br /><br />Regards.<br />BN]]></description>
		<pubDate>Thu, 28 Jan 2010 22:59:11 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4379</guid>
	</item>
	<item>
		<title>news search based on location</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4379</link>
		<description><![CDATA[Please ask your question in the <i>BOSS community</i>:  <a href="http://tech.groups.yahoo.com/group/ysearchboss/" rel="nofollow" target="ext">http://tech.groups.yahoo.com/group/ysearchboss/</a>  <br /><br />They'll be able to help <img src="http://developer.yahoo.net/forum/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Cheers!<br />Robyn Tippins <br /><a href="http://twitter.com/duzins" rel="nofollow" target="ext">@duzins on Twitter</a><br />Community Manager, YDN<br /><br /><div align='center'><a href="http://twitter.com/ydn" rel="nofollow" target="ext"><i>Follow YDN on Twitter</i></a></div>]]></description>
		<pubDate>Thu, 28 Jan 2010 22:59:11 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4379</guid>
	</item>
	<item>
		<title>How would you design a caching architecture that minimizes the trip to the web service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3600</link>
		<description>Hi Every One i have a question please , Assume that you are developing a web application that shows currency exchange rates for a bank web site. The rates are stored in an IBM Mainframe in the bank and rates are available through web services. Each time a user accesses the rates page, the page makes a request to the mainframe. This generates too much load on the mainframe. Especially most of the time the rates delivered is the same. How would you design a caching architecture that minimizes the trip to the web service. But at the same time rates may fluctuate within the day and if rates have changed the rates web page should not display the cached values but make another request to the web service. How would you design such a caching architecture and make sure it is invalidated on rate changes?</description>
		<pubDate>Sat, 28 Nov 2009 07:18:49 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3600</guid>
	</item>
	<item>
		<title>How would you design a caching architecture that minimizes the trip to the web service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3600</link>
		<description><![CDATA[Since your currency rates may change intra-day, on the mainframe side I would look at developing a mainframe app that notifies a .NET-based currency caching app whenever a currency rate has changed.  The easiest approach would be for the mainframe to update a database table that your .NET-based caching app monitors for changes, but your cache will be out of date based on the database monitor interval time you have specified in the caching app.<br /><br />A better approach would use whatever integration technology is available on the mainframe and have it notify your .NET-based cache app that an currency rate has changed.  Your .NET-based currency caching app would then update its cache by reading the mainframe data.  Your currency rate web service would be programmed against the .NET-based currency rate cache.  This approach would ensure the cached currency rates are always up to date.<br /><br />Good luck!]]></description>
		<pubDate>Sat, 28 Nov 2009 07:18:49 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3600</guid>
	</item>
	<item>
		<title>Yahoo Maps and contrain resize</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3510</link>
		<description><![CDATA[I'm trying to resolve a problem where my yahoo map disappears on page load.  The master page runs a script to resize the content div so only that portion of the page will display a scrollbar.  This give us a static header that doesn't move while the rest of the page can scroll.  The problem I am seeing is that the map is drawn, but as soon as the resize script runs the map disappears.<br /><br />I have tried redrawing the map with drawZoomAndCenter and resizeTo, but no luck.  The site uses master pages and updatepanels.  Has anyone else run into this problem or have any ideas on a workaround?]]></description>
		<pubDate>Thu, 19 Nov 2009 12:41:50 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3510</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description><![CDATA[Hi<br /><br />Did anyone know where can i download Yahoo API ?]]></description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description><![CDATA[Sorry!!<br />I mean Yahoo Financial API]]></description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description><![CDATA[There's no API, but here's the landing page for the RSS feed.  <a href="http://developer.yahoo.com/finance/" rel="nofollow" target="ext">http://developer.yahoo.com/finance/</a><br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description><![CDATA[<!--quoteo(post=9463:date=Nov 12 2009, 03&#58;53 PM:name=duzins)--><div class='quote'><div class='quotetop'>QUOTE <cite>(duzins &#064; Nov 12 2009, 03&#58;53 PM) <a href="index.php?act=findpost&pid=9463"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->There's no API, but here's the landing page for the RSS feed.<br /><br />Robyn Tippins<br />Community Manager, YDN<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi,<br />In my web site I am using "http://finance.yahoo.com/d/quotes.csv?{0}&f=sl1d1t1ba&e=.csv"; as a web service to connect and get the rate exchange. but it returns the real time rate.<br />I was wondering that is there any way that I can get the max rate of the day before instead of the current date. <br /><br />Thanks in advance]]></description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description>any idea?????</description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Yahoo Financial API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3386</link>
		<description><![CDATA[<!--quoteo(post=9646:date=Nov 17 2009, 01&#58;33 PM:name=Maryam)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Maryam &#064; Nov 17 2009, 01&#58;33 PM) <a href="index.php?act=findpost&pid=9646"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->any idea?????<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br /><a href="http://www.gummy-stuff.org/Yahoo-data.htm" rel="nofollow" target="ext">http://www.gummy-stuff.org/Yahoo-data.htm</a>]]></description>
		<pubDate>Thu, 12 Nov 2009 09:24:14 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3386</guid>
	</item>
	<item>
		<title>Return a dataset from server side with asp.net and vb.net</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2380</link>
		<description><![CDATA[Hi.<br />I am  a new  web developer and i am trying to return a dataset from server side,  if possible do it wit asp.net and vb.net something like ajaxpro.<br />I whish to know about it.<br /><br /><!--quoteo(post=479:date=Sep 30 2008, 02&#58;00 PM:name=Duzins)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Duzins &#064; Sep 30 2008, 02&#58;00 PM) <a href="index.php?act=findpost&pid=479"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->If you are using Y!APIs and .NET together, here's the place to come to for support and to show off your work!<br /><br />Robyn Tippins<br />Community Manager, YDN<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 10 Aug 2009 11:07:43 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2380</guid>
	</item>
	<item>
		<title>TabView Problem</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2371</link>
		<description>I was hoping someone could point me where in the JS code to look for enabling content in a 6th tab</description>
		<pubDate>Mon, 10 Aug 2009 07:16:07 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2371</guid>
	</item>
	<item>
		<title>parsing hash tables in json represantation with javascript</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2269</link>
		<description><![CDATA[Hi,<br /><br />Im having problem to parse json represantation of hash table. I made hash table in C# and then return that to client side:<br /><br />string ICallbackEventHandler.GetCallbackResult()<br />    {<br />        Hashtable names = new Hashtable();<br />        names.Add(1,"Dave");<br />        return JsonConvert.ExportToString(names);<br />    }<br /> <br />On the client side I have this peace of code:<br /><br />                  // Dump the JSON text response from the server.<br /><br />                  document.forms[0].JSONResponse.value = arg; //arg is json presentatiopn of hash table<br /><br />                  // Parse JSON text returned from callback<br /><br />                  var categoryProducts = parseJSON("(" + arg + ")");<br /><br />first part of the code works....it shows json structure, but parsing doesnt work....its not possible to show categoryProducts values<br /><br />thanks]]></description>
		<pubDate>Thu, 30 Jul 2009 05:53:57 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2269</guid>
	</item>
	<item>
		<title>BBAuth</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2262</link>
		<description><![CDATA[Hi,<br /><br />I am having a problem with my BBAuth... <br /><br />            Yahoo.Authentication auth = new Yahoo.Authentication(ConfigurationManager.AppSettings["yahoo_appid"], ConfigurationManager.AppSettings["yahoo_secret"]);<br />            Response.Write(auth.GetUserLogOnAddress().ToString());<br />            //Response.Redirect(auth.GetUserLogOnAddress().ToString());<br /><br />If I run the above code I can copy and paste the string into a new browser window and everything works fine... BUT if I run this code: <br /><br />            Yahoo.Authentication auth = new Yahoo.Authentication(ConfigurationManager.AppSettings["yahoo_appid"], ConfigurationManager.AppSettings["yahoo_secret"]);<br />            //Response.Write(auth.GetUserLogOnAddress().ToString());<br />            Response.Redirect(auth.GetUserLogOnAddress().ToString());<br /><br />I get an error page saying: Sorry! This service is currently unavailable.<br />We have encountered an error while processing your request. Usually, this occurs if your session is inactive for too long or if the request is invalid. Please try your request again.<br /><br />Please help, this thing is driving me nuts]]></description>
		<pubDate>Wed, 29 Jul 2009 19:22:52 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2262</guid>
	</item>
	<item>
		<title>auth.UpdateCredentials(); error</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1846</link>
		<description><![CDATA[Guys,<br /><br />Anyone please help me? i cant get it working. <br /><br />i downloaded <a href="http://developer.yahoo.com/mail/code/mail_cs.zip" rel="nofollow" target="ext">http://developer.yahoo.com/mail/code/mail_cs.zip</a><br /><br />everything is working fine, i also get the auth tocken, but when provide all the values in the code then it gives error on  <br />auth.UpdateCredentials();<br /><br />I tried everything.  nothing seems to be working. please HELP.<br /><br />One another person also is having the same problem, YAHOO please provide support.<br /><br />Thanks,<br />Nish.]]></description>
		<pubDate>Mon, 15 Jun 2009 18:32:04 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1846</guid>
	</item>
	<item>
		<title>Add In Deployment with YAHOO</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1801</link>
		<description><![CDATA[It is my objective to add add In into My Yahoo.<br /><br />This addin will have some UI pages.  Is it possible to deploy it within Yahoo like we can host css , js & resources. I don't want to deploy on third server.<br /><br />Zahid Nawaz]]></description>
		<pubDate>Wed, 10 Jun 2009 06:40:45 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1801</guid>
	</item>
	<item>
		<title>Add In Deployment with YAHOO</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1801</link>
		<description>Out of YAHOO would be nothing mean no server for pages deployment.</description>
		<pubDate>Wed, 10 Jun 2009 06:40:45 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1801</guid>
	</item>
	<item>
		<title>Travel WebService</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1522</link>
		<description>I am trying to get the Trip Search to work in ASP.NET using VB.  Any one have a URL to add the web reference to my project?</description>
		<pubDate>Fri, 15 May 2009 13:39:49 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1522</guid>
	</item>
	<item>
		<title>Travel WebService</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1522</link>
		<description><![CDATA[<!--quoteo(post=4562:date=May 15 2009, 12&#58;39 PM:name=nationaltraveltest)--><div class='quote'><div class='quotetop'>QUOTE <cite>(nationaltraveltest &#064; May 15 2009, 12&#58;39 PM) <a href="index.php?act=findpost&pid=4562"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I am trying to get the Trip Search to work in ASP.NET using VB.  Any one have a URL to add the web reference to my project?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br />Try using C# instead of VB. You will get several coding samples which you can easily integrate into your Travel Websit]]></description>
		<pubDate>Fri, 15 May 2009 13:39:49 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1522</guid>
	</item>
	<item>
		<title>Travel WebService</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1522</link>
		<description><![CDATA[<!--quoteo(post=4562:date=May 15 2009, 12&#58;39 PM:name=nationaltraveltest)--><div class='quote'><div class='quotetop'>QUOTE <cite>(nationaltraveltest &#064; May 15 2009, 12&#58;39 PM) <a href="index.php?act=findpost&pid=4562"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I am trying to get the Trip Search to work in ASP.NET using VB.  Any one have a URL to add the web reference to my project? <!--coloro:#FAFCFE--><span style="color:#FAFCFE"><!--/coloro-->Travel Home Vacation - <a href="http://www.reciplocation.com" rel="nofollow" target="ext"><!--coloro:#FAFCFE--><span style="color:#FAFCFE"><!--/coloro--><b><u>Travel Home Exchange</u></b><!--colorc--></span><!--/colorc--></a> - House Exchange Holidays<!--colorc--></span><!--/colorc--><!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Most of the Travel websites are using .NET these days. It looks like .NET is quite popular among website developers for travel websites.]]></description>
		<pubDate>Fri, 15 May 2009 13:39:49 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1522</guid>
	</item>
	<item>
		<title>Getting remote server returned an error: (404) Not Found</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1087</link>
		<description><![CDATA[Hi everyone,<br /><br />I am getting this (System.Net.WebException: The remote server returned an error: (404) Not Found.) error while trying to access the <br /><br /><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->DataSet ds = auth.GetAuthenticatedServiceDataSet(new System.Uri(address.ToString()));<!--colorc--></span><!--/colorc--> method.<br /><br />It's throwing exception at<br /><br />public System.Data.DataSet GetAuthenticatedServiceDataSet(System.Uri wsAddress)<br />{<br />System.Data.DataSet result = null;<br /><br />using (System.IO.Stream dataStream = GetAuthenticatedServiceStream(wsAddress))<br />{<br />// Read result into a dataset<br /><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->result = new System.Data.DataSet(); <!--colorc--></span><!--/colorc--><br />result.Locale = System.Globalization.CultureInfo.InvariantCulture;<br />result.ReadXml(dataStream);<br />}<br />return result;<br /><br />}<br /><br />Surprisingly when I call the auth.GetAuthenticatedServiceString(new System.Uri(address.ToString())) function it works for me and give me the output as a string. I am unable to figure out what's going wrong. But when I try to read that string the XML is not in the correct format and I am getting exceptions. I tried every alternate way by calling different methods but it didn't work for me. Is there anything specific thing which I need to set in my code or some mistake which I am doing. Here is my code..<br /><br />        Yahoo.Authentication auth = Session["Auth"] as Yahoo.Authentication;<br /><br />        if (auth != null)<br />        {<br />            string url = "http://address.yahooapis.com/v1/searchContacts?format=xml";<br />            Uri address = new Uri(url);<br /><br />            <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->DataSet ds = auth.GetAuthenticatedServiceDataSet(new System.Uri(address.ToString()));<!--colorc--></span><!--/colorc--><br />            // This line throws the error for me.... and gives the 404 error...  <img src="http://developer.yahoo.net/forum/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />Your help will be really appreciated. Thanks in advance.<br /><br />Sumit]]></description>
		<pubDate>Tue, 31 Mar 2009 22:17:20 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1087</guid>
	</item>
	<item>
		<title>Getting remote server returned an error: (404) Not Found</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1087</link>
		<description><![CDATA[Sumit,<br /><br />I already replied in the other thread, but if you are getting a 404, I highly recommend using Fiddler (<a href="http://www.fiddler2.com" rel="nofollow" target="ext">http://www.fiddler2.com</a>) to see what address you are really attempting to reach.<br /><br />//Tomi B.]]></description>
		<pubDate>Tue, 31 Mar 2009 22:17:20 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1087</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Hi everyone,<br /><br />I am getting the 403 error when trying to access the contacts from the yahoo address book.<br /><br />Here is my code where I am getting the error<br /><br />        if (Request.QueryString["token"] != null && Request.QueryString["token"].Length &gt; 0)<br />        {<br />            if (auth.IsValidSignedUrl(Request.Url) == true)<br />            {<br />                auth.Token = Request.QueryString["token"];<br />                auth.UpdateCredentials();<br />                //Uri uri1 = new Uri("http://address.yahooapis.com/api/ws/v1/searchContacts");<br />                string url = "http://address.yahooapis.com/v1/searchContacts?format=xml&fields= name,email";<br />                url += "&appid=" + auth.ApplicationId;<br />                url += "&wssid=" + auth.WssId;<br />                Uri address = new Uri(url);                <br /><br />                <b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->DataSet ds = auth.GetAuthenticatedServiceDataSet(address);<!--colorc--></span><!--/colorc--></b><br /><br />I don't know what I am doing wrong here or may be I am missing something. Please let me know. Your help is needed here.<br /><br />Thanks<br />Sumit]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=2905:date=Mar 20 2009, 02&#58;27 AM:name=tribedeveloper)--><div class='quote'><div class='quotetop'>QUOTE <cite>(tribedeveloper &#064; Mar 20 2009, 02&#58;27 AM) <a href="index.php?act=findpost&pid=2905"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I am getting the 403 error when trying to access the contacts from the yahoo address book.<br /><br />Here is my code where I am getting the error<br /><br />&lt;snip&gt;<br />                string url = "http://address.yahooapis.com/v1/searchContacts?format=xml&fields= name,email";<br />                <b>url += "&appid=" + auth.ApplicationId;<br />                url += "&wssid=" + auth.WssId;</b><br />                Uri address = new Uri(url);                <br /><br />                <b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->DataSet ds = auth.GetAuthenticatedServiceDataSet(address);<!--colorc--></span><!--/colorc--></b><br /><br />I don't know what I am doing wrong here or may be I am missing something. Please let me know. Your help is needed here.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi Sumit,<br /><br />It looks like you're appending the application ID and WSS ID to the URL. You don't need to do this when calling GetAuthenticatedServiceDataSet() (or the other Auth methods) as the class will do this for you. Try removing the lines I highlighted in bold above.<br /><br />//Tomi B.]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Hi Tomy,<br /><br />Thank you very much for your help...Now it's working for me. I think I was also doing it the same way but didn't work for me.  then I changed and posted the code]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=2988:date=Mar 25 2009, 12&#58;14 AM:name=tribedeveloper)--><div class='quote'><div class='quotetop'>QUOTE <cite>(tribedeveloper &#064; Mar 25 2009, 12&#58;14 AM) <a href="index.php?act=findpost&pid=2988"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi Tomy,<br /><br />Thank you very much for your help...Now it's working for me. I think I was also doing it the same way but didn't work for me.  then I changed and posted the code<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br /> <img src="http://developer.yahoo.net/forum/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Now I am getting this (System.Net.WebException: The remote server returned an error: (404) Not Found.) error while trying to access the <br /><br />DataSet ds = auth.GetAuthenticatedServiceDataSet(new System.Uri(address.ToString())); method.<br /><br />It's throwing exception at this line in the Authentication.cs<br /><br />        public System.Data.DataSet GetAuthenticatedServiceDataSet(System.Uri wsAddress)<br />        {<br />            System.Data.DataSet result = null;<br /><br />                using (System.IO.Stream dataStream = GetAuthenticatedServiceStream(wsAddress))<br />                {<br />                    // Read result into a dataset<br />                    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->result = new System.Data.DataSet();<!--colorc--></span><!--/colorc-->                    <br />                    result.Locale = System.Globalization.CultureInfo.InvariantCulture;<br />                    result.ReadXml(dataStream);<br />                }<br />                return result;<br /><br />        }<br /><br />Surprisingly when I call the auth.GetAuthenticatedServiceString(new System.Uri(address.ToString())) function it works for me and give me the output as a string. I am unable to figure out what's going wrong.]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=2993:date=Mar 25 2009, 04&#58;53 AM:name=tribedeveloper)--><div class='quote'><div class='quotetop'>QUOTE <cite>(tribedeveloper &#064; Mar 25 2009, 04&#58;53 AM) <a href="index.php?act=findpost&pid=2993"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec--><img src="http://developer.yahoo.net/forum/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Now I am getting this (System.Net.WebException: The remote server returned an error: (404) Not Found.) error while trying to access the<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />If you are getting a 404, I highly recommend using Fiddler (<a href="http://www.fiddler2.com" rel="nofollow" target="ext">http://www.fiddler2.com</a>) to see what address you are really attempting to reach. Of course, I'd also check what "address" contains to begin with (it's a little unclear from the example).<br /><br />You have "auth.GetAuthenticatedServiceString(new System.Uri(address.ToString()))". What is the datatype of address since you are using ToString() on it?<br /><br />//Tomi B.]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Dear all,<br /><br />I have the same problem, getting 403 error<br /><br />Here's my code :<br />Request authentication :<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->    protected void lbImportYahoo_Click&#40;object sender, EventArgs e&#41;<br />    {<br />        string yahooid = ConfigurationSettings.AppSettings&#91;&#34;_app&#34;&#93;;<br />        string yahoosecret = ConfigurationSettings.AppSettings&#91;&#34;_secret&#34;&#93;;<br />        Yahoo.YahooAuthentication auth = new Yahoo.YahooAuthentication&#40;yahooid, yahoosecret&#41;;<br />        string loginAddress = auth.GetUserLogOnAddress&#40;&#41;.ToString&#40;&#41;;<br />        Response.Redirect&#40;loginAddress&#41;;<br />    }<!--c2--></code></pre></div><!--ec2--><br /><br />After request authentication, now trying to retrieve the contacts<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->    protected static string yahooid = ConfigurationSettings.AppSettings&#91;&#34;_app&#34;&#93;;<br />    protected static string yahoosecret = ConfigurationSettings.AppSettings&#91;&#34;_secret&#34;&#93;;<br /><br />    private Yahoo.YahooAuthentication auth = new Yahoo.YahooAuthentication&#40;yahooid, yahoosecret&#41;;<br /><br />    protected void Page_Load&#40;object sender, EventArgs e&#41;<br />    {<br />        if &#40;Request.QueryString&#91;&#34;token&#34;&#93; != null && Request.QueryString&#91;&#34;token&#34;&#93;.Length &#62; 0&#41;<br />        {<br />            if &#40;auth.IsValidSignedUrl&#40;Request.Url&#41; == true&#41;<br />            {<br />                // Given token to Authentication class<br />                auth.Token = Request.QueryString&#91;&#34;token&#34;&#93;;<br /><br />                // TODO&#58; Save the token and its timeout date in a secure persistent store.<br /><br />                // Attempt to retrieve user credentials<br />                auth.UpdateCredentials&#40;&#41;;<br /><br />                if &#40;auth.IsCredentialed == true&#41;<br />                {<br />                    string url = &#34;http&#58;//address.yahooapis.com/v1/searchContacts?format=xml&fields=name,email&#34;;<br />                    System.Data.DataSet dsServices;<br />                    try<br />                    {<br />                        dsServices = auth.GetAuthenticatedServiceDataSet&#40;new System.Uri&#40;url&#41;&#41;;<br />                    }<br />                    catch &#40;Exception ex&#41;<br />                    {<br />                        lblAddress.Text = &#34;token &#58; &#34; + auth.Token + &#34; ID &#58; &#34; + auth.ApplicationId + &#34; cookies &#58; &#34; + auth.Cookies + &#34; wssid &#58; &#34; + auth.WssId;<br />                    }<br />                }<br />            }<br />        }<br />    }<!--c2--></code></pre></div><!--ec2--><br /><br />This is the address that I want to retrieve from <br /><a href="http://address.yahooapis.com/v1/searchContacts?format=xml&fields=name,email&appid=*censored*&WSSID=*censored*" rel="nofollow" target="ext">http://address.yahooapis.com/v1/searchCont...SSID=*censored*</a><br /><br />I'm able to login, but when it's processing the login, I got error in here : dsServices = auth.GetAuthenticatedServiceDataSet(new System.Uri(url));<br /><br />or, to be exact, when it tried to get the response :<br />response = request.GetResponse() as System.Net.HttpWebResponse;<br /><br />Somehow, I still got forbidden error eventhough I got all set (including the token and the cookies<br /><br />Please advice]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[OK, I figured it out. The problem is that the DOCTYPE in the returned data is pointing to an invalid URL. I'll put in a bug report on this.<br /><br />In the meantime, you can work around the issue by not using GetAuthenticatedDataSet(), but using GetAuthenticatedStream() and a custom XmlReader with options set to _not_ use the DTD. I wrote up a short blog post with details and a very short example:<br /><a href="http://bliny.net/blog/post/Using-BBAuth-with-the-Yahoo!-Address-Book.aspx" rel="nofollow" target="ext">http://bliny.net/blog/post/Using-BBAuth-wi...dress-Book.aspx</a><br /><br />//Tomi B.]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Tomi B,<br />     Did you get any solution, or anyone else got any solution. As i have tried you blog example as well, but it is giving me same error.<br /><br />Please help.<br /><br />thanks]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=3947:date=Apr 29 2009, 08&#58;19 AM:name=zish)--><div class='quote'><div class='quotetop'>QUOTE <cite>(zish &#064; Apr 29 2009, 08&#58;19 AM) <a href="index.php?act=findpost&pid=3947"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Tomi B,<br />     Did you get any solution, or anyone else got any solution. As i have tried you blog example as well, but it is giving me same error.<br /><br />Please help.<br /><br />thanks<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Which error are you getting currently, 404 or 403? They are different issues.<br /><br />//Tomi B.]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Hi Sumit,<br /><br />                  Since so many days I am facing problem in login through API. Alway i am getting message as "Invalid (src)/appid". Could you please help me in this. Why I am asking u this because u don't have any problem in login and trying to get contact details. That's why I am asking you.<br /><br />Regards,<br />Bhavani<br /><br /><!--quoteo(post=2905:date=Mar 20 2009, 02&#58;27 AM:name=tribedeveloper)--><div class='quote'><div class='quotetop'>QUOTE <cite>(tribedeveloper &#064; Mar 20 2009, 02&#58;27 AM) <a href="index.php?act=findpost&pid=2905"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi everyone,<br /><br />I am getting the 403 error when trying to access the contacts from the yahoo address book.<br /><br />Here is my code where I am getting the error<br /><br />        if (Request.QueryString["token"] != null && Request.QueryString["token"].Length &gt; 0)<br />        {<br />            if (auth.IsValidSignedUrl(Request.Url) == true)<br />            {<br />                auth.Token = Request.QueryString["token"];<br />                auth.UpdateCredentials();<br />                //Uri uri1 = new Uri("http://address.yahooapis.com/api/ws/v1/searchContacts");<br />                string url = "http://address.yahooapis.com/v1/searchContacts?format=xml&fields= name,email";<br />                url += "&appid=" + auth.ApplicationId;<br />                url += "&wssid=" + auth.WssId;<br />                Uri address = new Uri(url);                <br /><br />                <b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->DataSet ds = auth.GetAuthenticatedServiceDataSet(address);<!--colorc--></span><!--/colorc--></b><br /><br />I don't know what I am doing wrong here or may be I am missing something. Please let me know. Your help is needed here.<br /><br />Thanks<br />Sumit<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=3947:date=Apr 29 2009, 08&#58;19 AM:name=zish)--><div class='quote'><div class='quotetop'>QUOTE <cite>(zish &#064; Apr 29 2009, 08&#58;19 AM) <a href="index.php?act=findpost&pid=3947"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Tomi B,<br />     Did you get any solution, or anyone else got any solution. As i have tried you blog example as well, but it is giving me same error.<br /><br />Please help.<br /><br />thanks<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->k tal mis amiguis {os} 	<br />SQL<br />SELECT t.tid FROM a_table t WHERE t.val="This Value]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description>in our app, we are also getting intermittent 403 errors, but if we refresh the page that imports the contacts it usually is able to load up the contacts....if you keep refresh multiple times, most likely there is at least one 403 error...how can this be resolved?</description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=6725:date=Aug 4 2009, 06&#58;23 AM:name=Khan)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Khan &#064; Aug 4 2009, 06&#58;23 AM) <a href="index.php?act=findpost&pid=6725"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->in our app, we are also getting intermittent 403 errors, but if we refresh the page that imports the contacts it usually is able to load up the contacts....if you keep refresh multiple times, most likely there is at least one 403 error...how can this be resolved?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />having same problem, any solutions?]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[I've escalated this to the Address Book team.  <br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[I've done some digging and 403 is an auth error which typically means invalid credentials – wrong appid, wrong cookie, wrong token, etc.  Is that a possibility?  Can you go back and check to make sure these are correct and let me know?<br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[I'm also getting the 403 error.<br /><br />I'm using the following code-<br /><br />Yahoo.Authentication auth = new Yahoo.Authentication("xxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxx");  <br /><br />         // Redirect the user to the use sign-in page  <br />        if (Request["token"] == null)<br />            Response.Redirect(auth.GetUserLogOnAddress().ToString());<br />        else<br />            auth.Token = Request["token"];<br />        auth.UpdateCredentials();<br /><br />        XmlDocument doc = auth.GetAuthenticatedServiceXmlDocument(new Uri("http://address.yahooapis.com/api/ws/v1/searchContacts?format=xml&fields=name,email"));<br />       string xmlll = doc.InnerXml;<br /><br /><!--quoteo(post=7496:date=Sep 3 2009, 09&#58;26 AM:name=duzins)--><div class='quote'><div class='quotetop'>QUOTE <cite>(duzins &#064; Sep 3 2009, 09&#58;26 AM) <a href="index.php?act=findpost&pid=7496"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I've done some digging and 403 is an auth error which typically means invalid credentials – wrong appid, wrong cookie, wrong token, etc.  Is that a possibility?  Can you go back and check to make sure these are correct and let me know?<br /><br />Robyn Tippins<br />Community Manager, YDN<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[It seems either the C# library has bug or address book web service is not working as we are trying the use the library provided by Yahoo.<br />Can someone give more information on this error "403 Forbidden error"?]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Raj,<br /><br />Have you double-checked your credentials?  That error means the system thinks your creds are bad.  If they aren't, I need to go back and do more digging, but I need confirmation from you first that they are correct.<br /><br />Thank you,<br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Yes, I got the token also after authentication. So, I'm assuming that all my credentials are right.<br />I got the cookie also like Y=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br /><br /><br />Raj,<br /><br />Have you double-checked your credentials?  That error means the system thinks your creds are bad.  If they aren't, I need to go back and do more digging, but I need confirmation from you first that they are correct.<br /><br />Thank you,<br />Robyn Tippins<br />Community Manager, YDN<br />[/quote]]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Robyn <br /><br />Can you help to figure out the problem?<br /><br /><br />Yes, I got the token also after authentication. So, I'm assuming that all my credentials are right.<br />I got the cookie also like Y=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br /><br /><br />Raj,<br /><br />Have you double-checked your credentials?  That error means the system thinks your creds are bad.  If they aren't, I need to go back and do more digging, but I need confirmation from you first that they are correct.<br /><br />Thank you,<br />Robyn Tippins<br />Community Manager, YDN<br />[/quote]]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Raj,<br /><br />It would be helpful to see your code.  If you don't want to share it here, feel free to ping me via email:  rtippins at yahoo-inc.com<br /><br />Robyn]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[I have downloaded the Yahoo .net library and the client is as follows -<br />Yahoo.Authentication auth = new Yahoo.Authentication(XXXXXXXXXXXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXx");<br /><br />        // Redirect the user to the use sign-in page  <br />        if (Request["token"] == null)<br />            Response.Redirect(auth.GetUserLogOnAddress().ToString());<br />        else<br />            auth.Token = Request["token"];<br />        auth.UpdateCredentials();<br />        if (auth.IsCredentialed)<br />        {<br />            url = System.Web.HttpUtility.UrlPathEncode(<br />            "http://address.yahooapis.com/v1/searchContacts"<br />            + "?format=xml"<br />            + "&fields=name,phone,email"<br />            + "&appid=" + auth.ApplicationId<br />            + "&WSSID=" + auth.WssId);<br /><br />            Uri uurl = auth.SignUrl(new Uri(url));<br />            System.Net.HttpWebRequest req =<br />            System.Net.WebRequest.Create(uurl)<br />            as System.Net.HttpWebRequest;<br /><br />            //req.Headers = new System.Net.WebHeaderCollection();<br />            //req.Headers.Add("Y", auth.Cookies.Trim().Remove(0, 2));<br /><br />            //System.Net.Cookie cky = new System.Net.Cookie("Y",<br />            //auth.Cookies.Trim().Remove(0, 2));<br />            //cky.Expires = auth.ValidUntil;<br />            //cky.Domain = url;<br /><br />            //req.CookieContainer = new System.Net.CookieContainer();<br />            //req.CookieContainer.Add(cky);<br />            req.Headers.Add("Cookie", auth.Cookies.Trim().Remove(0, 2));<br /><br />            //ERRORS ON THIS LINE!!<br />            using (System.Net.HttpWebResponse res = req.GetResponse()<br />            as System.Net.HttpWebResponse)<br />            {<br />                // Get the response stream<br />                System.IO.StreamReader reader = new System.IO.StreamReader(<br />                res.GetResponseStream());<br /><br />                // Console application output<br />                Console.WriteLine(reader.ReadToEnd());<br />            }<br />        }]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Robyn<br /><br />I replied to you by email as well as I have uploaded the code also but I haven't received any feed back.<br />I appreciate if you can give me some feedback.<br /><br />Raj,<br /><br />It would be helpful to see your code.  If you don't want to share it here, feel free to ping me via email:  rtippins at yahoo-inc.com<br /><br />Robyn<br />[/quote]]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Hi Everyone,<br /><br />My issue got resolved after I went to this link  <img src="http://developer.yahoo.net/forum/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> . Actually I found this long back but didn't reply here on the developer network so really feel sorry for that.<br /><br /><a href="http://bliny.net/blog/post/Using-BBAuth-with-the-Yahoo!-Address-Book.aspx" rel="nofollow" target="ext">http://bliny.net/blog/post/Using-BBAuth-wi...dress-Book.aspx</a><br /><br />I would like to thank everyone for their support.<br /><br />Thanks<br />Sumit]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=8890:date=Oct 28 2009, 11&#58;20 PM:name=tribedeveloper)--><div class='quote'><div class='quotetop'>QUOTE <cite>(tribedeveloper &#064; Oct 28 2009, 11&#58;20 PM) <a href="index.php?act=findpost&pid=8890"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi Everyone,<br /><br />My issue got resolved after I went to this link  <img src="http://developer.yahoo.net/forum/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> . Actually I found this long back but didn't reply here on the developer network so really feel sorry for that.<br /><br /><a href="http://bliny.net/blog/post/Using-BBAuth-with-the-Yahoo!-Address-Book.aspx" rel="nofollow" target="ext">http://bliny.net/blog/post/Using-BBAuth-wi...dress-Book.aspx</a><br /><br />I would like to thank everyone for their support.<br /><br />Thanks<br />Sumit<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />I was code follow your code, but have the same error:<br />                  auth.UpdateCredentials();<br />                    if (auth.IsCredentialed)<br />                    {<br />                        string url = "http://address.yahooapis.com/v1/searchContacts?format=xml&fields=name,email";<br />                        System.Data.DataSet dsServices = new DataSet();<br />                        try<br />                        {<br />                            //dsServices = auth.GetAuthenticatedServiceDataSet(new System.Uri(url));<br />                            <br />                            // Get the data as a Stream<br />                            Stream dataStream = auth.GetAuthenticatedServiceStream(new Uri(url));<br /><br />                            // Create custom options for XmlReader<br />                            XmlReaderSettings settings = new XmlReaderSettings();<br />                            settings.XmlResolver = null;<br />                            settings.ProhibitDtd = false;<br /><br />                            // Create an XmlReader<br />                            XmlReader reader = XmlReader.Create(dataStream, settings);<br /><br />                            // Create a new DataSet object and load in the data<br />                            dsServices.ReadXml(reader);<br />                            GridView1.DataSource = dsServices;<br />                            GridView1.DataBind();<br />                        }<br />                        catch (Exception ex) //==&gt; The remote server returned an error: (403) Forbidden.<br />                        {<br />                            lblAddress.Text = "token : " + auth.Token + " ID : " + auth.ApplicationId + " cookies : " + auth.Cookies + " wssid : " + auth.WssId;<br />                        }<br />                    }<br />////////////////////////////<br />public virtual System.IO.Stream GetServiceStream(System.Uri wsAddress, bool setCookies)<br />        {<br />            System.Net.HttpWebRequest request = null;<br />            System.Net.HttpWebResponse response = null;<br />            System.IO.Stream result = null;<br /><br />            if (wsAddress == null)<br />            {<br />                throw new ArgumentNullException("wsAddress");<br />            }<br /><br />            // Create and initialize the web request<br />            request = System.Net.WebRequest.Create(wsAddress) as System.Net.HttpWebRequest;<br /><br />            request.UserAgent = _userAgent;<br />            request.KeepAlive = false;<br />            request.Timeout = _httpTimeout;<br />            if (setCookies == true)<br />            {<br />                if (_cookies.Length != 0)<br />                {<br />                    request.CookieContainer = new System.Net.CookieContainer();<br />                    request.CookieContainer.SetCookies(new System.Uri(wsAddress.AbsoluteUri), _cookies);<br />                }<br />            }<br />            if (_proxy != null) { request.Proxy = _proxy; }<br /><br />            <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->response = request.GetResponse() as System.Net.HttpWebResponse;<!--colorc--></span><!--/colorc--><br /><br />            if (request.HaveResponse == true && response != null)<br />            {<br />				result = response.GetResponseStream();<br />            }<br /><br />            return result;<br />        }<br /><br />Please help me. : truongtinhnguyen@gmail.com]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Everyone Having same problem(403).. <br />I thought there  is no problem with credentials [we tried GetAuthenticatedServiceStream and GetAuthenticatedServiceDataSet methods] we used the below URI for this <br /><br />url  = "http://address.yahooapis.com/v1/searchContacts?format=xml&fields=name,email";<br /><br />Any Help in this issue? Any one got solution?<br /><br /><!--quoteo(post=7764:date=Sep 14 2009, 03&#58;48 PM:name=Raj)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Raj &#064; Sep 14 2009, 03&#58;48 PM) <a href="index.php?act=findpost&pid=7764"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Robyn <br /><br />Can you help to figure out the problem?<br /><br /><br />Yes, I got the token also after authentication. So, I'm assuming that all my credentials are right.<br />I got the cookie also like Y=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br /><br /><br />Raj,<br /><br />Have you double-checked your credentials?  That error means the system thinks your creds are bad.  If they aren't, I need to go back and do more digging, but I need confirmation from you first that they are correct.<br /><br />Thank you,<br />Robyn Tippins<br />Community Manager, YDN<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description>is this form dead?</description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[Sumit,<br /><br />That API has been deprecated.  It's still up and running, but we are not actively supporting it.  You should look at the &lt;a href="http://developer.yahoo.com/social/rest_api_guide/contact_api.html"Contacts API&lt;/a&gt;.  Thanks,<br /><br />Cheers!<br />Robyn Tippins <br /><a href="http://twitter.com/duzins" rel="nofollow" target="ext">@duzins on Twitter</a><br />Community Manager, YDN<br /><br /><div align='center'><a href="http://twitter.com/ydn" rel="nofollow" target="ext"><i>Follow YDN on Twitter</i></a></div>]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>Getting 403 error while trying to access contact book</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1005</link>
		<description><![CDATA[<!--quoteo(post=11869:date=Jan 30 2010, 11&#58;38 AM:name=duzins)--><div class='quote'><div class='quotetop'>QUOTE <cite>(duzins &#064; Jan 30 2010, 11&#58;38 AM) <a href="index.php?act=findpost&pid=11869"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Sumit,<br /><br />That API has been deprecated.  It's still up and running, but we are not actively supporting it.  You should look at the &lt;a href="http://developer.yahoo.com/social/rest_api_guide/contact_api.html"Contacts API&lt;/a&gt;.  Thanks,<br /><br />Cheers!<br />Robyn Tippins <br /><a href="http://twitter.com/duzins" rel="nofollow" target="ext">@duzins on Twitter</a><br />Community Manager, YDN<br /><br /><div align='center'><a href="http://twitter.com/ydn" rel="nofollow" target="ext"><i>Follow YDN on Twitter</i></a></div><!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br /><br />I still can't get address book from yahoo with using yahoo API. Can everyone help me or provide sample code in C#?]]></description>
		<pubDate>Fri, 20 Mar 2009 03:27:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1005</guid>
	</item>
	<item>
		<title>How to implement an web service to retrieve email from Yahoo! Mail Web Service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=893</link>
		<description><![CDATA[How do I implement an asp.net web service to find a particular email in the Yahoo! Mail Web Service and get the content of the mail I found?<br /><br />Many thanks for your helping.]]></description>
		<pubDate>Mon, 02 Mar 2009 17:24:30 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=893</guid>
	</item>
	<item>
		<title>How to implement an web service to retrieve email from Yahoo! Mail Web Service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=893</link>
		<description><![CDATA[<!--quoteo(post=2625:date=Mar 2 2009, 05&#58;24 PM:name=vincent)--><div class='quote'><div class='quotetop'>QUOTE <cite>(vincent &#064; Mar 2 2009, 05&#58;24 PM) <a href="index.php?act=findpost&pid=2625"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->How do I implement an asp.net web service to find a particular email in the Yahoo! Mail Web Service and get the content of the mail I found?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Vincent, a good place to start is here: <a href="http://developer.yahoo.com/mail/code/" rel="nofollow" target="ext">http://developer.yahoo.com/mail/code/</a>. There's a C# code sample there, which includes examples of calling SearchMessages and GetMessage. That should get you pointed in the right direction.]]></description>
		<pubDate>Mon, 02 Mar 2009 17:24:30 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=893</guid>
	</item>
	<item>
		<title>How to implement an web service to retrieve email from Yahoo! Mail Web Service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=893</link>
		<description><![CDATA[<!--quoteo(post=2628:date=Mar 2 2009, 09&#58;38 PM:name=Ryan Kennedy)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Ryan Kennedy &#064; Mar 2 2009, 09&#58;38 PM) <a href="index.php?act=findpost&pid=2628"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Vincent, a good place to start is here: <a href="http://developer.yahoo.com/mail/code/" rel="nofollow" target="ext">http://developer.yahoo.com/mail/code/</a>. There's a C# code sample there, which includes examples of calling SearchMessages and GetMessage. That should get you pointed in the right direction.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi, I have tried the code, and I always get exception on the following step.<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->            // Update the credentials. This will fetch a new WSSID and a &#34;Y&#34; cookie for <br />            // the user.<br />            auth.UpdateCredentials&#40;&#41;;<!--c2--></code></pre></div><!--ec2--><br /><br />The error message is poor, and does not provide much information.<br /><br /><img src="http://1a2eoq.blu.livefilestore.com/y1paBYoTqFSSGOq0xU6xlH_cHLKMAT5SafiTw2qDhPMQ_esgbB-IMWMiBR1nIvyp3kOepZJ_FBXm7hbvK9a724jkg/Yahoo.Authentication%20error%20message.JPG" border="0" class="linked-image" /><br /><br />The following link is my source code.<br /><a href="http://cid-29b22a6e2be1baca.skydrive.live.com/self.aspx/Public/WebApplication3.rar" rel="nofollow" target="ext">My source code</a><br /><br />Please help me.<br /><br />Many thanks.]]></description>
		<pubDate>Mon, 02 Mar 2009 17:24:30 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=893</guid>
	</item>
	<item>
		<title>How to implement an web service to retrieve email from Yahoo! Mail Web Service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=893</link>
		<description><![CDATA[Vincent,<br /><br />Yes, the error message you are getting is unfortunate and not very descriptive. You should only get this if the authentication fails and the class is unable to parse the returned error for some reason. I recommend downloading and installing Fiddler2 (http://www.fiddler2.com) or a similar application to have a look at the actual data being sent to the server and especially coming back when you call UpdateCredentials(). Please post the content of the result you are getting (or the HTTP result code coming from the server), that should help figure out what's going on.<br /><br />//TB]]></description>
		<pubDate>Mon, 02 Mar 2009 17:24:30 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=893</guid>
	</item>
	<item>
		<title>How to implement an web service to retrieve email from Yahoo! Mail Web Service</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=893</link>
		<description>Vincent -  dod you get it working ?</description>
		<pubDate>Mon, 02 Mar 2009 17:24:30 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=893</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[Hi, I'm trying to get images off the Image Search API and display them. I'm using C# 2008 express and using it in a WPF form(not sure if this matters). <br />I am able to get information about the image, such as Summary and name and stuff, just not a displayable image. How do i display the System.Drawing.Image type returned? Is there a simple way to put it in an image control? Btw, I'm not such an experienced programmer, so simple code or steps and explanations would be greatly appreciated.<br />thanks is advance<br />dilip]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[Would you be able to post the code you are using. It's hard to try and answer your question without seeing your code.<br /><br />Thanks,<br /><br />Tom<br />Yahoo! Developer Network]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[thanks for the reply<br />here's my code:<br /><br />using Com.WickedByte.YahooAPI;<br />using System.Drawing;<br />namespace YahooAPITest<br />{<br />    /// &lt;summary&gt;<br />    /// Interaction logic for Window1.xaml<br />    /// &lt;/summary&gt;<br />    public partial class Window1 : Window<br />    {<br />        public Window1()<br />        {<br />            InitializeComponent();<br />            YahooImageRequest request = new YahooImageRequest();<br />            request.ApplicationId = " .fFyztDV34EMk_HlLuAylkvTzROcZGDRvgkB9oKNJJBfhgpxvAxt_UjHava.q2XAfJUmmNBeAQ-- ";<br />            request.Query = "Obama";<br /><br />            YahooImageResponse response = request.GetResponse();<br />            System.Drawing.Image img = response.Images[0].GetImage();<br />            MessageBox.Show(response.Images[0].Summary);<br />        }<br />    }<br />}<br /><br />It successfully returns the summary, or any other piece of info(Url, etc.) about the picture in the MessageBox. My question is, how do i display the system.drawing.image given by resonse[0].getImage() ?]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[Never mind, i figured it out  is used the following code:<br /><br />            foreach (YahooImage image in response.Images)<br />            {<br />                System.Windows.Controls.Image image1 = new System.Windows.Controls.Image();<br />                Bitmap bmp = new Bitmap(image.GetThumbnailImage());       <br />                image1.Source = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(bmp.GetHbitmap(), IntPtr.Zero, Int32Rect.Empty,<br />                System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions());<br />            }<br /><br />where response is a YahooImageResponse. Is this the best way to do it?]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[Moving this to the .Net forums in case anyone there has a suggestion for a better way.  Cheers,<br /><br />Robyn Tippins<br />Community Manager, YDN<br /><br /><!--quoteo(post=2455:date=Feb 22 2009, 05&#58;18 AM:name=d1r2r3@...)--><div class='quote'><div class='quotetop'>QUOTE <cite>(d1r2r3@... &#064; Feb 22 2009, 05&#58;18 AM) <a href="index.php?act=findpost&pid=2455"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Never mind, i figured it out  is used the following code:<br /><br />            foreach (YahooImage image in response.Images)<br />            {<br />                System.Windows.Controls.Image image1 = new System.Windows.Controls.Image();<br />                Bitmap bmp = new Bitmap(image.GetThumbnailImage());       <br />                image1.Source = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(bmp.GetHbitmap(), IntPtr.Zero, Int32Rect.Empty,<br />                System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions());<br />            }<br /><br />where response is a YahooImageResponse. Is this the best way to do it?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>Image Search API Displaying Images</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=759</link>
		<description><![CDATA[<!--quoteo(post=2455:date=Feb 22 2009, 05&#58;18 AM:name=d1r2r3@...)--><div class='quote'><div class='quotetop'>QUOTE <cite>(d1r2r3@... &#064; Feb 22 2009, 05&#58;18 AM) <a href="index.php?act=findpost&pid=2455"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Never mind, i figured it out  is used the following code:<br /><br />            foreach (YahooImage image in response.Images)<br />            {<br />                System.Windows.Controls.Image image1 = new System.Windows.Controls.Image();<br />                Bitmap bmp = new Bitmap(image.GetThumbnailImage());       <br />                image1.Source = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(bmp.GetHbitmap(), IntPtr.Zero, Int32Rect.Empty,<br />                System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions());<br />            }<br /><br />where response is a YahooImageResponse. Is this the best way to do it?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi,<br /><br />I would think that the easiest way to use the images would be to use the returned URL with the <b>BitmapImage</b> class <b>UriSource</b> property. Here's a snippet I copied from the MSDN documentation (<a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.image.aspx" rel="nofollow" target="ext">http://msdn.microsoft.com/en-us/library/sy...rols.image.aspx</a>):<br /><br /><!--coloro:green--><span style="color:green"><!--/coloro-->// Create Image Element<!--colorc--></span><!--/colorc--><br />Image myImage = new Image();<br />myImage.Width = 200;<br /><br /><!--coloro:green--><span style="color:green"><!--/coloro-->// Create source<!--colorc--></span><!--/colorc--><br />BitmapImage myBitmapImage = new BitmapImage();<br /><br /><!--coloro:green--><span style="color:green"><!--/coloro-->// BitmapImage.UriSource must be in a BeginInit/EndInit block<!--colorc--></span><!--/colorc--><br />myBitmapImage.BeginInit();<br />myBitmapImage.UriSource = new Uri{PUT THE REFERENCE TO THE URL HERE});<br /><br /><!--coloro:green--><span style="color:green"><!--/coloro-->// To save significant application memory, set the DecodePixelWidth or  DecodePixelHeight of <br />// the BitmapImage value of the image source to the desired height or width of the rendered image. <br />// If you don't do this, the application will cache the image as though it were rendered as its normal size<br />// rather then just the size that is displayed.<br />// Note: In order to preserve aspect ratio, set DecodePixelWidth  or DecodePixelHeight but not both.<!--colorc--></span><!--/colorc--><br />myBitmapImage.DecodePixelWidth = 200;<br />myBitmapImage.EndInit();<br /><!--coloro:green--><span style="color:green"><!--/coloro-->// Set image source<!--colorc--></span><!--/colorc--><br />myImage.Source = myBitmapImage;<br /><br />Unfortunately, I don't have the docs for YahooImage handy, so I'm not sure what the property for the URL is.<br /><br />//Tomi B.]]></description>
		<pubDate>Wed, 11 Feb 2009 04:53:29 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=759</guid>
	</item>
	<item>
		<title>How to show the data grids view in a tooltip?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=659</link>
		<description><![CDATA[Hi,<br /><br />I am working for Web Development Company in india as a .net programer and he has worked on various microsoft <a href="http://www.gatewaytechnolabs.com/lang,en/technology/microsoft_.net.html" rel="nofollow" target="ext">.Net Development</a> Projects.I would like to show a tooltip when the user move the mouse over the first column of my gridview.<br /><br />The tooltip should be bound to a field of the gridview's datasource that correspond to the row being hovered.<br /><br />How can I do that ? <br /><br />Thanks,<br />Raj]]></description>
		<pubDate>Wed, 21 Jan 2009 00:38:11 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=659</guid>
	</item>
	<item>
		<title>How to show the data grids view in a tooltip?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=659</link>
		<description><![CDATA[Raj,<br /><br />I'd suggest you look at YUI.  Their main page is here:  <a href="http://developer.yahoo.com/yui/" rel="nofollow" target="ext">http://developer.yahoo.com/yui/</a>  There's some really great documentation on how to use YUI there, but if you need more assistance, their developer group is here:  <a href="http://tech.groups.yahoo.com/group/ydn-javascript/" rel="nofollow" target="ext">http://tech.groups.yahoo.com/group/ydn-javascript/</a><br /><br />I'm going to move this to the YDN General Forum. <br /><br />Cheers,<br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Wed, 21 Jan 2009 00:38:11 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=659</guid>
	</item>
	<item>
		<title>Welcome to the .NET board</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=170</link>
		<description><![CDATA[If you are using Y!APIs and .NET together, here's the place to come to for support and to show off your work!<br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Tue, 30 Sep 2008 15:00:12 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=170</guid>
	</item>
</channel>
</rss><!-- blog1.developer.re2.yahoo.com uncompressed/chunked Tue Feb  9 20:11:51 PST 2010 -->
