<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Emad Ibrahim - Latest Comments in Shortening URLs with bit.ly’s API in .NET</title><link>http://emadibrahim.disqus.com/</link><description></description><atom:link href="https://emadibrahim.disqus.com/shortening_urls_with_bitlyrsquos_api_in_net/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 01 Feb 2010 10:21:38 -0000</lastBuildDate><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-32290889</link><description>&lt;p&gt;I wrote an article on my blog on how to use the &lt;a href="http://bit.ly" rel="nofollow noopener" target="_blank" title="bit.ly"&gt;bit.ly&lt;/a&gt; API with html and jQuery: &lt;a href="http://www.codecapers.com/post/Building-a-Link-Shortener-with-the-bitly-API.aspx" rel="nofollow noopener" target="_blank" title="http://www.codecapers.com/post/Building-a-Link-Shortener-with-the-bitly-API.aspx"&gt;http://www.codecapers.com/p...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mikeceranski</dc:creator><pubDate>Mon, 01 Feb 2010 10:21:38 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-26901547</link><description>&lt;p&gt;Guys, &lt;br&gt;Dont forget to import the necessary assemblies.&lt;/p&gt;&lt;p&gt;using System.Linq;&lt;br&gt;using System.Web;&lt;br&gt;using System.Xml.Linq;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deep Janardhanan</dc:creator><pubDate>Mon, 21 Dec 2009 18:30:36 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-22699959</link><description>&lt;p&gt;Please, is possibile to have an exaple in VB.NET???&lt;br&gt;tanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gianluca Di Pietro</dc:creator><pubDate>Wed, 11 Nov 2009 04:50:10 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-21945927</link><description>&lt;p&gt;Great post, thanks for sharing this class.  I had to make one Tweak to use this in a non-web app in VS 2010 Beta 2.  HttpUtlity is in System.Web and it looks like there is no way to reference System.Web in VS 2010 Beta 2 from a console application.&lt;/p&gt;&lt;p&gt;I changed the call to HttpUtility to use System.Uri.EscapeDataString and it worked like a charm.&lt;/p&gt;&lt;p&gt;Good stuff!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Deweese</dc:creator><pubDate>Thu, 05 Nov 2009 11:43:48 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-12559327</link><description>&lt;p&gt;Hello,&lt;br&gt;How do I define\declare xDocument variable correctly?&lt;br&gt;Thanks&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">raichelb</dc:creator><pubDate>Sun, 12 Jul 2009 19:21:22 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-10352961</link><description>&lt;p&gt;Is that a compile error or runtime error?  Did you copy &amp;amp; paste the code&lt;br&gt;correctly?  Sometimes the browser messes up the code formatting.&lt;/p&gt;&lt;p&gt;Other than that you should add a breakpoint and examine the value of&lt;br&gt;resultXml and see if it shows any error messages.&lt;/p&gt;&lt;p&gt;Good luck.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad</dc:creator><pubDate>Mon, 01 Jun 2009 11:35:16 -0000</pubDate></item><item><title>Re: Shortening URLs with bit.ly’s API in .NET</title><link>http://www.emadibrahim.com/2009/05/07/shortening-urls-with-bitlys-api-in-net/#comment-10327359</link><description>&lt;p&gt;Hi Emad&lt;/p&gt;&lt;p&gt;I just tried your code, but it is throwing me an error at this part:&lt;br&gt;var x = (from result in resultXml.Descendants("nodeKeyVal")&lt;br&gt;...&lt;/p&gt;&lt;p&gt;It tells me : error CS1026: ) expected&lt;/p&gt;&lt;p&gt;Do you have an idea why this may happen?&lt;/p&gt;&lt;p&gt;Thanks&lt;br&gt;ralph&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ralph</dc:creator><pubDate>Sun, 31 May 2009 18:54:12 -0000</pubDate></item></channel></rss>