<?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: Create a Photostream Using jQuery and the Flickr API</title>
	<atom:link href="http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/</link>
	<description>Coding and such...</description>
	<lastBuildDate>Mon, 19 Jul 2010 21:15:22 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Iain</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-443</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Mon, 19 Jul 2010 21:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-443</guid>
		<description>Hi Justin,

Please ignore my earlier question, I have sorted it now.
I was using my screen name instead of the user ID.

Thanks very much for the tutorial, it will prove very useful!

Kind regards
Iain</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>Please ignore my earlier question, I have sorted it now.<br />
I was using my screen name instead of the user ID.</p>
<p>Thanks very much for the tutorial, it will prove very useful!</p>
<p>Kind regards<br />
Iain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-442</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Mon, 19 Jul 2010 20:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-442</guid>
		<description>Hi Justin,

I really like the idea of this so I decided to give it a go despite knowing nothing at all about JS or API or STYLES or the internet in general. I just tried to create a blank page with the div layer showing the 6 images like you have as your footer but all I get is a blank page... 

Any ideas from looking at my page what I might be doing wrong?

Many thanks,</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>I really like the idea of this so I decided to give it a go despite knowing nothing at all about JS or API or STYLES or the internet in general. I just tried to create a blank page with the div layer showing the 6 images like you have as your footer but all I get is a blank page&#8230; </p>
<p>Any ideas from looking at my page what I might be doing wrong?</p>
<p>Many thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ABM Adnan</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-440</link>
		<dc:creator>ABM Adnan</dc:creator>
		<pubDate>Sun, 27 Jun 2010 10:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-440</guid>
		<description>You can create your own api server for advanced operations using jQuery.getJSON() and access it from any other domain (cross-domain). Here is a detailed tutorial explaining how actually $.getJSON() works for JSONP:
http://abcoder.com/javascript/jquery/jsonp-first-timer/

