<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Shorten URL in Flex using bit.ly</title>
	<atom:link href="http://subelement17.net/blog/2009/08/02/shorten-url-in-flex-using-bit-ly/feed/" rel="self" type="application/rss+xml" />
	<link>http://subelement17.net/blog/2009/08/02/shorten-url-in-flex-using-bit-ly/</link>
	<description></description>
	<lastBuildDate>Sat, 29 May 2010 03:00:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Olle</title>
		<link>http://subelement17.net/blog/2009/08/02/shorten-url-in-flex-using-bit-ly/comment-page-1/#comment-28</link>
		<dc:creator>Olle</dc:creator>
		<pubDate>Tue, 25 Aug 2009 11:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://subelement17.net/blog/?p=540#comment-28</guid>
		<description>Hello Abhishek
It works just fine for me(see example below on how to call it). Have you activated the API to get the correct API key in bit.ly?


&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; &gt;
	
	&lt;mx:Script&gt;
		&lt;![CDATA[
			import mx.controls.Alert;
		function doIt():void
		{
			import net.subelement17.ShortenURL
			var _url:ShortenURL = new ShortenURL();
			_url.call(&#039;http:///subelement17.net/blog/&#039;,giveMeTheUrl);
		}
				 
		 function giveMeTheUrl(res:String):void
		 {
		 	Alert.show(res);
		    //do something with the result....
		 }			
		]]&gt;
	&lt;/mx:Script&gt;
	&lt;mx:Button x=&quot;178&quot; y=&quot;196&quot; label=&quot;Button&quot; click=&quot;doIt()&quot;/&gt;

&lt;/mx:Application&gt;</description>
		<content:encoded><![CDATA[<p>Hello Abhishek<br />
It works just fine for me(see example below on how to call it). Have you activated the API to get the correct API key in bit.ly?</p>
<p>< ?xml version="1.0" encoding="utf-8"?><br />
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" ></p>
<p>	<mx:script><br />
		< ![CDATA[<br />
			import mx.controls.Alert;<br />
		function doIt():void<br />
		{<br />
			import net.subelement17.ShortenURL<br />
			var _url:ShortenURL = new ShortenURL();<br />
			_url.call('<a href="http:///subelement17.net/blog/&#039;,giveMeTheUrl" rel="nofollow">http:///subelement17.net/blog/&#039;,giveMeTheUrl);<br />
		}</p>
<p>		 function giveMeTheUrl(res:String):void<br />
		 {<br />
		 	Alert.show(res);<br />
		    //do something with the result&#8230;.<br />
		 }<br />
		]]><br />
	</mx:script><br />
	<mx:button x="178" y="196" label="Button" click="doIt()"/></p>
<p></mx:application></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhishek</title>
		<link>http://subelement17.net/blog/2009/08/02/shorten-url-in-flex-using-bit-ly/comment-page-1/#comment-27</link>
		<dc:creator>abhishek</dc:creator>
		<pubDate>Tue, 25 Aug 2009 09:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://subelement17.net/blog/?p=540#comment-27</guid>
		<description>hey frnd ,
 I have made small modification in your code and used in flex,  but it is not working even i&#039;m using correct apikey.
Its gives error

  203
  You must be authenticated to access shorten
  ERROR


PLZ SEE MY CODE IN FLEX


    
        
    
    
    
    
    
    
    
    



plz check the code using your apikey and usrname and tell me the solution.
thx in advanced,
:)</description>
		<content:encoded><![CDATA[<p>hey frnd ,<br />
 I have made small modification in your code and used in flex,  but it is not working even i&#8217;m using correct apikey.<br />
Its gives error</p>
<p>  203<br />
  You must be authenticated to access shorten<br />
  ERROR</p>
<p>PLZ SEE MY CODE IN FLEX</p>
<p>plz check the code using your apikey and usrname and tell me the solution.<br />
thx in advanced,<br />
:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

