<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Murtuza Topiwalla &#187; tutorial</title>
	<atom:link href="http://www.sowebme.com/murtaza/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sowebme.com/murtaza</link>
	<description>Blog about flash, movies, travel and more! Email me at yankeedoodles[at]hotmail[dot]com for anything you want to add!</description>
	<lastBuildDate>Wed, 13 Oct 2010 02:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Flickr and using its API &#8211; post 1</title>
		<link>http://www.sowebme.com/murtaza/2009/07/flickr-and-using-its-api-01/</link>
		<comments>http://www.sowebme.com/murtaza/2009/07/flickr-and-using-its-api-01/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:30:17 +0000</pubDate>
		<dc:creator>Murtuza</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.sowebme.com/murtaza/?p=50</guid>
		<description><![CDATA[Hello everyone, Its time to talk about and its API, how to use it and things associated with it. This is going to be the first of a series of blogs of how to use flickr and its API. In this first post, we are going to talk about the API Key and its uses. [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl class="wp-caption  alignright" style="width: 108px;">
<dt class="wp-caption-dt"><img title="Flickr logo" src="http://l.yimg.com/g/images/flickr_logo_gamma.gif" alt="Flickr logo" width="98" height="26" /></dt>
</dl>
</div>
<p>Hello everyone,</p>
<p>Its time to talk about  and its API, how to use it and things associated with it. This is going to be the first of a series of blogs of how to use flickr and its API.</p>
<p>In this first post, we are going to talk about the API Key and its uses. We will also get our minds ready to use these values in our flash application.</p>
<p>First of all lets start with the flickr.com apply an API Key site. <a title="Flickr Apply for API Key" href="http://www.flickr.com/services/api/keys/apply/" target="_blank">http://www.flickr.com/services/api/keys/apply/</a></p>
<p>Applying for an API key is relatively simple and no guidance is required. A commercial key takes about 4 weeks and requires some form of approval. A testing or non commercial key can be obtained immediately. I recommend you apply for both together to make sure you have a commercial key when your site is ready to go live. If its commercial anyway.</p>
<p><a href="http://www.sowebme.com/murtaza/wp-content/uploads/2009/07/apikeyexample.jpg"><img class="alignleft size-medium wp-image-55" title="API Key example image" src="http://www.sowebme.com/murtaza/wp-content/uploads/2009/07/apikeyexample-300x172.jpg" alt="API Key example image" width="300" height="172" /></a></p>
<p>Once you have got an API Key and secret, you can actually start to use them to get frobs. You might be wondering what the hell a frob is but actually it seems to me like nothing more than a first level security key that flickr wants to assign to you at every instance of your api key call. Frobs expire after 60 minutes.<br />
An example of a frob can be found here <a href="http://www.flickr.com/services/api/explore/?method=flickr.auth.getFrob" target="_blank">http://www.flickr.com/services/api/explore/?method=flickr.auth.getFrob</a> These API testing tools are just neat.</p>
<p>Alright once you have got your frob, you need to get a token. If I am correct on this frobs are basically whats needed for just viewing photos, but if you need to upload or modify photos, you need a token. Tokens are like level 2 security keys that flickr has implemented to ensure that you aren&#8217;t just logging in without authenticating yourself via a valid frob. Tokens last forever or until you decide to revoke them at your access page. You are going to need a workaround for this for  your flash to keep your user at your site. OR you can just use a preattained token which is what I decided to do for my project.</p>
<p>In my next Flickr tutorial, I will talk about how to integrate flickr api and flash and some basic examples and commands.</p>
<p>See you next time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sowebme.com/murtaza/2009/07/flickr-and-using-its-api-01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

