<?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: Snippet: Fetch Twitter Feed (With Retweets) in PHP</title>
	<atom:link href="http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/</link>
	<description>Web development blog from UltraMega Tech.</description>
	<lastBuildDate>Thu, 22 Jul 2010 02:09:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: xot</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1253</link>
		<dc:creator>xot</dc:creator>
		<pubDate>Sun, 18 Jul 2010 18:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1253</guid>
		<description>Changing this line:
&lt;code&gt;               &#039;/(#[a-z1-9_]+)/i&#039;);&lt;/code&gt;
... to this:
&lt;code&gt;               &#039;/#([a-z1-9_]+)/i&#039;);&lt;/code&gt;
And this line:
&lt;code&gt;               &#039;&lt;a href=&quot;http://twitter.com/search?q=$1&quot; rel=&quot;nofollow&quot;&gt;$1&lt;/a&gt;&#039;);&lt;/code&gt;
... to this:
&lt;code&gt;               &#039;&lt;a href=&quot;http://twitter.com/search?q=%23$1&quot; rel=&quot;nofollow&quot;&gt;#$1&lt;/a&gt;&#039;);&lt;/code&gt;
... will increase compatibility with the Google Chrome browser.</description>
		<content:encoded><![CDATA[<p>Changing this line:<br />
<code>               '/(#[a-z1-9_]+)/i');</code><br />
&#8230; to this:<br />
<code>               '/#([a-z1-9_]+)/i');</code></p>
<p>And this line:<br />
<code>               '&lt;a href="http://twitter.com/search?q=$1" rel="nofollow">$1&lt;/a>');</code><br />
&#8230; to this:<br />
<code>               '&lt;a href="http://twitter.com/search?q=%23$1" rel="nofollow">#$1&lt;/a>');</code></p>
<p>&#8230; will increase compatibility with the Google Chrome browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xot</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1242</link>
		<dc:creator>xot</dc:creator>
		<pubDate>Sun, 13 Jun 2010 21:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1242</guid>
		<description>If this doesn&#039;t work for you (it seemed to give me problems on another machine), an alternative is to keep the ID as a string and pad the left side with zeroes using strpad(). Padding IDs to an equal length ensures that alphabetical sorting works as expected.</description>
		<content:encoded><![CDATA[<p>If this doesn&#8217;t work for you (it seemed to give me problems on another machine), an alternative is to keep the ID as a string and pad the left side with zeroes using strpad(). Padding IDs to an equal length ensures that alphabetical sorting works as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xot</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1241</link>
		<dc:creator>xot</dc:creator>
		<pubDate>Sun, 13 Jun 2010 19:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1241</guid>
		<description>There is a bug in this for 32-bit systems. The intval() function will overflow and always returns 2147483647 once Twitter message IDs have exceeded this number (which they have). Because of this, the elements in the $updates[] array will continually overwrite themselves because they are all using the same index.
It has been suggested on php.net that using the addition operator to convert the string can get around this, for example:
$num = &#039;100000000000 &#039; + 0;
I have not thoroughly tested this myself but it seems to work.</description>
		<content:encoded><![CDATA[<p>There is a bug in this for 32-bit systems. The intval() function will overflow and always returns 2147483647 once Twitter message IDs have exceeded this number (which they have). Because of this, the elements in the $updates[] array will continually overwrite themselves because they are all using the same index. </p>
<p>It has been suggested on php.net that using the addition operator to convert the string can get around this, for example:</p>
<p>$num = &#8217;100000000000 &#8216; + 0;</p>
<p>I have not thoroughly tested this myself but it seems to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1119</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 18 Jan 2010 17:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1119</guid>
		<description>You need to install APC to use the APC caching functions.
http://www.php.net/manual/apc.installation.php</description>
		<content:encoded><![CDATA[<p>You need to install APC to use the APC caching functions.</p>
<p><a href="http://www.php.net/manual/apc.installation.php" rel="nofollow">http://www.php.net/manual/apc.installation.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1116</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Mon, 18 Jan 2010 10:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1116</guid>
		<description>Fatal error: Call to undefined function apc_fetch() in D:\wamp\www\UCPNEW\twtr.php on line 8</description>
		<content:encoded><![CDATA[<p>Fatal error: Call to undefined function apc_fetch() in D:\wamp\www\UCPNEW\twtr.php on line 8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric B.</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/comment-page-1/#comment-1068</link>
		<dc:creator>Eric B.</dc:creator>
		<pubDate>Tue, 29 Dec 2009 21:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805#comment-1068</guid>
		<description>Thanks for sharing this snippet! I&#039;m sure this could be useful in many applications.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this snippet! I&#8217;m sure this could be useful in many applications.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
