<?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: Collabtweet - Multiple Users, Single Twitter Account</title>
	<atom:link href="http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/feed/" rel="self" type="application/rss+xml" />
	<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/</link>
	<description>on web development</description>
	<pubDate>Sat, 04 Feb 2012 06:44:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gem</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-11664</link>
		<dc:creator>Gem</dc:creator>
		<pubDate>Wed, 30 Mar 2011 14:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-11664</guid>
		<description>Iv got exactly the same problem as Rutger has Twitter stopped this from working?

G</description>
		<content:encoded><![CDATA[<p>Iv got exactly the same problem as Rutger has Twitter stopped this from working?</p>
<p>G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rutger</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-9081</link>
		<dc:creator>rutger</dc:creator>
		<pubDate>Tue, 18 Jan 2011 09:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-9081</guid>
		<description>I have everything setup as far as I can see, the site lets me post a tweet and all seems to be going alright, but it never shows up on my twitter.

Any idea what could be wrong?</description>
		<content:encoded><![CDATA[<p>I have everything setup as far as I can see, the site lets me post a tweet and all seems to be going alright, but it never shows up on my twitter.</p>
<p>Any idea what could be wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Dragon</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7757</link>
		<dc:creator>Red Dragon</dc:creator>
		<pubDate>Wed, 03 Nov 2010 17:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7757</guid>
		<description>Disregard that last comment - it does try to load some web page with the error at the bottom,  but its not twitterOAuth.php

My post from (11.1.10 / 6pm) is accurate though.  Sorry.</description>
		<content:encoded><![CDATA[<p>Disregard that last comment - it does try to load some web page with the error at the bottom,  but its not twitterOAuth.php</p>
<p>My post from (11.1.10 / 6pm) is accurate though.  Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Dragon</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7756</link>
		<dc:creator>Red Dragon</dc:creator>
		<pubDate>Wed, 03 Nov 2010 17:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7756</guid>
		<description>The error above actually loads the page twitterOAuth.php into the browser and displays it as if it were a web page meant to be displayed -- and the error is at the very bottom.

Please help?</description>
		<content:encoded><![CDATA[<p>The error above actually loads the page twitterOAuth.php into the browser and displays it as if it were a web page meant to be displayed &#8212; and the error is at the very bottom.</p>
<p>Please help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Dragon</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7723</link>
		<dc:creator>Red Dragon</dc:creator>
		<pubDate>Mon, 01 Nov 2010 13:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7723</guid>
		<description>I don't know whats going on -- it keeps giving an error on the connection string:

Fatal error: Class 'TwitterOAuth' not found in D:\Hosting\xxxxxx\html\myWebsite.com\twitter\collabtweet.php  on line 24

Line 24 is:
$connection = new TwitterOAuth("xxx, xxx, xxx, xxx");

I definitely downloaded the libraries and uploaded them too, so that isn't the problem.

Please help?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know whats going on &#8212; it keeps giving an error on the connection string:</p>
<p>Fatal error: Class &#8216;TwitterOAuth&#8217; not found in D:\Hosting\xxxxxx\html\myWebsite.com\twitter\collabtweet.php  on line 24</p>
<p>Line 24 is:<br />
$connection = new TwitterOAuth(&#8221;xxx, xxx, xxx, xxx&#8221;);</p>
<p>I definitely downloaded the libraries and uploaded them too, so that isn&#8217;t the problem.</p>
<p>Please help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: c0bra</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7701</link>
		<dc:creator>c0bra</dc:creator>
		<pubDate>Sat, 30 Oct 2010 10:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7701</guid>
		<description>it looks like u havent uploaded the twitter librarys yet....

oh, i see... i forgot to mention it: goto http://github.com/abraham/twitteroauth/tree/master/twitteroauth/

and get the two files. put them into a directory named "twitteroauth"

i hope this was the only mistake!

ive added some exception management...not very detailed but i think it'll do the job.

i cant upload a full version here and anywhere else would be not very gentle.

function tweet() {
	$status = $_POST['tweet'].' @'.$_SESSION['username'];
	
	require_once('twitteroauth/twitterOAuth.php');
	
	$oauth_token = "-fill in here-";
	$oauth_token_secret = "-fill in here-";

	function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) {
	  $connection = new TwitterOAuth("-fill consumer key in here-", "-fill in consumer secret here-", $oauth_token, $oauth_token_secret);
	  return $connection;
	}

	$connection = getConnectionWithAccessToken($oauth_token, $oauth_token_secret);
	//$connection-&gt;format = 'json';
	
	
	$content = $connection-&gt;OAuthRequest('https://twitter.com/statuses/update.json', array('status' =&gt; $status), 'POST');
	
	$response = json_decode($content);
	
	global $twitterUser;
	
	if (isset($response-&gt;{'id'})) {
		echo $twitterUser."/status/".$response-&gt;{'id'};
	} else {
		fwrite($log, "tweeting not successful!\n");
		echo "0";
	}
}</description>
		<content:encoded><![CDATA[<p>it looks like u havent uploaded the twitter librarys yet&#8230;.</p>
<p>oh, i see&#8230; i forgot to mention it: goto <a href="http://github.com/abraham/twitteroauth/tree/master/twitteroauth/" rel="nofollow">http://github.com/abraham/twitteroauth/tree/master/twitteroauth/</a></p>
<p>and get the two files. put them into a directory named &#8220;twitteroauth&#8221;</p>
<p>i hope this was the only mistake!</p>
<p>ive added some exception management&#8230;not very detailed but i think it&#8217;ll do the job.</p>
<p>i cant upload a full version here and anywhere else would be not very gentle.</p>
<p>function tweet() {<br />
	$status = $_POST['tweet'].&#8217; @&#8217;.$_SESSION['username'];</p>
<p>	require_once(&#8217;twitteroauth/twitterOAuth.php&#8217;);</p>
<p>	$oauth_token = &#8220;-fill in here-&#8221;;<br />
	$oauth_token_secret = &#8220;-fill in here-&#8221;;</p>
<p>	function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) {<br />
	  $connection = new TwitterOAuth(&#8221;-fill consumer key in here-&#8221;, &#8220;-fill in consumer secret here-&#8221;, $oauth_token, $oauth_token_secret);<br />
	  return $connection;<br />
	}</p>
<p>	$connection = getConnectionWithAccessToken($oauth_token, $oauth_token_secret);<br />
	//$connection-&gt;format = &#8216;json&#8217;;</p>
<p>	$content = $connection-&gt;OAuthRequest(&#8217;https://twitter.com/statuses/update.json&#8217;, array(&#8217;status&#8217; =&gt; $status), &#8216;POST&#8217;);</p>
<p>	$response = json_decode($content);</p>
<p>	global $twitterUser;</p>
<p>	if (isset($response-&gt;{&#8217;id&#8217;})) {<br />
		echo $twitterUser.&#8221;/status/&#8221;.$response-&gt;{&#8217;id&#8217;};<br />
	} else {<br />
		fwrite($log, &#8220;tweeting not successful!\n&#8221;);<br />
		echo &#8220;0&#8243;;<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Dragon</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7643</link>
		<dc:creator>Red Dragon</dc:creator>
		<pubDate>Wed, 27 Oct 2010 12:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7643</guid>
		<description>Thanks c0bra, but I cannot get it to work,  Is there any chance of posting a working example?  My problem is as follows:

I’ve registered everything with Twitter and received my token and consumer key and secret, but when I try to submit a Tweet though CollabTweet, it attempts to send and then seems to break when running the following line of code:

require_once('twitteroauth/twitteroauth.php');

It says:

Fatal error: Class 'TwitterOAuth' not found in D:\Hosting\xxxxxxx\html\MYURL.com\twitter\collabtweet.php on line 27

Line 27 is:

$connection = new TwitterOAuth(”-enter consumer key here-”, “-enter consumer secret here-”, $oauth_token, $oauth_token_secret);

Can you please help?</description>
		<content:encoded><![CDATA[<p>Thanks c0bra, but I cannot get it to work,  Is there any chance of posting a working example?  My problem is as follows:</p>
<p>I’ve registered everything with Twitter and received my token and consumer key and secret, but when I try to submit a Tweet though CollabTweet, it attempts to send and then seems to break when running the following line of code:</p>
<p>require_once(&#8217;twitteroauth/twitteroauth.php&#8217;);</p>
<p>It says:</p>
<p>Fatal error: Class &#8216;TwitterOAuth&#8217; not found in D:\Hosting\xxxxxxx\html\MYURL.com\twitter\collabtweet.php on line 27</p>
<p>Line 27 is:</p>
<p>$connection = new TwitterOAuth(”-enter consumer key here-”, “-enter consumer secret here-”, $oauth_token, $oauth_token_secret);</p>
<p>Can you please help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: c0bra</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7618</link>
		<dc:creator>c0bra</dc:creator>
		<pubDate>Mon, 25 Oct 2010 22:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7618</guid>
		<description>for oauth use:

get oauth lib: http://abrah.am
register on ur account a new application and generate ur one access token: http://dev.twitter.com/pages/oauth_single_token

change tweet function like this... i know exception handling is missing... any ideas?

function tweet() {
	$status = $_POST['tweet'].' @'.$_SESSION['username'];
	
	require_once('twitteroauth/twitterOAuth.php');
	
	$oauth_token = "-enter token here-";
	$oauth_token_secret = "-enter token secret here-";

	//$consumer_key = "UQ2hRW1Z7smmSPJPiaQxg";
	//$consumer_secret = "eYLfaDVCGEKHyN14nOz4rV0SdH3mniki9ohnd8rko";
	
	function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) {
	  $connection = new TwitterOAuth("-enter consumer key here-", "-enter consumer secret here-", $oauth_token, $oauth_token_secret);
	  return $connection;
	}

	$connection = getConnectionWithAccessToken($oauth_token, $oauth_token_secret);
	$connection-&gt;format = 'xml';
	
	
	$content = $connection-&gt;OAuthRequest('https://twitter.com/statuses/update.xml', array('status' =&gt; $status), 'POST');

	global $twitterUser;
	echo "$twitterUser";
}</description>
		<content:encoded><![CDATA[<p>for oauth use:</p>
<p>get oauth lib: <a href="http://abrah.am" rel="nofollow">http://abrah.am</a><br />
register on ur account a new application and generate ur one access token: <a href="http://dev.twitter.com/pages/oauth_single_token" rel="nofollow">http://dev.twitter.com/pages/oauth_single_token</a></p>
<p>change tweet function like this&#8230; i know exception handling is missing&#8230; any ideas?</p>
<p>function tweet() {<br />
	$status = $_POST['tweet'].&#8217; @&#8217;.$_SESSION['username'];</p>
<p>	require_once(&#8217;twitteroauth/twitterOAuth.php&#8217;);</p>
<p>	$oauth_token = &#8220;-enter token here-&#8221;;<br />
	$oauth_token_secret = &#8220;-enter token secret here-&#8221;;</p>
<p>	//$consumer_key = &#8220;UQ2hRW1Z7smmSPJPiaQxg&#8221;;<br />
	//$consumer_secret = &#8220;eYLfaDVCGEKHyN14nOz4rV0SdH3mniki9ohnd8rko&#8221;;</p>
<p>	function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) {<br />
	  $connection = new TwitterOAuth(&#8221;-enter consumer key here-&#8221;, &#8220;-enter consumer secret here-&#8221;, $oauth_token, $oauth_token_secret);<br />
	  return $connection;<br />
	}</p>
<p>	$connection = getConnectionWithAccessToken($oauth_token, $oauth_token_secret);<br />
	$connection-&gt;format = &#8216;xml&#8217;;</p>
<p>	$content = $connection-&gt;OAuthRequest(&#8217;https://twitter.com/statuses/update.xml&#8217;, array(&#8217;status&#8217; =&gt; $status), &#8216;POST&#8217;);</p>
<p>	global $twitterUser;<br />
	echo &#8220;$twitterUser&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Dragon</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-7093</link>
		<dc:creator>Red Dragon</dc:creator>
		<pubDate>Fri, 17 Sep 2010 16:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-7093</guid>
		<description>Has anyone figured out how to make CollabTweet work with Twitter's new OAuth changes?  I really need to get it working again.  Thanks!</description>
		<content:encoded><![CDATA[<p>Has anyone figured out how to make CollabTweet work with Twitter&#8217;s new OAuth changes?  I really need to get it working again.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: islasands</title>
		<link>http://anantgarg.com/2009/05/20/collabtweet-multiple-users-single-twitter-account/comment-page-1/#comment-6508</link>
		<dc:creator>islasands</dc:creator>
		<pubDate>Wed, 21 Jul 2010 11:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=273#comment-6508</guid>
		<description>I have a free-hosted multi-user wordpress site and want to use collabtweet. Not sure how to do it. Can you help?</description>
		<content:encoded><![CDATA[<p>I have a free-hosted multi-user wordpress site and want to use collabtweet. Not sure how to do it. Can you help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

