<?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>Pakzilla &#187; Twitter</title>
	<atom:link href="http://www.pakzilla.com/category/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pakzilla.com</link>
	<description>A blog on Programming, Web and Technology</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:25:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Class of 2011: If Social Media Were a High School</title>
		<link>http://www.pakzilla.com/2011/02/17/class-of-2011-if-social-media-were-a-high-school/</link>
		<comments>http://www.pakzilla.com/2011/02/17/class-of-2011-if-social-media-were-a-high-school/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 00:06:26 +0000</pubDate>
		<dc:creator>Tahir Akram</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.pakzilla.com/?p=1343</guid>
		<description><![CDATA[What if a social media were a high school. Find out where is your favorite one. [via] Related posts: Social media websites affected IMs Infographic stats of social networking and online services Some dirty little secrets of Twitter you should know
Related posts:<ol>
<li><a href='http://www.pakzilla.com/2010/05/02/social-media-websites-affected-ims/' rel='bookmark' title='Social media websites affected IMs'>Social media websites affected IMs</a></li>
<li><a href='http://www.pakzilla.com/2011/01/23/infographic-stats-of-social-networking-and-online-services/' rel='bookmark' title='Infographic stats of social networking and online services'>Infographic stats of social networking and online services</a></li>
<li><a href='http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/' rel='bookmark' title='Some dirty little secrets of Twitter you should know'>Some dirty little secrets of Twitter you should know</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What if a social media were a high school. Find out where is your favorite one.<a href="http://www.pakzilla.com/wp-content/upload/110702-FT-HSMEDIA-96x300.png"></a></p>
<p><a href="http://www.pakzilla.com/wp-content/upload/110702-FT-HSMEDIA1.png"><img class="aligncenter size-full wp-image-1345" title="110702-FT-HSMEDIA" src="http://www.pakzilla.com/wp-content/upload/110702-FT-HSMEDIA1.png" alt="" width="600" height="1875" /></a></p>
<p>[<a href="http://www.flowtown.com/blog/class-of-2011-if-social-media-were-a-high-school?display=wide" target="_blank">via</a>]</p>
<p>Related posts:<ol>
<li><a href='http://www.pakzilla.com/2010/05/02/social-media-websites-affected-ims/' rel='bookmark' title='Social media websites affected IMs'>Social media websites affected IMs</a></li>
<li><a href='http://www.pakzilla.com/2011/01/23/infographic-stats-of-social-networking-and-online-services/' rel='bookmark' title='Infographic stats of social networking and online services'>Infographic stats of social networking and online services</a></li>
<li><a href='http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/' rel='bookmark' title='Some dirty little secrets of Twitter you should know'>Some dirty little secrets of Twitter you should know</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pakzilla.com/2011/02/17/class-of-2011-if-social-media-were-a-high-school/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Some dirty little secrets of Twitter you should know</title>
		<link>http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/</link>
		<comments>http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 13:26:50 +0000</pubDate>
		<dc:creator>Tahir Akram</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.pakzilla.com/?p=1335</guid>
		<description><![CDATA[There are many things that we don&#8217;t know about Twitter. I want to share a infographic of some dirty secrets about Twitter. You will find them interesting. [via] Related posts: Tutorial: Java based Twitter App on Google App Engine Download Gravity, a Symbian S60 Twitter client Let&#8217;s help Firefox users on Twitter. Join Army of [...]
Related posts:<ol>
<li><a href='http://www.pakzilla.com/2009/10/03/tutorial-java-based-twitter-app-on-google-app-engine/' rel='bookmark' title='Tutorial: Java based Twitter App on Google App Engine'>Tutorial: Java based Twitter App on Google App Engine</a></li>
<li><a href='http://www.pakzilla.com/2010/04/13/download-gravity-a-symbian-s60-twitter-client/' rel='bookmark' title='Download Gravity, a Symbian S60 Twitter client'>Download Gravity, a Symbian S60 Twitter client</a></li>
<li><a href='http://www.pakzilla.com/2010/11/22/lets-help-firefox-users-on-twitter-join-army-of-awesome/' rel='bookmark' title='Let&#8217;s help Firefox users on Twitter. Join Army of Awesome.'>Let&#8217;s help Firefox users on Twitter. Join Army of Awesome.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are many things that we don&#8217;t know about Twitter. I want to share a infographic of some dirty secrets about Twitter. You will find them interesting.</p>
<p><a href="http://www.pakzilla.com/wp-content/upload/Dirty-Little-Secret-Of-Twitter.png"><img class="aligncenter size-full wp-image-1336" title="Dirty-Little-Secret-Of-Twitter" src="http://www.pakzilla.com/wp-content/upload/Dirty-Little-Secret-Of-Twitter.png" alt="" width="600" height="461" /></a></p>
<p>[<a href="http://www.bitrebels.com/social/twitter%E2%80%99s-dirty-little-secret%E2%80%A6-infographic/" target="_blank">via</a>]</p>
<p>Related posts:<ol>
<li><a href='http://www.pakzilla.com/2009/10/03/tutorial-java-based-twitter-app-on-google-app-engine/' rel='bookmark' title='Tutorial: Java based Twitter App on Google App Engine'>Tutorial: Java based Twitter App on Google App Engine</a></li>
<li><a href='http://www.pakzilla.com/2010/04/13/download-gravity-a-symbian-s60-twitter-client/' rel='bookmark' title='Download Gravity, a Symbian S60 Twitter client'>Download Gravity, a Symbian S60 Twitter client</a></li>
<li><a href='http://www.pakzilla.com/2010/11/22/lets-help-firefox-users-on-twitter-join-army-of-awesome/' rel='bookmark' title='Let&#8217;s help Firefox users on Twitter. Join Army of Awesome.'>Let&#8217;s help Firefox users on Twitter. Join Army of Awesome.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s help Firefox users on Twitter. Join Army of Awesome.</title>
		<link>http://www.pakzilla.com/2010/11/22/lets-help-firefox-users-on-twitter-join-army-of-awesome/</link>
		<comments>http://www.pakzilla.com/2010/11/22/lets-help-firefox-users-on-twitter-join-army-of-awesome/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 16:33:45 +0000</pubDate>
		<dc:creator>Tahir Akram</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pakzilla.com/?p=1295</guid>
		<description><![CDATA[Mozilla has launched a support program, providing help to those people who tweet their Firefox problems. This support program is called Army of Awesome. You don&#8217;t need to be a Firefox expert to reply. Just pick the tweet that you think you can provide help over it. Its a nice way to support open source [...]
Related posts:<ol>
<li><a href='http://www.pakzilla.com/2008/06/17/firefox-3-lets-pledge-it/' rel='bookmark' title='Firefox 3 &#8211; Lets pledge it'>Firefox 3 &#8211; Lets pledge it</a></li>
<li><a href='http://www.pakzilla.com/2011/10/07/how-to-speed-up-firefox-internet-browsing-in-ubuntu/' rel='bookmark' title='How to speed up Firefox internet browsing in Ubuntu'>How to speed up Firefox internet browsing in Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Mozilla has launched a support program, providing help to those people who tweet their Firefox problems.</p>
<p>This support program is called <a href="http://support.mozilla.com/en-US/army-of-awesome">Army of Awesome</a>. You don&#8217;t need to be a Firefox expert to reply. Just pick the tweet that you think you can provide help over it. Its a nice way to support open source and free software. I appreciate this move by Mozilla. And I will give some time to it.</p>
<p style="text-align: center;"><a href="http://support.mozilla.com/en-US/army-of-awesome" target="_blank"><img class="aligncenter" title="Army of Awesome" src="http://blog.mozilla.com/files/2010/10/aoa-page.png" alt="" width="300" height="238" /></a></p>
<p>I read on their <a href="http://blog.mozilla.com/blog/2010/10/11/love-firefox-help-a-fellow-user-out/">blog</a>:</p>
<blockquote><p>Happy tweeting! And remember…good things come to those who tweet!</p></blockquote>
<p>And I found  a <a href="http://twitter.com/firefox/status/4658963618467840">tweet</a> on Firefox twitter page distributing T-shirts for Army of Awesome participants. <img src='http://www.pakzilla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  A good thing. Lets help.</p>
<p><a href="http://twitter.com/firefox/status/4658963618467840" target="_blank"><img class="aligncenter" title="firefox tweet" src="http://www.pakzilla.com/wp-content/upload/firefox_aoa_tshirt_tweet.png" alt="" width="584" height="320" /></a></p>
<p>Related posts:<ol>
<li><a href='http://www.pakzilla.com/2008/06/17/firefox-3-lets-pledge-it/' rel='bookmark' title='Firefox 3 &#8211; Lets pledge it'>Firefox 3 &#8211; Lets pledge it</a></li>
<li><a href='http://www.pakzilla.com/2011/10/07/how-to-speed-up-firefox-internet-browsing-in-ubuntu/' rel='bookmark' title='How to speed up Firefox internet browsing in Ubuntu'>How to speed up Firefox internet browsing in Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pakzilla.com/2010/11/22/lets-help-firefox-users-on-twitter-join-army-of-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fetch Twitter friends or followers through REST API in Java</title>
		<link>http://www.pakzilla.com/2010/07/16/fetch-twitter-friends-or-followers-through-rest-api-in-java/</link>
		<comments>http://www.pakzilla.com/2010/07/16/fetch-twitter-friends-or-followers-through-rest-api-in-java/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 11:08:18 +0000</pubDate>
		<dc:creator>Tahir Akram</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter API]]></category>

		<guid isPermaLink="false">http://www.pakzilla.com/?p=1082</guid>
		<description><![CDATA[I was playing around with fetching Twitter followers and friends with Twitter4J. But it was taking time to do that. So I code it with using REST urls given by Twitter. It fetches all your friends or followers. Depending upon your application that you want one list or you want to use paging. But I [...]
Related posts:<ol>
<li><a href='http://www.pakzilla.com/2011/11/03/calling-posterous-api-in-java/' rel='bookmark' title='Calling Posterous API in Java'>Calling Posterous API in Java</a></li>
<li><a href='http://www.pakzilla.com/2010/03/01/how-to-use-and-retain-twitter4j-oauth-access-token/' rel='bookmark' title='How to use and retain Twitter4J OAuth access token'>How to use and retain Twitter4J OAuth access token</a></li>
<li><a href='http://www.pakzilla.com/2009/10/03/tutorial-java-based-twitter-app-on-google-app-engine/' rel='bookmark' title='Tutorial: Java based Twitter App on Google App Engine'>Tutorial: Java based Twitter App on Google App Engine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was playing around with fetching Twitter followers and friends with Twitter4J. But it was taking time to do that. So I code it with using REST urls given by Twitter. It fetches all your friends or followers. Depending upon your application that you want one list or you want to use paging. But I did it in one go. Performance wise, it will be trouble of fetching say 2000 followers or friends.</p>
<p>I used JDOM to parse XML.</p>
<pre class="brush: java; title: ; notranslate">
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;

import org.jdom.Document;
import org.jdom.Element;
import org.jdom.input.SAXBuilder;

public class Twt {

String urlFlwrs= &quot;http://twitter.com/statuses/followers/YOUR_TWITTER_SCREEN_NAME.xml?cursor=&quot;;
String urlFrnds= &quot;http://twitter.com/statuses/friends/YOUR_TWITTER_SCREEN_NAME.xml?cursor=&quot;;

List followers = new ArrayList();
long cursorCounter = -1;

public static void main(String[] args) {
long start = System.currentTimeMillis();
new Twt().readFollowFriends();
System.out.printf(&quot;Total Time: %d secs&quot;,
(System.currentTimeMillis() - start)/1000);
}

void readFollowFriends(){

try {
StringBuffer followersData = new StringBuffer();
// use urlFrnds as a parameter if you want to fetch friends
URL url = new URL(urlFlwrs+cursorCounter);
URLConnection urlConnection = url.openConnection();
DataInputStream dis = new DataInputStream(
urlConnection.getInputStream());
String inputLine;
while ((inputLine = dis.readLine()) != null) {
followersData.append(inputLine);
}

SAXBuilder builder = new SAXBuilder();
Document document = builder.build(new ByteArrayInputStream(
followersData.toString().getBytes()));

Element root = document.getRootElement();
Element usersElm = root.getChild(&quot;users&quot;);
Element nextCursor = root.getChild(&quot;next_cursor&quot;);
List users = usersElm.getChildren(&quot;user&quot;);

for (int c = 0; c &lt; users.size(); c++) {
Element user = (Element) users.get(c);
Element name = user.getChild(&quot;name&quot;);
// now you have every thing, the information of a user
// here you can populate followers list
}

if (nextCursor != null){
cursorCounter = Long.parseLong(nextCursor.getText());

if (cursorCounter != 0)
readFollowFriends();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
</pre>
<p>But you will also get following <a href="http://twitterapi.pbworks.com/HTTP-Response-Codes-and-Errors">HTTP 400 error</a>. Due to <a href="http://twitterapi.pbworks.com/Rate-limiting">API limits</a> by Twitter. For this we want to <a href="http://twitter.com/help/request_whitelisting">whitelist</a> ourself.</p>
<pre class="brush: java; title: ; notranslate">
java.io.IOException: Server returned HTTP response code: 400 for URL: http://twitter.com/statuses/followers/YOUR_TWITTER_SCREEN_NAME.xml?cursor=-1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1133)
at Twt.readFollowFriends(Twt.java:32)
at Twt.main(Twt.java:22)
Total Time: 7 secs
</pre>
<p>Related posts:<ol>
<li><a href='http://www.pakzilla.com/2011/11/03/calling-posterous-api-in-java/' rel='bookmark' title='Calling Posterous API in Java'>Calling Posterous API in Java</a></li>
<li><a href='http://www.pakzilla.com/2010/03/01/how-to-use-and-retain-twitter4j-oauth-access-token/' rel='bookmark' title='How to use and retain Twitter4J OAuth access token'>How to use and retain Twitter4J OAuth access token</a></li>
<li><a href='http://www.pakzilla.com/2009/10/03/tutorial-java-based-twitter-app-on-google-app-engine/' rel='bookmark' title='Tutorial: Java based Twitter App on Google App Engine'>Tutorial: Java based Twitter App on Google App Engine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pakzilla.com/2010/07/16/fetch-twitter-friends-or-followers-through-rest-api-in-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Download Gravity, a Symbian S60 Twitter client</title>
		<link>http://www.pakzilla.com/2010/04/13/download-gravity-a-symbian-s60-twitter-client/</link>
		<comments>http://www.pakzilla.com/2010/04/13/download-gravity-a-symbian-s60-twitter-client/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 06:27:29 +0000</pubDate>
		<dc:creator>Tahir Akram</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Symbian S60]]></category>

		<guid isPermaLink="false">http://www.pakzilla.com/?p=939</guid>
		<description><![CDATA[If you are an avid Twitter user and addicted to use it from your phone. Then you should try Gravity. Its Symbian S60 based Twitter client. Which has very cool and usable interface. I have also tried Snaptu and TweetS60, which are free. But Gravity gave me great experience. I am using it on my [...]
Related posts:<ol>
<li><a href='http://www.pakzilla.com/2009/10/08/free-twitter-clients-for-symbian-s60-phones/' rel='bookmark' title='Free Twitter clients for Symbian S60 phones'>Free Twitter clients for Symbian S60 phones</a></li>
<li><a href='http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/' rel='bookmark' title='Some dirty little secrets of Twitter you should know'>Some dirty little secrets of Twitter you should know</a></li>
<li><a href='http://www.pakzilla.com/2010/11/02/wordpress-app-for-nokia-is-now-available/' rel='bookmark' title='WordPress app for Nokia is now available'>WordPress app for Nokia is now available</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are an avid Twitter user and addicted to use it from your phone. Then you should try Gravity. Its Symbian S60 based Twitter client. Which has very cool and usable interface. I have also tried <a href="http://www.pakzilla.com/2009/10/08/free-twitter-clients-for-symbian-s60-phones/">Snaptu and TweetS60</a>, which are free. But Gravity gave me great experience. I am using it on my Nokia 5320 Xpress Music.</p>
<p><img class="aligncenter size-full wp-image-945" title="gravity_s60" src="http://www.pakzilla.com/wp-content/upload/gravity_s60.png" alt="" width="499" height="333" />You can download <strong>Gravity  v1.2</strong> from <strong><a href="http://filesocial.com/95kk4c">here</a></strong>.</p>
<p>Related posts:<ol>
<li><a href='http://www.pakzilla.com/2009/10/08/free-twitter-clients-for-symbian-s60-phones/' rel='bookmark' title='Free Twitter clients for Symbian S60 phones'>Free Twitter clients for Symbian S60 phones</a></li>
<li><a href='http://www.pakzilla.com/2011/02/14/some-dirty-little-secrets-of-twitter-you-should-know/' rel='bookmark' title='Some dirty little secrets of Twitter you should know'>Some dirty little secrets of Twitter you should know</a></li>
<li><a href='http://www.pakzilla.com/2010/11/02/wordpress-app-for-nokia-is-now-available/' rel='bookmark' title='WordPress app for Nokia is now available'>WordPress app for Nokia is now available</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pakzilla.com/2010/04/13/download-gravity-a-symbian-s60-twitter-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

