<?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: Mastering the Flickr API with PHP and cURL</title>
	<atom:link href="http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/</link>
	<description>The Blog of Ben Lister</description>
	<lastBuildDate>Tue, 10 Jan 2012 11:14:28 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Graham</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-473</link>
		<dc:creator>Graham</dc:creator>
		<pubDate>Fri, 29 Apr 2011 17:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-473</guid>
		<description>How would i edit this code so that instead of looking through a user&#039;s page it searches the site?

thanks</description>
		<content:encoded><![CDATA[<p>How would i edit this code so that instead of looking through a user&#8217;s page it searches the site?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-436</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-436</guid>
		<description>Thanks for the snappy response Ben! The demo is sharp and this tutorial is great. You from Chicago? 

I found the problem, even though I have a Pro account I still needed to change the Privacy and Permission settings for the original images. &quot;Who can access your original image files?&quot; Ahh! What a relief... it was making my head hurt!

Kind regards,
Dave</description>
		<content:encoded><![CDATA[<p>Thanks for the snappy response Ben! The demo is sharp and this tutorial is great. You from Chicago? </p>
<p>I found the problem, even though I have a Pro account I still needed to change the Privacy and Permission settings for the original images. &#8220;Who can access your original image files?&#8221; Ahh! What a relief&#8230; it was making my head hurt!</p>
<p>Kind regards,<br />
Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-435</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-435</guid>
		<description>Hey Dave,

I recently updated the demo and it looks like I made a typo by adding an extra http:// in the &lt;code&gt;url_o&lt;/code&gt; link (it&#039;s fixed now). 

To answer your question, I am almost positive that you need a flickr pro account to use url_o. This is because Flickr for some reason limits the ability to pull the original full sized image for regular users. If you do have a pro account and are still having issues, feel free to email me and I will gladly try to help you out.</description>
		<content:encoded><![CDATA[<p>Hey Dave,</p>
<p>I recently updated the demo and it looks like I made a typo by adding an extra http:// in the <code>url_o</code> link (it&#8217;s fixed now). </p>
<p>To answer your question, I am almost positive that you need a flickr pro account to use url_o. This is because Flickr for some reason limits the ability to pull the original full sized image for regular users. If you do have a pro account and are still having issues, feel free to email me and I will gladly try to help you out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-434</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 16 Aug 2010 18:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-434</guid>
		<description>It seems like the &#039;extras&#039; =&gt; &#039;url_o&#039; isn&#039;t working anymore with Flickr, i&#039;ve been trying to get at the original image, but my arrays don&#039;t have that info. You&#039;re demo is also broken.

Maybe this is something that Flickr has recently changed? 

I can&#039;t find any other info other than what the API says.

Dave</description>
		<content:encoded><![CDATA[<p>It seems like the &#8216;extras&#8217; =&gt; &#8216;url_o&#8217; isn&#8217;t working anymore with Flickr, i&#8217;ve been trying to get at the original image, but my arrays don&#8217;t have that info. You&#8217;re demo is also broken.</p>
<p>Maybe this is something that Flickr has recently changed? </p>
<p>I can&#8217;t find any other info other than what the API says.</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-411</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Sat, 17 Jul 2010 22:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-411</guid>
		<description>Hi David, I responded to your email a moment ago but to share the answer publicly, it appears there was an extra comma at the end of the &lt;code&gt;$params&lt;/code&gt; that could potentially cause an error in certain versions of PHP. I&#039;ve also updated the tutorial to reflect this fix.</description>
		<content:encoded><![CDATA[<p>Hi David, I responded to your email a moment ago but to share the answer publicly, it appears there was an extra comma at the end of the <code>$params</code> that could potentially cause an error in certain versions of PHP. I&#8217;ve also updated the tutorial to reflect this fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-410</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 16 Jul 2010 15:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-410</guid>
		<description>Hi, I hope you may be able to help..

I&#039;ve followed the tutorial through but can&#039;t get it working.. I&#039;ve put my (non-pro account) API key into the code, moved the img src code into the right place but when I try loading it on my local xampp server I get an error..

Parse error: syntax error, unexpected &#039;&lt;&#039; in K:\xampp\htdocs\darkcrimson.php  on line 47

where line 47 is



Can you / someone spot what is wrong?

I&#039;d love this to work! Looks spot on for what I want to do and you code was fairly easy to follow.. I thought! :-)

Any help would be great, thanks</description>
		<content:encoded><![CDATA[<p>Hi, I hope you may be able to help..</p>
<p>I&#8217;ve followed the tutorial through but can&#8217;t get it working.. I&#8217;ve put my (non-pro account) API key into the code, moved the img src code into the right place but when I try loading it on my local xampp server I get an error..</p>
<p>Parse error: syntax error, unexpected &#8216;&lt;&#039; in K:\xampp\htdocs\darkcrimson.php  on line 47</p>
<p>where line 47 is</p>
<p>Can you / someone spot what is wrong?</p>
<p>I&#8217;d love this to work! Looks spot on for what I want to do and you code was fairly easy to follow.. I thought! <img src='http://blog.darkcrimson.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Any help would be great, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-408</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 15 Jul 2010 13:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-408</guid>
		<description>Hi,

I&#039;ve just been following your tutorial above, but can&#039;t get it to work.  I&#039;ve changed the API to my own (a non-pro Flickr account), and copied the src= code block in, but (running on Xampp if it makes any difference) get a parse error..

Parse error: syntax error, unexpected &#039;&lt;&#039; in F:\xampp\htdocs\myfile.php on line 50

Do you know how to fix this? I can&#039;t see where the error is!

Any help greatly appreciated.

p.s. Shouldn&#039;t it be  
$photo_title       = $photo[&#039;title&#039;];   rather than $photo_title       = $photo[&#039;secret&#039;];   ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve just been following your tutorial above, but can&#8217;t get it to work.  I&#8217;ve changed the API to my own (a non-pro Flickr account), and copied the src= code block in, but (running on Xampp if it makes any difference) get a parse error..</p>
<p>Parse error: syntax error, unexpected &#8216;&lt;&#039; in F:\xampp\htdocs\myfile.php on line 50</p>
<p>Do you know how to fix this? I can&#039;t see where the error is!</p>
<p>Any help greatly appreciated.</p>
<p>p.s. Shouldn&#039;t it be<br />
$photo_title       = $photo[&#039;title&#039;];   rather than $photo_title       = $photo[&#039;secret&#039;];   ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-281</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Wed, 06 Jan 2010 22:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-281</guid>
		<description>Doug,

Sorry for the delay in response  and confusion:

 I actually was missing a line in that code block where the urlencode is used on the $params variable.

$encoded_params = array();   should be proceeded by:

foreach ($params as $k =&gt; $v){ $encoded_params[] = urlencode($k).&#039;=&#039;.urlencode($v); }</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>Sorry for the delay in response  and confusion:</p>
<p> I actually was missing a line in that code block where the urlencode is used on the $params variable.</p>
<p>$encoded_params = array();   should be proceeded by:</p>
<p>foreach ($params as $k => $v){ $encoded_params[] = urlencode($k).&#8217;=&#8217;.urlencode($v); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Avery</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-279</link>
		<dc:creator>Doug Avery</dc:creator>
		<pubDate>Sun, 27 Dec 2009 03:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-279</guid>
		<description>Forgive me if I&#039;m just missing something, but how do the parameters become &quot;encoded_params&quot; in your example? I&#039;m not a big PHP person, so I&#039;m not sure what I&#039;d use to normalize these params before concatenation to the URL.

Thanks!</description>
		<content:encoded><![CDATA[<p>Forgive me if I&#8217;m just missing something, but how do the parameters become &#8220;encoded_params&#8221; in your example? I&#8217;m not a big PHP person, so I&#8217;m not sure what I&#8217;d use to normalize these params before concatenation to the URL.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

