<?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: how to display your flickr photos using php</title>
	<atom:link href="http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php</link>
	<description>useful info to burn into your mind</description>
	<lastBuildDate>Wed, 18 Jan 2012 03:28:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Satenik</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-63171</link>
		<dc:creator>Satenik</dc:creator>
		<pubDate>Sun, 30 Oct 2011 22:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-63171</guid>
		<description>Hi nice job thanks, but can you please hekp .. how I can make a search with keyword (like for example &quot;cat dog&quot;) how I have to change the followomg code 


$user = $phpFlickrObj-&gt;people_findByUsername($var);
$user_url = $phpFlickrObj-&gt;urls_getUserPhotos($user[&#039;id&#039;]);
$photos = $phpFlickrObj-&gt;people_getPublicPhotos($user[&#039;id&#039;], NULL, NULL, 4);”

for getting only ctas and dogs images 

thanks in advanced.</description>
		<content:encoded><![CDATA[<p>Hi nice job thanks, but can you please hekp .. how I can make a search with keyword (like for example &#8220;cat dog&#8221;) how I have to change the followomg code </p>
<p>$user = $phpFlickrObj-&gt;people_findByUsername($var);<br />
$user_url = $phpFlickrObj-&gt;urls_getUserPhotos($user['id']);<br />
$photos = $phpFlickrObj-&gt;people_getPublicPhotos($user['id'], NULL, NULL, 4);”</p>
<p>for getting only ctas and dogs images </p>
<p>thanks in advanced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Intiaz</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-62391</link>
		<dc:creator>Intiaz</dc:creator>
		<pubDate>Mon, 24 Oct 2011 21:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-62391</guid>
		<description>Hello,
I&#039;ve successfully installed your code on my &quot;Contacts Page&quot; but I would like to show one of Flickr &quot;Sets&quot; instead of just my global photo feed. Is this possible?

Please get back to me at your earliest convenience.
Much appreciated!
Intiaz</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I&#8217;ve successfully installed your code on my &#8220;Contacts Page&#8221; but I would like to show one of Flickr &#8220;Sets&#8221; instead of just my global photo feed. Is this possible?</p>
<p>Please get back to me at your earliest convenience.<br />
Much appreciated!<br />
Intiaz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Sampaio</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-29055</link>
		<dc:creator>Ian Sampaio</dc:creator>
		<pubDate>Sun, 20 Mar 2011 20:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-29055</guid>
		<description>I&#039;m building a multi authors blog and I need to use this beautiful piece of code in wordpress author&#039;s page (author.php) getting user name from a custom field from admin.

I&#039;m struggling to get this working. All I get so far is the account name printed and nothing else:

&quot;$var = the_author_meta( &#039;flickr&#039; );
	    				
$user = $phpFlickrObj-&gt;people_findByUsername($var);
$user_url = $phpFlickrObj-&gt;urls_getUserPhotos($user[&#039;id&#039;]);
$photos = $phpFlickrObj-&gt;people_getPublicPhotos($user[&#039;id&#039;], NULL, NULL, 4);&quot;

Can you give a direction?

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m building a multi authors blog and I need to use this beautiful piece of code in wordpress author&#8217;s page (author.php) getting user name from a custom field from admin.</p>
<p>I&#8217;m struggling to get this working. All I get so far is the account name printed and nothing else:</p>
<p>&#8220;$var = the_author_meta( &#8216;flickr&#8217; );</p>
<p>$user = $phpFlickrObj-&gt;people_findByUsername($var);<br />
$user_url = $phpFlickrObj-&gt;urls_getUserPhotos($user['id']);<br />
$photos = $phpFlickrObj-&gt;people_getPublicPhotos($user['id'], NULL, NULL, 4);&#8221;</p>
<p>Can you give a direction?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Fahad Nasir</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-27290</link>
		<dc:creator>Muhammad Fahad Nasir</dc:creator>
		<pubDate>Wed, 16 Feb 2011 06:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-27290</guid>
		<description>Salam,
Nice work buddy, this blog really helped me. Thanks</description>
		<content:encoded><![CDATA[<p>Salam,<br />
Nice work buddy, this blog really helped me. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: niraj</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-25845</link>
		<dc:creator>niraj</dc:creator>
		<pubDate>Tue, 11 Jan 2011 08:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-25845</guid>
		<description>hey nice blog, i just want to ask,
i added the code, and wordks fine, but if i am using different usernames then i am getting errors
for eg,
if i change the username to &quot;vlerick&quot; it gives me this error
&quot;Warning: Invalid argument supplied for foreach() in \page.php on line 11&quot;

same thing when i tried on your demo, it gives me the same error
the flickr url of this is : http://www.flickr.com/people/vlerick/

whats the problem?</description>
		<content:encoded><![CDATA[<p>hey nice blog, i just want to ask,<br />
i added the code, and wordks fine, but if i am using different usernames then i am getting errors<br />
for eg,<br />
if i change the username to &#8220;vlerick&#8221; it gives me this error<br />
&#8220;Warning: Invalid argument supplied for foreach() in \page.php on line 11&#8243;</p>
<p>same thing when i tried on your demo, it gives me the same error<br />
the flickr url of this is : <a href="http://www.flickr.com/people/vlerick/" rel="nofollow">http://www.flickr.com/people/vlerick/</a></p>
<p>whats the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burNMind</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-21954</link>
		<dc:creator>burNMind</dc:creator>
		<pubDate>Tue, 02 Nov 2010 10:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-21954</guid>
		<description>@rathin:
If you mean the id that Flickr has generated for you (NSID) do the following: remove the &quot;$user = $phpFlickrObj-&gt;people_findByUsername($username);&quot; line and then hard-code your id in the following two lines in the place of &quot;$user[&#039;id&#039;]&quot;.

If you mean your e-mail, then instead of &quot;$user = $phpFlickrObj-&gt;people_findByUsername($username);&quot; use &quot;$user = $phpFlickrObj-&gt;people_findByEmail($email);&quot;.

I hope that helps. You can find all the available Flickr&#039;s API functions here: http://www.flickr.com/services/api/</description>
		<content:encoded><![CDATA[<p>@rathin:<br />
If you mean the id that Flickr has generated for you (NSID) do the following: remove the &#8220;$user = $phpFlickrObj->people_findByUsername($username);&#8221; line and then hard-code your id in the following two lines in the place of &#8220;$user['id']&#8220;.</p>
<p>If you mean your e-mail, then instead of &#8220;$user = $phpFlickrObj->people_findByUsername($username);&#8221; use &#8220;$user = $phpFlickrObj->people_findByEmail($email);&#8221;.</p>
<p>I hope that helps. You can find all the available Flickr&#8217;s API functions here: <a href="http://www.flickr.com/services/api/" rel="nofollow">http://www.flickr.com/services/api/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rathin</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-21884</link>
		<dc:creator>rathin</dc:creator>
		<pubDate>Mon, 01 Nov 2010 06:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-21884</guid>
		<description>Hai, really nice demo. but when I give my yahooid.it&#039;s shown error but if i give my flickr screen name it&#039;s give me the reply.can just tell me how can i make it using yahoo id.</description>
		<content:encoded><![CDATA[<p>Hai, really nice demo. but when I give my yahooid.it&#8217;s shown error but if i give my flickr screen name it&#8217;s give me the reply.can just tell me how can i make it using yahoo id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burNMind</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-13285</link>
		<dc:creator>burNMind</dc:creator>
		<pubDate>Sat, 01 May 2010 21:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-13285</guid>
		<description>Hello Samuel,

Can you explain in more detail your question? I cannot understand what you want me to explain :-)</description>
		<content:encoded><![CDATA[<p>Hello Samuel,</p>
<p>Can you explain in more detail your question? I cannot understand what you want me to explain <img src='http://www.burnmind.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-13263</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Fri, 30 Apr 2010 13:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-13263</guid>
		<description>Thank you I got your code and it worked fine.
But can you explain how you display the next set of results from a search maybe?
Thanks</description>
		<content:encoded><![CDATA[<p>Thank you I got your code and it worked fine.<br />
But can you explain how you display the next set of results from a search maybe?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burNMind</title>
		<link>http://www.burnmind.com/howto/how-to-display-your-flickr-photos-using-php/comment-page-1#comment-13262</link>
		<dc:creator>burNMind</dc:creator>
		<pubDate>Fri, 30 Apr 2010 11:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=399#comment-13262</guid>
		<description>Hello Dave,

You can get the photo&#039;s description using the following code (place it into the foreach loop of the example):

$info = $f-&gt;photos_getInfo($photo[id]);
echo $info[&#039;description&#039;];

I hope that helps.</description>
		<content:encoded><![CDATA[<p>Hello Dave,</p>
<p>You can get the photo&#8217;s description using the following code (place it into the foreach loop of the example):</p>
<p>$info = $f->photos_getInfo($photo[id]);<br />
echo $info['description'];</p>
<p>I hope that helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

