<?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: Create a group Twitter account</title>
	<atom:link href="http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/</link>
	<description>3greeneggs.com is written by a professor curious about virtual worlds, web systems, and pretty much everything else.</description>
	<pubDate>Thu, 21 Aug 2008 06:24:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Shai Gluskin</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-271</link>
		<dc:creator>Shai Gluskin</dc:creator>
		<pubDate>Tue, 17 Jun 2008 02:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-271</guid>
		<description>I'm really excited now. Between Drupal's twitter module and the code posted here by Holly, I can create a community crime reporting Twitter in which Twitter members, as well as non-Twitterers (via the Drupal site) will be able to create posts to the twitter.

Sometimes things just all come together.

Shai</description>
		<content:encoded><![CDATA[<p>I&#8217;m really excited now. Between Drupal&#8217;s twitter module and the code posted here by Holly, I can create a community crime reporting Twitter in which Twitter members, as well as non-Twitterers (via the Drupal site) will be able to create posts to the twitter.</p>
<p>Sometimes things just all come together.</p>
<p>Shai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shai Gluskin</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-270</link>
		<dc:creator>Shai Gluskin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 20:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-270</guid>
		<description>Hilary,

Thanks much. It seems like the auto-friending should be part of the API, but oh well, not terrible.

I had to adjust the code a tad to make it run off of my server. The Boolien in response to "if" testing if the message had the right tag would always return false.

I'm running php off a mosso.com server which runs PHP Version 5.2.0-8+etch5~pu1. That's a mouthful.

Here is what I did.

Original code:
&lt;code&gt;if (stripos($post[‘text’],$tag)) {&lt;/code&gt;

What I did to make it work (for me)
&lt;code&gt;$tagexists = stripos($post['text'], $tag);
  if ($tagexists !== false) {&lt;/code&gt;

Hmmm, it seems like it should work either way!

This is great stuff. Twitter has so much potential. I'm going to use this for a group crime reporting Twitter for my neighborhood.

All the best,

Shai</description>
		<content:encoded><![CDATA[<p>Hilary,</p>
<p>Thanks much. It seems like the auto-friending should be part of the API, but oh well, not terrible.</p>
<p>I had to adjust the code a tad to make it run off of my server. The Boolien in response to &#8220;if&#8221; testing if the message had the right tag would always return false.</p>
<p>I&#8217;m running php off a mosso.com server which runs PHP Version 5.2.0-8+etch5~pu1. That&#8217;s a mouthful.</p>
<p>Here is what I did.</p>
<p>Original code:</p>
<div class="codesnip-container" >if (stripos($post[‘text’],$tag)) {</div>
<p>What I did to make it work (for me)</p>
<div class="codesnip-container" >$tagexists = stripos($post['text'], $tag);<br />
  if ($tagexists !== false) {</div>
<p>Hmmm, it seems like it should work either way!</p>
<p>This is great stuff. Twitter has so much potential. I&#8217;m going to use this for a group crime reporting Twitter for my neighborhood.</p>
<p>All the best,</p>
<p>Shai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hilary</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-269</link>
		<dc:creator>Hilary</dc:creator>
		<pubDate>Mon, 16 Jun 2008 19:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-269</guid>
		<description>Hi Shai,

The group twitter user will only pull tweets from the people that it is following. You should log in and have that user follow the set of twitter users you would like in the group.

Alternatively, you can e-mail support@twitter.com and ask them to turn on auto-following for your account. That way, you'll be set up to follow everyone who follows you.

Good luck!

Hilary</description>
		<content:encoded><![CDATA[<p>Hi Shai,</p>
<p>The group twitter user will only pull tweets from the people that it is following. You should log in and have that user follow the set of twitter users you would like in the group.</p>
<p>Alternatively, you can e-mail <a href="mailto:support@twitter.com">support@twitter.com</a> and ask them to turn on auto-following for your account. That way, you&#8217;ll be set up to follow everyone who follows you.</p>
<p>Good luck!</p>
<p>Hilary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shai Gluskin</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-267</link>
		<dc:creator>Shai Gluskin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 04:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-267</guid>
		<description>Okay, my problem in comment #5 was solved by replacing my email address with my username. I'm used to the two being interchangable, but obviously they are different at Twitter's db and this code is clearly calling for the username.

Now my problem is that it just doesn't work. No messages pulled in, but no errors when the script runs :).

I'm confused by this part of the instructions, so maybe that is where the problem is: "# Someone has to log in and manually add followers."

What?

What I thought that meant is that, in order for a person's twitters to be posted to the group account, that person needs to sign up as a "follower" of the group account. Please confirm. Then, as long as a person includes the designated tag in the twitter, that post will get reposted, prepended by the person's Twitter name, to the group twitter.

I presume that the group account does not need to "follow" its followers?

Any insights on the problem would be helpful. This functionality is way cool and very needed.

Shai</description>
		<content:encoded><![CDATA[<p>Okay, my problem in comment #5 was solved by replacing my email address with my username. I&#8217;m used to the two being interchangable, but obviously they are different at Twitter&#8217;s db and this code is clearly calling for the username.</p>
<p>Now my problem is that it just doesn&#8217;t work. No messages pulled in, but no errors when the script runs :).</p>
<p>I&#8217;m confused by this part of the instructions, so maybe that is where the problem is: &#8220;# Someone has to log in and manually add followers.&#8221;</p>
<p>What?</p>
<p>What I thought that meant is that, in order for a person&#8217;s twitters to be posted to the group account, that person needs to sign up as a &#8220;follower&#8221; of the group account. Please confirm. Then, as long as a person includes the designated tag in the twitter, that post will get reposted, prepended by the person&#8217;s Twitter name, to the group twitter.</p>
<p>I presume that the group account does not need to &#8220;follow&#8221; its followers?</p>
<p>Any insights on the problem would be helpful. This functionality is way cool and very needed.</p>
<p>Shai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shai Gluskin</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-266</link>
		<dc:creator>Shai Gluskin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 03:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-266</guid>
		<description>Hi Hilary,

This is fantastic. I'd love to get this into the current Drupal Twitter module which allows posting to a group Twitter via a Drupal web site. Which is great. But people should be able to post from their own Twitter account to a group or event account as you've done here.

I am getting the following error however: "Warning: Invalid argument supplied for foreach()". I don't think it is the same problem mentioned above because the file is on a server running Php 5.2.

Any ideas?

thanks,

Shai Gluskin</description>
		<content:encoded><![CDATA[<p>Hi Hilary,</p>
<p>This is fantastic. I&#8217;d love to get this into the current Drupal Twitter module which allows posting to a group Twitter via a Drupal web site. Which is great. But people should be able to post from their own Twitter account to a group or event account as you&#8217;ve done here.</p>
<p>I am getting the following error however: &#8220;Warning: Invalid argument supplied for foreach()&#8221;. I don&#8217;t think it is the same problem mentioned above because the file is on a server running Php 5.2.</p>
<p>Any ideas?</p>
<p>thanks,</p>
<p>Shai Gluskin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil Creque</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-216</link>
		<dc:creator>Gil Creque</dc:creator>
		<pubDate>Tue, 04 Mar 2008 21:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-216</guid>
		<description>I found another great article on how to do this

http://www.steveouting.com/group-twittering-instructions.html

One of the main things I read was getting auto-follow turned on by tech support.</description>
		<content:encoded><![CDATA[<p>I found another great article on how to do this</p>
<p><a href="http://www.steveouting.com/group-twittering-instructions.html" rel="nofollow">http://www.steveouting.com/group-twittering-instructions.html</a></p>
<p>One of the main things I read was getting auto-follow turned on by tech support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hilary</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-211</link>
		<dc:creator>Hilary</dc:creator>
		<pubDate>Fri, 15 Feb 2008 16:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-211</guid>
		<description>Hi Shawn,

The "json_decode" function is part of the standard PHP 5.2 install. Check it out on &lt;a href="http://us2.php.net/manual/en/function.json-decode.php" rel="nofollow"&gt;php.net&lt;/a&gt;.

Your programmer can either upgrade PHP, or write her own function to parse the JSON output from the Twitter API. :)

Hilary</description>
		<content:encoded><![CDATA[<p>Hi Shawn,</p>
<p>The &#8220;json_decode&#8221; function is part of the standard PHP 5.2 install. Check it out on <a href="http://us2.php.net/manual/en/function.json-decode.php" rel="nofollow">php.net</a>.</p>
<p>Your programmer can either upgrade PHP, or write her own function to parse the JSON output from the Twitter API. <img src='http://www.3greeneggs.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hilary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Collins</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-210</link>
		<dc:creator>Shawn Collins</dc:creator>
		<pubDate>Fri, 15 Feb 2008 04:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-210</guid>
		<description>Our programmer is trying to get this set for us and just sent me the following:

"Now that i am running the cron job, I actually see what the problem with this is.  In the following line:

$last_post = json_decode($twitter-&#62;getUserTimeline(“json”,$twitter_user,1), true);

.... and in this line ....

// get new posts from friends since last update
$friends_posts = json_decode($twitter-&#62;getFriendsTimeline(“json”,$twitter_user,$last_post), true);

... there is a call to a function called "json_decode" which function doesn't exist in the code, nor in the include file mentioned in the text.  Actually, I think that they changed the code for the include file (because it is not hosted on the same server) and that is why we now have a discrepancy in the code which in turn produces an error. "

Any insight on that?</description>
		<content:encoded><![CDATA[<p>Our programmer is trying to get this set for us and just sent me the following:</p>
<p>&#8220;Now that i am running the cron job, I actually see what the problem with this is.  In the following line:</p>
<p>$last_post = json_decode($twitter-&gt;getUserTimeline(“json”,$twitter_user,1), true);</p>
<p>&#8230;. and in this line &#8230;.</p>
<p>// get new posts from friends since last update<br />
$friends_posts = json_decode($twitter-&gt;getFriendsTimeline(“json”,$twitter_user,$last_post), true);</p>
<p>&#8230; there is a call to a function called &#8220;json_decode&#8221; which function doesn&#8217;t exist in the code, nor in the include file mentioned in the text.  Actually, I think that they changed the code for the include file (because it is not hosted on the same server) and that is why we now have a discrepancy in the code which in turn produces an error. &#8221;</p>
<p>Any insight on that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine</title>
		<link>http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-194</link>
		<dc:creator>Alan Levine</dc:creator>
		<pubDate>Tue, 22 Jan 2008 23:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.3greeneggs.com/wp/web-dev/create-a-group-twitter-account/#comment-194</guid>
		<description>Oh this is very cool, and you share lovely code. I am now distracted from my lists of tasks to go and play with this.

thanks</description>
		<content:encoded><![CDATA[<p>Oh this is very cool, and you share lovely code. I am now distracted from my lists of tasks to go and play with this.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
