<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mashups, Marketing and Me &#187; Twitter</title>
	<atom:link href="http://www.cfg.no/category/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cfg.no</link>
	<description>The blog project, a journey!</description>
	<lastBuildDate>Wed, 02 Sep 2009 17:51:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HOWTO: Creating the Simplest Twitter API Client in PHP</title>
		<link>http://www.cfg.no/2009/05/howto-creating-the-simplest-twitter-api-client-in-php/</link>
		<comments>http://www.cfg.no/2009/05/howto-creating-the-simplest-twitter-api-client-in-php/#comments</comments>
		<pubDate>Thu, 21 May 2009 19:36:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter api]]></category>

		<guid isPermaLink="false">http://www.cfg.no/?p=139</guid>
		<description><![CDATA[		
		
		
		Do you run a website?  Heard about the Twitter API? Try it!
I have been playing around with the Twitter API lately, all though the OpenAuth is a bit more hassle they still support the &#8216;old&#8217; API for a bit longer. Twitter has not set a definitive date on when these applications will stop working [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://www.cfg.no/2009/05/howto-creating-the-simplest-twitter-api-client-in-php/";
		digg_bgcolor = "";
		digg_skin = "";
		digg_window = "";
		digg_title = "HOWTO%3A+Creating+the+Simplest+Twitter+API+Client+in+PHP";
		digg_media = "";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p><em>Do you run a website?  <strong>Heard about the Twitter API?</strong> Try it!</em></p>
<p>I have been playing around with the Twitter API lately, all though the OpenAuth is a bit more hassle they still support the &#8216;old&#8217; API for a bit longer. Twitter has not set a definitive date on when these applications will stop working but it will happen.<br />
In the mean time, it&#8217;s a good way to learn how to play with the API without dealing with all the openauth stuff.</p>
<p>I have created an example function that you can use to create your own Twitter applications, it does not support or have any sense of sessions but if you intend to play, check it out!   Extend it, tell me about your changes!</p>
<p>You need Zend for this example to work, and more specifically the Zend Json decoder part. It helps parsing the JSON information sent from Twitter.</p>
<blockquote><p>
&lt;?php<br />
/* Simple Twitter API Client Example utilizing Zend/Json<br />
* http://www.cfg.no/ &#8211; Espen Holm Nilsen 20090521<br />
*/<br />
require_once &#8216;Zend/Json.php&#8217;;</p>
<p>function twitterJsonGet ($strUser, $strPassword, $strUrl) {<br />
$strBasicAuth = base64_encode($strUser . &#8216;:&#8217; . $strPassword);<br />
$strRequest = &#8220;GET &#8221; . $strUrl . &#8220;.json HTTP/1.1\nAuthorization: Basic &#8221; . $strBasicAuth . &#8220;\nUser-Agent: PHPTwitter 1.0 (http://www.cfg.no)\nHost: twitter.com\nAccept: */*\r\n\r\n&#8221;;<br />
$fd = fsockopen(&#8216;twitter.com&#8217;, 80);<br />
if (!$fd)<br />
die(&#8220;Could not connect to Twitter&#8221;);<br />
fputs($fd, $strRequest);<br />
while (!feof($fd)) $buf .= fgets($fd, 1024);</p>
<p>$res = explode(&#8220;\r\n\r\n&#8221;, $buf);</p>
<p>if (!preg_match(&#8220;/^HTTP\/1\.1\s200\sOK/&#8221;, $res[0]))<br />
return FALSE;</p>
<p>return Zend_Json::Decode($res[1]);<br />
}</p>
<p>if ($_POST['twitteruser'] &amp;&amp; $_POST['twitterpass']) {<br />
$user = twitterJsonGet($_POST['twitteruser'], $_POST['twitterpass'], &#8216;/account/verify_credentials&#8217;);<br />
print &#8220;You are &lt;a href=&#8217;http://twitter.com/&#8221; . $user['screen_name'] . &#8220;&#8216;&gt;&#8221; . $user['screen_name'] . &#8220;&lt;/a&gt;&lt;br&gt;&#8221;;<br />
print &#8220;You follow &#8221; . $user['friends_count'] . &#8216; people and have &#8216; . $user['followers_count'] . &#8221; followers.&lt;br&gt;&#8221;;<br />
}</p>
<p>?&gt;</p>
<p>&lt;form action=&#8217;?&#8217; method=&#8217;POST&#8217;&gt;<br />
Twitter username&lt;br&gt;&lt;input type=&#8221;text&#8221; name=&#8221;twitteruser&#8221;&gt;&lt;br&gt;<br />
&lt;br&gt;<br />
Twitter password&lt;br&gt;&lt;input type=&#8221;password&#8221; name=&#8221;twitterpass&#8221;&gt;&lt;br&gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;Who am I?&#8221;&gt;<br />
&lt;/form&gt;
</p></blockquote>
<p>The application example runs live here: http://arpa.no/twitter.php<br />
Since it&#8217;s Twitter specific, you should <a href="http://twitter.com/home?status=Reading%20HOWTO%20Creating%20the%20Simplest%20Twitter%20API%20Client%20In%20PHP%20on%20http://bit.ly/kpVQH">Tweet</a> it, or retweet if you saw it in a Tweet! <img src='http://www.cfg.no/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Good luck, let me know how you do!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfg.no/2009/05/howto-creating-the-simplest-twitter-api-client-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>14 Excellent Power Twitter Tools and Tips</title>
		<link>http://www.cfg.no/2009/05/14-excellent-power-twitter-tools-and-tips/</link>
		<comments>http://www.cfg.no/2009/05/14-excellent-power-twitter-tools-and-tips/#comments</comments>
		<pubDate>Thu, 21 May 2009 15:23:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[socialwhois]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tweetdeck]]></category>
		<category><![CDATA[twibble]]></category>
		<category><![CDATA[twitiq]]></category>
		<category><![CDATA[twitscope]]></category>
		<category><![CDATA[twitter karma]]></category>
		<category><![CDATA[twitterific]]></category>

		<guid isPermaLink="false">http://www.cfg.no/?p=111</guid>
		<description><![CDATA[		
		
		
		Are you a Twitter user? Looking to Twitter more effectively?
Recently created a new Twitter account because of big differences in my crowd, my cisco network twitter user
These are 14 applications that will give you more control over Twitter!

TweetDeck is an excellent application for Twitter. You can group the people you are following, have widgets with [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://www.cfg.no/2009/05/14-excellent-power-twitter-tools-and-tips/";
		digg_bgcolor = "";
		digg_skin = "";
		digg_window = "";
		digg_title = "14+Excellent+Power+Twitter+Tools+and+Tips";
		digg_media = "";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p><strong>Are you a Twitter user?</strong> Looking to Twitter more effectively?<br />
Recently created a new Twitter account because of big differences in my crowd, my cisco network <a href="http://twitter.com/holmie">twitter user</a><br />
These are 14 applications that will give you more control over <a href="http://www.twitter.com">Twitter</a>!</p>
<ol>
<li><strong><a href="http://tweetdeck.com">TweetDeck</a></strong> is an excellent application for Twitter. You can group the people you are following, have widgets with custom searches. This application makes it possible to stay on top at all times! This application is also one of the most popular Twitter clients.
<p><em><strong>Pros:</strong> Time saving and clean overview!</em></p>
</li>
<li>
<p><strong><a href="http://twitterrific.com/">Twitterrific</a></strong> is a Twitter App for iPhone, makes it possible to Tweet on the move. This is the way Twitter was intended to be used.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twitterific.jpg" alt="twitterific" title="twitterific" width="268" height="368" class="alignnone size-full wp-image-113" /></p>
<p><em><strong>Pros:</strong> Mobility!</em></p>
</li>
<li>
<strong><a href="http://www.twibble.de/twibble-mobile/">Twibble Mobile</a></strong> is an application for other java enabled smart phones, like the Nokia N95 or BlackBerry.<br />
<div id="attachment_114" class="wp-caption alignnone" style="width: 210px"><img src="http://www.cfg.no/wp-content/uploads/2009/05/twibble_mobile200x1511.png" alt="Twibble Mobile" title="twibble_mobile200x1511" width="200" height="151" class="size-full wp-image-114" /><p class="wp-caption-text">Twibble Mobile</p></div></p>
<p><em><strong>Pros:</strong> Mobility, tweet on the go!</em></p>
</li>
<li>
 <strong><a href="http://www.twitiq.com/">TwitIQ</a></strong> is a genious application that looks very much like the usual Twitter web interface, but it is massively extended. It also supports managing of multiple accounts, so for you (I read somewhere) 16% of users this can be a good choice for a primary Twitter web interface.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twitiq_logo.png" alt="twitiq_logo" title="twitiq_logo" width="112" height="36" class="alignnone size-full wp-image-120" /></p>
<p><em><strong>Pros:</strong> Management of multiple accounts, time saving.</em></p>
</li>
<li>
<strong><a href="http://www.socialwhois.com">SocialWhois</a></strong> is a powerful application, their catch line is &#8220;who you should follow, and why.&#8221;. This is a great way to extend your Twitter bubble and find new people to socialize with. You can search for people based on their interests, hence find people who are relevant and not always just go for the most followed ones.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/socialwhois.png" alt="socialwhois" title="socialwhois" width="299" height="82" class="alignnone size-full wp-image-124" /></p>
<p><em><strong>Pros:</strong> Extend your Twitter network without just following all the popular people</em></p>
</li>
<li>
<strong><a href="http://dossy.org/twitter/karma/">Your Twitter Karma</a></strong> is an application where you can find the self-centered people who you are following but are not following you back, you can check the ones you want to unfollow and just press one button to bulk unfollow the people you want.</p>
<p><em><strong>Pros:</strong> Effectively manage your Twitter Network, and do cleanups with bulk operations.</em></p>
</li>
<li>
<strong><a href="http://www.twitscoop.com/">TwitScoop</a></strong><br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twitscoop_logo.png" alt="twitscoop_logo" title="twitscoop_logo" width="283" height="117" class="alignnone size-full wp-image-126" /><br />
TwitScoop keeps a track of what&#8217;s buzzing on Twitter and it displays it very playfully and graphic, the tag cloud is dynamically updated. You can search for words and get a graph of their popularity. This is just an awesome application!</p>
<p><em><strong>Pros:</strong> Keep a track of what&#8217;s buzzing!</em></p>
</li>
<li>
<strong>TIP: Maintain Your Twitter Profile</strong><br />
You should choose your Twitter username wisely, it&#8217;s preferably going to have a connection with you or your company. Twitter usernames like &#8217;supahdupahwoman90&#8242; gives an extra unprofessional touch, and may cost you a bunch of followers, ONLY because of the user name.</p>
<p>Keep your Twitter profile updated, unless you have one, <strong>get a profile picture</strong> and maybe also personalize your profile with a custom background image, but don&#8217;t get too noisy with the colors.</p>
</li>
<li>
<strong><a href="http://twitpic.com/">TwitPic</a></strong><br />
TwitPic helps you post pictures to Twitter, this is the most popular way to share images on Twitter today. A lot of Twitter clients have built-in support for TwitPic. It is worthy a spot here!<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twitpic-logo.png" alt="twitpic-logo" title="twitpic-logo" width="229" height="91" class="alignnone size-full wp-image-128" /></p>
<p><em><strong>Pros:</strong> Share pictures on Twitter.</em></p>
</li>
<li>
<strong><a href="http://crazybob.org/twubble/">Twubble</a></strong> helps you extend your Twitter network, it goes through your friends and finds people that two or more friends are following, a lot like Facebooks friend suggestion way of finding people.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twubblelogo.png" alt="twubblelogo" title="twubblelogo" width="159" height="53" class="alignnone size-full wp-image-129" /></p>
<p><em><strong>Pros:</strong> Find new people fast.</em></p>
</li>
<li>
<strong><a href="http://desktop.seesmic.com/">Seesmic Desktop</a></strong> has gained a lot of popularity lately, it is a good alternative to TweetDeck and users seem to be arguing about which one is the best one.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/seesmic_desktop_logo.jpg" alt="seesmic_desktop_logo" title="seesmic_desktop_logo" width="628" height="300" class="alignnone size-full wp-image-132" /></p>
<p><em><strong>Pros:</strong> Time saving and clean overview, like TweetDeck.</em></p>
</li>
<li>
<strong><a href="http://www.digsby.com">Digsby</a></strong> is a popular IM application; it supports Twitter, Facebook, MSN, email and a lot more. It is an all-in-one IM client.<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/digsby_logo.png" alt="digsby_logo" title="digsby_logo" width="122" height="138" class="alignnone size-full wp-image-133" /></p>
<p><em><strong>Pros:</strong> Support for multiple networks, time saving.</em></p>
</li>
<li>
<strong>TIP: Join discussion</strong><br />
When I first joined Twitter I was like everyone else just tweeting things like &#8220;I&#8217;m on the subway&#8221;, and in my primary language. Be interesting, and most of all; join discussion!  Think about your social life, do you join discussions or do you just run into a bunch of people who are talking, and start talking about that you took the subway there and the colors of the seats?<br />
My guess is no, and you should follow the same etiquettes on Twitter.
</li>
<li>
<strong><a href="http://twitturly.com/">Twitt(url)y</a></strong> is great for catching what links are the most popular on Twitter, in real time!<br />
<img src="http://www.cfg.no/wp-content/uploads/2009/05/twitturly_logo.gif" alt="twitturly_logo" title="twitturly_logo" width="192" height="38" class="alignnone size-full wp-image-134" /></p>
<p><em><strong>Pros:</strong> Keep track of what&#8217;s popular!</em>
</li>
</ol>
<p><strong>Which Twitter applications do you use?</strong> Post a comment!</p>
<p>Did you like this post? <a href="http://twitter.com/EspenCFG">follow me on Twitter</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfg.no/2009/05/14-excellent-power-twitter-tools-and-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