Hope it&#039;ll help.
Thanks</description>
		<content:encoded><![CDATA[<p>You can create your own api server for advanced operations using jQuery.getJSON() and access it from any other domain (cross-domain). Here is a detailed tutorial explaining how actually $.getJSON() works for JSONP:<br />
<a href="http://abcoder.com/javascript/jquery/jsonp-first-timer/" rel="nofollow">http://abcoder.com/javascript/jquery/jsonp-first-timer/</a></p>
<p>Hope it&#8217;ll help.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Spradlin</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-437</link>
		<dc:creator>Justin Spradlin</dc:creator>
		<pubDate>Thu, 27 May 2010 13:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-437</guid>
		<description>Hello Katja,
One thing I noticed was that when I construct your URL call into flickr I see that the JSON that is returned does not reference any photos:

&lt;a href=&quot;http://api.flickr.com/services/rest/?format=json&amp;method=flickr.photos.search&amp;api_key=1cc94fa73b96447769167da4390183e5 &amp;user_id=28214005@N02&amp;tags=architecture&amp;per_page=10&amp;jsoncallback=?&quot; rel=&quot;nofollow&quot;&gt;http://api.flickr.com/services/rest/?format=json&amp;method=flickr.photos.search&amp;api_key=1cc94fa73b96447769167da4390183e5
&amp;user_id=28214005@N02&amp;tags=architecture&amp;per_page=10&amp;jsoncallback=?&lt;/a&gt;

Contrast that with the JSON that is returned from the URL that I call into:

&lt;a href=&quot;http://api.flickr.com/services/rest/?format=json&amp;method=flickr.photos.search&amp;api_key=13ee651e2a7464fb55ac71807a23b5ea &amp;user_id=70511402@N00&amp;tags=justinspradlindotcom&amp;per_page=25&amp;jsoncallback=?&quot; rel=&quot;nofollow&quot;&gt;http://api.flickr.com/services/rest/?format=json&amp;method=flickr.photos.search&amp;api_key=13ee651e2a7464fb55ac71807a23b5ea
&amp;user_id=70511402@N00&amp;tags=justinspradlindotcom&amp;per_page=25&amp;jsoncallback=?&lt;/a&gt;

Lots of JSON with photo information is returned.  I think once you get the correct JSON returning from Flickr everything will work for you.  Let me know how it goes.  Good luck!</description>
		<content:encoded><![CDATA[<p>Hello Katja,<br />
One thing I noticed was that when I construct your URL call into flickr I see that the JSON that is returned does not reference any photos:</p>
<p><a href="http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=1cc94fa73b96447769167da4390183e5 &#038;user_id=28214005@N02&#038;tags=architecture&#038;per_page=10&#038;jsoncallback=?" rel="nofollow"></a><a href="http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=1cc94fa73b96447769167da4390183e5" rel="nofollow">http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=1cc94fa73b96447769167da4390183e5</a><br />
&#038;user_id=28214005@N02&#038;tags=architecture&#038;per_page=10&#038;jsoncallback=?</p>
<p>Contrast that with the JSON that is returned from the URL that I call into:</p>
<p><a href="http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=13ee651e2a7464fb55ac71807a23b5ea &#038;user_id=70511402@N00&#038;tags=justinspradlindotcom&#038;per_page=25&#038;jsoncallback=?" rel="nofollow"></a><a href="http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=13ee651e2a7464fb55ac71807a23b5ea" rel="nofollow">http://api.flickr.com/services/rest/?format=json&#038;method=flickr.photos.search&#038;api_key=13ee651e2a7464fb55ac71807a23b5ea</a><br />
&#038;user_id=70511402@N00&#038;tags=justinspradlindotcom&#038;per_page=25&#038;jsoncallback=?</p>
<p>Lots of JSON with photo information is returned.  I think once you get the correct JSON returning from Flickr everything will work for you.  Let me know how it goes.  Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katja</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-436</link>
		<dc:creator>Katja</dc:creator>
		<pubDate>Wed, 26 May 2010 12:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-436</guid>
		<description>Justin, thanks for your reply.
The temporary address is http://student.cmd.hro.nl/0825320/jaar2/Darkroom/template. I don&#039;t get errors anymore, but I don&#039;t have any stream either. I don&#039;t really understand that &quot;data object&quot; stuff.</description>
		<content:encoded><![CDATA[<p>Justin, thanks for your reply.<br />
The temporary address is <a href="http://student.cmd.hro.nl/0825320/jaar2/Darkroom/template" rel="nofollow">http://student.cmd.hro.nl/0825320/jaar2/Darkroom/template</a>. I don&#8217;t get errors anymore, but I don&#8217;t have any stream either. I don&#8217;t really understand that &#8220;data object&#8221; stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Spradlin</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-435</link>
		<dc:creator>Justin Spradlin</dc:creator>
		<pubDate>Tue, 25 May 2010 12:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-435</guid>
		<description>@Katja

It&#039;s a little hard to answer your question without seeing your code, but here are a few possible tips:

1.  Make sure that the data object is not null.  Use an alert statement to print out its contents: alert(data)

2.  Make sure your API key, url, and tag strings are all correct.</description>
		<content:encoded><![CDATA[<p>@Katja</p>
<p>It&#8217;s a little hard to answer your question without seeing your code, but here are a few possible tips:</p>
<p>1.  Make sure that the data object is not null.  Use an alert statement to print out its contents: alert(data)</p>
<p>2.  Make sure your API key, url, and tag strings are all correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katja</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-434</link>
		<dc:creator>Katja</dc:creator>
		<pubDate>Tue, 25 May 2010 11:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-434</guid>
		<description>Hi Justin,

I&#039;m trying to implement your script and get an error &quot;data.photos&quot; is undefined. And so I don&#039;t get any photos. (My site is not published yet.) What can I do? Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>I&#8217;m trying to implement your script and get an error &#8220;data.photos&#8221; is undefined. And so I don&#8217;t get any photos. (My site is not published yet.) What can I do? Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Spradlin</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-433</link>
		<dc:creator>Justin Spradlin</dc:creator>
		<pubDate>Mon, 19 Apr 2010 15:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-433</guid>
		<description>@Matt

Thanks for the comment.  You should get your own API key from flickr for interacting with your flickr account.

I&#039;ve noticed that it can sometimes take about 10 - 15 minutes for the tagged images to become available to the API.  So once you tag images in Flickr wait a little while before expecting to see the images to show up in your photostream.

If you want to add more than one flickr stream to a page you should just be able to add multiple DIVs with different IDs and use jquery to place the images in the appropriate place.

For example if you had a DIVs identified by the IDs car, boat, plane.  You could grab those images from Flickr using tags of the same name then use jquery and the code about to append the photostreams to those divs:

$(carPhotoString).appendTo(&quot;#car&quot;);
$(boatPhotoString).appendTo(&quot;#boat&quot;);
$(planePhotoString).appendTo(&quot;#plane&quot;);

I hope this helps.  Good luck!</description>
		<content:encoded><![CDATA[<p>@Matt</p>
<p>Thanks for the comment.  You should get your own API key from flickr for interacting with your flickr account.</p>
<p>I&#8217;ve noticed that it can sometimes take about 10 &#8211; 15 minutes for the tagged images to become available to the API.  So once you tag images in Flickr wait a little while before expecting to see the images to show up in your photostream.</p>
<p>If you want to add more than one flickr stream to a page you should just be able to add multiple DIVs with different IDs and use jquery to place the images in the appropriate place.</p>
<p>For example if you had a DIVs identified by the IDs car, boat, plane.  You could grab those images from Flickr using tags of the same name then use jquery and the code about to append the photostreams to those divs:</p>
<p>$(carPhotoString).appendTo(&#8220;#car&#8221;);<br />
$(boatPhotoString).appendTo(&#8220;#boat&#8221;);<br />
$(planePhotoString).appendTo(&#8220;#plane&#8221;);</p>
<p>I hope this helps.  Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-432</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 19 Apr 2010 09:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-432</guid>
		<description>I&#039;m still a little unclear on  the api key and the tags.

As this is your plug-in should i be usinging your api key or do i need to apply for my own even though i did not develop this plugin?

I tried adding a tag to some of my photos, i used the tag golf in flickr and change the tag like to 	var tag = &#039;golf&#039;; but it&#039;s not working as i thought it should, if i add the tag to the script it fails to load in any images at all.

Last question.... honest!! How do i go about adding more than one flickr stream to a page?

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m still a little unclear on  the api key and the tags.</p>
<p>As this is your plug-in should i be usinging your api key or do i need to apply for my own even though i did not develop this plugin?</p>
<p>I tried adding a tag to some of my photos, i used the tag golf in flickr and change the tag like to 	var tag = &#8216;golf&#8217;; but it&#8217;s not working as i thought it should, if i add the tag to the script it fails to load in any images at all.</p>
<p>Last question&#8230;. honest!! How do i go about adding more than one flickr stream to a page?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Spradlin</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-431</link>
		<dc:creator>Justin Spradlin</dc:creator>
		<pubDate>Wed, 14 Apr 2010 14:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-431</guid>
		<description>@Matt

Thanks for the heads up about the broken link.  I&#039;ve fixed it so you can now check out the source.

Just one quick note: I&#039;ve noticed sometimes that it takes up to 10 minutes for the images I upload to flickr to be available via the API.  Just something to keep in mind.</description>
		<content:encoded><![CDATA[<p>@Matt</p>
<p>Thanks for the heads up about the broken link.  I&#8217;ve fixed it so you can now check out the source.</p>
<p>Just one quick note: I&#8217;ve noticed sometimes that it takes up to 10 minutes for the images I upload to flickr to be available via the API.  Just something to keep in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-430</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 14 Apr 2010 09:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-430</guid>
		<description>I&#039;m looking at building in a refresh function for the flickr div so any new images up loaded to flickr automatically show up in the div when it refreshes.

I think i&#039;ve got it right


var refreshId = setInterval(function()
{
     $(&#039;#flickr&#039;).fadeOut(1500).load().fadeIn(1500);
}, 5000);


Also the link to you loading example (http://www.sixtysixeast.com/jwwl/content.html) doesn&#039;t work this would be really useful to implement if the container div is set to refresh

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking at building in a refresh function for the flickr div so any new images up loaded to flickr automatically show up in the div when it refreshes.</p>
<p>I think i&#8217;ve got it right</p>
<p>var refreshId = setInterval(function()<br />
{<br />
     $(&#8216;#flickr&#8217;).fadeOut(1500).load().fadeIn(1500);<br />
}, 5000);</p>
<p>Also the link to you loading example (<a href="http://www.sixtysixeast.com/jwwl/content.html" rel="nofollow">http://www.sixtysixeast.com/jwwl/content.html</a>) doesn&#8217;t work this would be really useful to implement if the container div is set to refresh</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Spradlin</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-420</link>
		<dc:creator>Justin Spradlin</dc:creator>
		<pubDate>Sun, 21 Feb 2010 20:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-420</guid>
		<description>@Sarah

Thanks for the kind words.

I checked out your site.  You can simply place a &quot;span&quot; element with an animated gif/loading text/whatever inside of your div with the id of &quot;flickr&quot;.  Give this span an id of something like &quot;loading&quot;.  Once the images are pulled back from Flickr (i.e. at the end of the $.getJSON method) you can use JQuery to remove the span element and then show your pictures using the following command:

$(&quot;#loading&quot;).remove();

Check out the source and jwwl.js JavaScript file on this page for an example:

http://www.sixtysixeast.com/jwwl/content.html</description>
		<content:encoded><![CDATA[<p>@Sarah</p>
<p>Thanks for the kind words.</p>
<p>I checked out your site.  You can simply place a &#8220;span&#8221; element with an animated gif/loading text/whatever inside of your div with the id of &#8220;flickr&#8221;.  Give this span an id of something like &#8220;loading&#8221;.  Once the images are pulled back from Flickr (i.e. at the end of the $.getJSON method) you can use JQuery to remove the span element and then show your pictures using the following command:</p>
<p>$(&#8220;#loading&#8221;).remove();</p>
<p>Check out the source and jwwl.js JavaScript file on this page for an example:</p>
<p><a href="http://www.sixtysixeast.com/jwwl/content.html" rel="nofollow">http://www.sixtysixeast.com/jwwl/content.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.justinspradlin.com/programming/create-a-photostream-using-jquery-and-the-flickr-api/comment-page-1/#comment-419</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Sun, 21 Feb 2010 20:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinspradlin.com/?p=77#comment-419</guid>
		<description>Really helpful post, thanks for writing this up! Your directions were really clear and this approach worked great. I&#039;m finding that calls to the Flickr API aren&#039;t always very fast, though, so I&#039;m looking into applying some sort of preloader/spinner thing to my images. Any suggestions for a good method for implementing that?</description>
		<content:encoded><![CDATA[<p>Really helpful post, thanks for writing this up! Your directions were really clear and this approach worked great. I&#8217;m finding that calls to the Flickr API aren&#8217;t always very fast, though, so I&#8217;m looking into applying some sort of preloader/spinner thing to my images. Any suggestions for a good method for implementing that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
