<?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"
	>
<channel>
	<title>Comments on: Instagram API implementation in PHP</title>
	<atom:link href="http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/</link>
	<description>PHP insights, tips and tricks</description>
	<pubDate>Mon, 21 May 2012 08:28:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Mauricio Cuenca</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-290</link>
		<dc:creator>Mauricio Cuenca</dc:creator>
		<pubDate>Sat, 05 May 2012 10:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-290</guid>
		<description>@Gaurav, you can modify the _setOauthToken() method to pass along the "scope" as an additional parameter. The developer's documentation has full details about how scopes work: http://instagr.am/developer/authentication/#scope</description>
		<content:encoded><![CDATA[<p>@Gaurav, you can modify the _setOauthToken() method to pass along the &#8220;scope&#8221; as an additional parameter. The developer&#8217;s documentation has full details about how scopes work: <a href="http://instagr.am/developer/authentication/#scope" rel="nofollow">http://instagr.am/developer/authentication/#scope</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Bains</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-289</link>
		<dc:creator>Gaurav Bains</dc:creator>
		<pubDate>Fri, 04 May 2012 06:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-289</guid>
		<description>Hi Mauricio,
Thanks for this awesome API.
I have got most of the functions running properly, but for POST functions, i get Permissions error, like when following other user, i get error "This request requires scope=relationships, but this access token is not authorized with this scope. The user must re-authorize your application with scope=relationships to be granted write permissions."

I know, i need to get Scope (Permissions), as relationships+comments+likes, but how &#38; where to do that, i certainly don't know.
Please help</description>
		<content:encoded><![CDATA[<p>Hi Mauricio,<br />
Thanks for this awesome API.<br />
I have got most of the functions running properly, but for POST functions, i get Permissions error, like when following other user, i get error &#8220;This request requires scope=relationships, but this access token is not authorized with this scope. The user must re-authorize your application with scope=relationships to be granted write permissions.&#8221;</p>
<p>I know, i need to get Scope (Permissions), as relationships+comments+likes, but how &amp; where to do that, i certainly don&#8217;t know.<br />
Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Lima</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-288</link>
		<dc:creator>Andrey Lima</dc:creator>
		<pubDate>Thu, 03 May 2012 03:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-288</guid>
		<description>Hi Mauricio,

How do I use this method of display instead of presenting only the most popular images as in the example?

   / **
      * Get the most recent media published by a user.
      * @ Param $ id. User id
      * @ Param $ maxId. Average return after this maxId
      * @ Param $ minId. Average return before this minId
      * @ Param $ maxTimestamp. Average return before this UNIX timestamp
      * @ Param $ minTimestamp. Average return after this UNIX timestamp
      * /
     public function getUserRecent ($ id, $ maxId ='', $ minId ='', $ maxTimestamp ='', $ minTimestamp ='') {
         $ endpointUrl = sprintf ($ this-&#62; _endpointUrls ['user_recent'], $ id, $ this-&#62; getAccessToken (), $ maxId, minId $, $ maxTimestamp, $ minTimestamp);
         $ this-&#62; _initHttpClient ($ endpointUrl);
         return $ this-&#62; _getHttpClientResponse ();
     }</description>
		<content:encoded><![CDATA[<p>Hi Mauricio,</p>
<p>How do I use this method of display instead of presenting only the most popular images as in the example?</p>
<p>   / **<br />
      * Get the most recent media published by a user.<br />
      * @ Param $ id. User id<br />
      * @ Param $ maxId. Average return after this maxId<br />
      * @ Param $ minId. Average return before this minId<br />
      * @ Param $ maxTimestamp. Average return before this UNIX timestamp<br />
      * @ Param $ minTimestamp. Average return after this UNIX timestamp<br />
      * /<br />
     public function getUserRecent ($ id, $ maxId =&#8221;, $ minId =&#8221;, $ maxTimestamp =&#8221;, $ minTimestamp =&#8221;) {<br />
         $ endpointUrl = sprintf ($ this-&gt; _endpointUrls ['user_recent'], $ id, $ this-&gt; getAccessToken (), $ maxId, minId $, $ maxTimestamp, $ minTimestamp);<br />
         $ this-&gt; _initHttpClient ($ endpointUrl);<br />
         return $ this-&gt; _getHttpClientResponse ();<br />
     }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Lima</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-287</link>
		<dc:creator>Andrey Lima</dc:creator>
		<pubDate>Wed, 02 May 2012 22:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-287</guid>
		<description>Any Help ?? :D</description>
		<content:encoded><![CDATA[<p>Any Help ?? <img src='http://www.mauriciocuenca.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Lima</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-286</link>
		<dc:creator>Andrey Lima</dc:creator>
		<pubDate>Mon, 30 Apr 2012 21:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-286</guid>
		<description>Hi Mauricio, the tip for @Dennis not work to me too :( 

Thanks for help!</description>
		<content:encoded><![CDATA[<p>Hi Mauricio, the tip for @Dennis not work to me too <img src='http://www.mauriciocuenca.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Thanks for help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Lima</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-285</link>
		<dc:creator>Andrey Lima</dc:creator>
		<pubDate>Mon, 30 Apr 2012 21:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-285</guid>
		<description>I made this way was not successful:

/ / Instantiate the object handler API
Instagram Instagram $ = new ($ config);
$ $ = accessToken Instagram-&#62; getAccessToken ();
$ _SESSION ['InstagramAccessToken'] = $ accessToken;

Instagram $-&#62; setAccessToken ($ _SESSION ['InstagramAccessToken']);
$ = $ Instagram popular-&#62; getUserRecent ();</description>
		<content:encoded><![CDATA[<p>I made this way was not successful:</p>
<p>/ / Instantiate the object handler API<br />
Instagram Instagram $ = new ($ config);<br />
$ $ = accessToken Instagram-&gt; getAccessToken ();<br />
$ _SESSION ['InstagramAccessToken'] = $ accessToken;</p>
<p>Instagram $-&gt; setAccessToken ($ _SESSION ['InstagramAccessToken']);<br />
$ = $ Instagram popular-&gt; getUserRecent ();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Cuenca</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-284</link>
		<dc:creator>Mauricio Cuenca</dc:creator>
		<pubDate>Mon, 30 Apr 2012 21:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-284</guid>
		<description>@Dennis, replace the line:
$popular = $instagram-&gt;getPopularMedia(); with: $tags = $instagram-&gt;getTags('example'); and that should do the trick!

@Andrey, you can retrieve the latest media for a given user with the getUserRecent() method.</description>
		<content:encoded><![CDATA[<p>@Dennis, replace the line:<br />
$popular = $instagram->getPopularMedia(); with: $tags = $instagram->getTags(&#8217;example&#8217;); and that should do the trick!</p>
<p>@Andrey, you can retrieve the latest media for a given user with the getUserRecent() method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Lima</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-283</link>
		<dc:creator>Andrey Lima</dc:creator>
		<pubDate>Mon, 30 Apr 2012 19:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-283</guid>
		<description>Hi Mauricio,

I would like your help. How could I change the display of images of "popular" for profile pictures attached for example? I tried just changing the "getPopularMedia" by "GetRecentMediaForUser" but without success.</description>
		<content:encoded><![CDATA[<p>Hi Mauricio,</p>
<p>I would like your help. How could I change the display of images of &#8220;popular&#8221; for profile pictures attached for example? I tried just changing the &#8220;getPopularMedia&#8221; by &#8220;GetRecentMediaForUser&#8221; but without success.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-282</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Sat, 14 Apr 2012 10:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-282</guid>
		<description>Hi Mauricio,

Is it possible to show all the photos of a certain hashtag ?
And show the last 10 photos of that hashtag.

Thanks in advance,

Dennis</description>
		<content:encoded><![CDATA[<p>Hi Mauricio,</p>
<p>Is it possible to show all the photos of a certain hashtag ?<br />
And show the last 10 photos of that hashtag.</p>
<p>Thanks in advance,</p>
<p>Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Thompson</title>
		<link>http://www.mauriciocuenca.com/blog/2011/02/instagram-api-implementation-in-php/#comment-280</link>
		<dc:creator>Greg Thompson</dc:creator>
		<pubDate>Mon, 23 Jan 2012 19:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauriciocuenca.com/blog/?p=133#comment-280</guid>
		<description>How would one use this to just show images on a page. It seems that the authorization URL is required everytime to show anything. I would just like to display my images on a page. Thanks.</description>
		<content:encoded><![CDATA[<p>How would one use this to just show images on a page. It seems that the authorization URL is required everytime to show anything. I would just like to display my images on a page. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

