<?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>Digijustin &#187; Technology</title>
	<atom:link href="http://digijustin.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://digijustin.com</link>
	<description>Now New and Improved</description>
	<lastBuildDate>Mon, 16 Apr 2012 21:11:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Real Time Stock Ticker for PHP</title>
		<link>http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/</link>
		<comments>http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 21:11:10 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=340</guid>
		<description><![CDATA[For the last week or so, I have been looking for a good real time stock ticker to put up on a client&#8217;s web site since their feed with Yahoo kept failing intermittently. About 30% of the time, it would return &#8230; <a href="http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/" data-count="vertical" data-text="Real Time Stock Ticker for PHP" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2012%2F04%2F16%2Freal-time-stock-ticker-for-php%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/' data-counter='top'></script></div></div></div><p>For the last week or so, I have been looking for a good real time stock ticker to put up on a client&#8217;s web site since their feed with Yahoo kept failing intermittently. About 30% of the time, it would return an error that read &#8220;Received Failure&#8221; which while amusing, the client didn&#8217;t want to have anything to do with it.</p>
<p>So I spent a few hours going to different sites to see if they had a feed and none would give me what I wanted. All I needed was the current price, value change, percentage change and time last updated. Seemed impossible. Then I had the idea to just scrape data from Google&#8217;s Financial site and the rest is history.</p>
<p>I found this PHP project called <a title="PHP Simple HTML DOM Parser" href="http://sourceforge.net/projects/simplehtmldom/" target="_blank">PHP Simple HTML DOM Parser</a> and used it in my code. Super simple.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'simple_html_dom.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$tickerCID</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'22144'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//This is Apple (AAPL) ticker ID on Google</span>
<span style="color: #000088;">$stockSymbol</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'AAPL'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> file_get_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'https://www.google.com/finance?q=NASDAQ:'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$stockSymbol</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$price</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$html</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'span[id=ref_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tickerCID</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_l]'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lasttrade</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$price</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">plaintext</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$spanChange</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$html</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'span[id=ref_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tickerCID</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_c]'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$change</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$spanChange</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">plaintext</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$spanPercChange</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$html</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'span[id=ref_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tickerCID</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_cp]'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$percChange</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$spanPercChange</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">plaintext</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$rightNowDate</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;M j&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$quoteTime</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$html</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'span[id=ref_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tickerCID</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_ltt]'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$rightNow</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$rightNowDate</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$quoteTime</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">plaintext</span><span style="color: #339933;">;</span></pre></div></div>

<p>Then when I need to access that data, I just have this DIV in the body:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;stockTick&quot;&gt;
	&lt;p&gt;NASDAQ: AAPL&lt;/p&gt;
	&lt;p style=&quot;font-size:10px;&quot;&gt;$<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$lasttrade</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;nbsp;&amp;nbsp;&amp;nbsp;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$change</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$percChange</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;nbsp;&amp;nbsp;&amp;nbsp;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$rightNow</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/p&gt;
&lt;/div&gt;</pre></div></div>

<p>It was that easy once I got the hang of it. Hope this can help someone with the same crap I had to go through.</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2012/04/16/real-time-stock-ticker-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media vs. Newspapers</title>
		<link>http://digijustin.com/2011/09/12/social-media-vs-newspapers/</link>
		<comments>http://digijustin.com/2011/09/12/social-media-vs-newspapers/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 07:28:21 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Newspaper]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=172</guid>
		<description><![CDATA[These days you can&#8217;t really go anywhere without hearing of Twitter, Facebook or some form of social media. It&#8217;s everywhere and the reason is, because it&#8217;s instant and easy. What you aren&#8217;t hearing about as much is newspapers. Newspapers used &#8230; <a href="http://digijustin.com/2011/09/12/social-media-vs-newspapers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2011/09/12/social-media-vs-newspapers/" data-count="vertical" data-text="Social Media vs. Newspapers" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2011%2F09%2F12%2Fsocial-media-vs-newspapers%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2011/09/12/social-media-vs-newspapers/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2011/09/12/social-media-vs-newspapers/' data-counter='top'></script></div></div></div><p>These days you can&#8217;t really go anywhere without hearing of Twitter, Facebook or some form of social media. It&#8217;s everywhere and the reason is, because it&#8217;s instant and easy. What you aren&#8217;t hearing about as much is newspapers.</p>
<p>Newspapers used to be the only game in town and then TV but newspapers still had their place. Well in today&#8217;s &#8220;I need the news <strong>RIGHT THIS SECOND</strong>&#8220;, newspapers have been pushed out of the way but social media platforms like Twitter and Facebook.</p>
<p>I stumbled across <a title="Social media is the newspaper, TV of the future" href="http://www.independent.co.uk/news/media/social-media-is-the-newspaper-tv-of-the-future-report-1914226.html" target="_blank">this article</a> from the The Independent in the UK about how people are moving away from traditional ways of getting news and moving more towards alternative means such as social media and various online resources. People, myself included, don&#8217;t have time to wait around for tomorrow morning to find out the news of today.</p>
<p>Some people say that they still get the daily paper for the coupons it comes with. Nowadays, you can type in &#8220;PRODUCT promo code&#8221; and get a multitude of deals on whatever you want. Plus Amazon is still pretty cheap if you&#8217;re okay with not going to a store to pick something up. Also, with the advent of Groupon, LivingSocial and other group couponing sites, this will only get better with time and further push the papers out.</p>
<p>Classifieds have moved aside for Craigslist and blogs have taken the place of Editorials. These are just more reasons why there really isn&#8217;t a need for newspapers any more other to cover my table with when my kids paint.</p>
<p>What do you think?</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2011/09/12/social-media-vs-newspapers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Match Made in Heaven &#8211; iPhone and Verizon. Or is it?</title>
		<link>http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/</link>
		<comments>http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 08:07:09 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Mobile Phones]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Verizon]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=284</guid>
		<description><![CDATA[So later today, it&#8217;s widely expected that Verizon and Apple will finally team up and deliver the iPhone to Verizon. This is something that it seems everyone has been begging for since the iPhone was first released on AT&#038;T. I &#8230; <a href="http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/" data-count="vertical" data-text="A Match Made in Heaven - iPhone and Verizon. Or is it?" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2011%2F01%2F11%2Fa-match-made-in-heaven-iphone-and-verizon-or-is-it%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/' data-counter='top'></script></div></div></div><p>So later today, it&#8217;s widely expected that Verizon and Apple will finally team up and deliver the iPhone to Verizon. This is something that it seems everyone has been begging for since the iPhone was first released on AT&#038;T. I have read several articles and the pros and cons about hopping on this bandwagon.</p>
<p>I&#8217;m excited that the iPhone is moving to another carrier. I think that this will be good for it. At the same time, it might be its downfall too. The main problem people have with the iPhone isn&#8217;t the device at all, it&#8217;s the carrier. While I am guilty for not going to AT&#038;T solely based on what I&#8217;ve heard about their network, it might not be all their fault.</p>
<p>Think of it like this: there are so many phones consuming a ton of data and clogging the &#8220;<a href="http://knowyourmeme.com/memes/series-of-tubes" target="_blank">tubes</a>&#8221; so that their network is straining under the weight of its own success. I kinda think that Verizon will have some of the same issues although I&#8217;m sure they have known for a while this is coming and have adjusted their network in advance. At least I hope.</p>
<p>I recently moved from T-Mobile to Verizon and have a Droid X and I love it. I am curious to see if an influx of new users will slow down my connection and reduce my call quality.</p>
<p>Overall I think it&#8217;s a great move for Apple as now they have 2 carriers printing money for them. I do think that some of the issues with AT&#038;T will show up with Verizon but only time will tell. </p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2011/01/11/a-match-made-in-heaven-iphone-and-verizon-or-is-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Can&#8217;t I Figure Out Facebook?</title>
		<link>http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/</link>
		<comments>http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 20:13:49 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=241</guid>
		<description><![CDATA[Okay it&#8217;s not that bad but I lately I have had the opportunity to get back into working with Facebook in several projects over the past few months. The good thing is that I&#8217;ve been able to work in almost &#8230; <a href="http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/" data-count="vertical" data-text="Why Can't I Figure Out Facebook?" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F12%2F08%2Fwhy-cant-i-figure-out-facebook%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/' data-counter='top'></script></div></div></div><p>Okay it&#8217;s not that bad but I lately I have had the opportunity to get back into working with Facebook in several projects over the past few months. The good thing is that I&#8217;ve been able to work in almost all the ways you can interact with Facebook. I have worked on an external site using Connect and the Graph API, a page tab and a canvas page.</p>
<p>The bad part of doing things this way is that they are all done in 3 totally different ways. Just when I feel I&#8217;m doing well with one, another will come up and throw me in another direction. Good thing with that is that I&#8217;m getting the experience to figure all 3 methods out. Just with client timelines, it makes it fun when the same end functionality has very different implementation and I don&#8217;t have the time to make it perfect.</p>
<p>I do plan on posting some of my findings because I&#8217;ve personally had a tough time finding all the information I need online. Hopefully I&#8217;ll get a break in the action soon so that I can share.</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Fun Inside of Facebook&#039;s C# SDK</title>
		<link>http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/</link>
		<comments>http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:37:00 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[ASP.NET 2.0]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Facebook SDK]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=204</guid>
		<description><![CDATA[Two weeks ago Facebook released their own C# SDK for developers to use. I downloaded it right off the bat but noticed that it had a few holes in it but did give a clean way to call their new &#8230; <a href="http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/" data-count="vertical" data-text="New Fun Inside of Facebook&#039;s C# SDK" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F08%2F02%2Fnew-fun-inside-of-facebooks-c-sdk%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/' data-counter='top'></script></div></div></div><p>Two weeks ago Facebook released their own <a href="http://developers.facebook.com/blog/post/395" target="_blank">C# SDK</a> for developers to use. I downloaded it right off the bat but noticed that it had a few holes in it but did give a clean way to call their new <a href="http://developers.facebook.com/docs/api" target="_blank">Graph API</a>.</p>
<p>One of the most glaring issues was that it can&#8217;t authenticate fully. I looked all over Google for it and finally found out that it&#8217;s an issue with the cookie that Facebook itself writes. The first key in the cookie is <em>access_token</em> and that passes the token from Facebook that allows you to make calls on behalf of the logged in user. Well the cookie&#8217;s value itself is one big string wrapped inside of quotation marks so the key is <strong>&#8220;access_token</strong> rather than <strong>access_token</strong>. This caused some hairpulling on my part but now that it is coded for it, it is working like a charm.</p>
<p>So the code should read like this if you&#8217;re using C#:</p>
<pre>GetFacebookCookieValue("\"access_token")</pre>
<p>Hope that helps anyone who ran into that as I did.</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good Service vs GoDaddy&#039;s Service</title>
		<link>http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/</link>
		<comments>http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:20:59 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[service]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=181</guid>
		<description><![CDATA[A few days ago I was working on a project for a client here at work. I had a situation where I just needed to create a simple web service that made a call to ExactTarget&#8217;s API. Was pretty easy &#8230; <a href="http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/" data-count="vertical" data-text="Good Service vs GoDaddy&#039;s Service" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F03%2F29%2Fgood-service-vs-godaddys-service%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/' data-counter='top'></script></div></div></div><p>A few days ago I was working on a project for a client here at work. I had a situation where I just needed to create a simple web service that made a call to ExactTarget&#8217;s API. Was pretty easy and had it working flawlessly on my local computer within a couple of hours. I pushed it up to our site on GoDaddy to test and received an error. I found out that there is an assembly that the ExactTarget code needs to work and that it needed to run with elevated trust. Well apparently GoDaddy doesn&#8217;t allow for that.</p>
<p>So in my nerd rage, <a href="http://twitter.com/digijustin/status/11004648133" target="_blank">I posted to Twitter</a> that I was upset:</p>
<blockquote><p>Is @<a rel="nofollow" href="http://twitter.com/Godaddy">GoDaddy</a> really an  ASP.NET host or do they pretend to be? Anything I try to do mildly  difficult, their shared hosting fails on.</p>
</blockquote>
<p>I had seen that GoDaddy was pretty quick on their responses that day but not with my message. The next day, I did receive a message from them asking what my issue/question was and I promptly responded. I still haven&#8217;t heard back.</p>
<p>But what was interesting to me about this was that not long after my response to GoDaddy, I received a message from <a href="http://twitter.com/WinHost" target="_blank">WinHost</a>:</p>
<blockquote><p>@<a rel="nofollow" href="http://twitter.com/digijustin">digijustin</a> What  was it that GoDaddy had issues with doing?</p>
</blockquote>
<p>I was pretty impressed and responded quickly and they even responded back saying that they could in fact do with GoDaddy couldn&#8217;t. Cool. Score one for them and hang another zero for GoDaddy.</p>
<p>Right after my response to <a href="http://twitter.com/WinHost" target="_blank">WinHost</a>, I received another Tweet. This time from <a href="http://twitter.com/Discountasp" target="_blank">DiscountASP</a> to tell me that they too support what I was trying to do.</p>
<p>I was really impressed with these 2 hosts that they would jump in to help me out while GoDaddy left me hanging. I didn&#8217;t end up needing a Windows solution as the PHP option I was chasing ended up working but still time after time, GoDaddy fails me every time I try to do something that deviates from easy.</p>
<p>Next time I need a Windows host, I will have an easier time looking in the direction of <a href="http://winhost.com/" target="_blank">WinHost</a> and <a href="http://discountasp.net/" target="_blank">DiscountASP</a> before I even think about GoDaddy.</p>
<p> </p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/03/29/good-service-vs-godaddys-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Do You Code?</title>
		<link>http://digijustin.com/2010/02/01/how-do-you-code/</link>
		<comments>http://digijustin.com/2010/02/01/how-do-you-code/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 23:59:49 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=165</guid>
		<description><![CDATA[I consider myself a decent programmer but I know that there is a ton more to learn and no one programmer will ever know everything as programming is evolving all the time. But occasionally, programmers come across a decision on &#8230; <a href="http://digijustin.com/2010/02/01/how-do-you-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/02/01/how-do-you-code/" data-count="vertical" data-text="How Do You Code?" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F02%2F01%2Fhow-do-you-code%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/02/01/how-do-you-code/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/02/01/how-do-you-code/' data-counter='top'></script></div></div></div><p>I consider myself a decent programmer but I know that there is a ton more to learn and no one programmer will ever know everything as programming is evolving all the time. But occasionally, programmers come across a decision on how to program a certain site/job. As a C# developer, I always prefer to code in C# but does it make sense to not always do what you&#8217;re comfortable in?</p>
<p>For example, if I have a site that I need to create and server isn&#8217;t an issue, do I do it in what I&#8217;m good at with C# or do I try coding it in PHP?</p>
<p>I guess my question is &#8220;would you rather be better at one thing or pretty good at a few things?&#8221; What is better for you?</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/02/01/how-do-you-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My Thoughts on the iPad Announcement Party</title>
		<link>http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/</link>
		<comments>http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 20:20:53 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[iSlate]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[Tablet]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=161</guid>
		<description><![CDATA[Well there it is. The iPad is born and while I&#8217;m impressed with the product, it&#8217;s still just what I thought it would be, a big iPod Touch. I was really disappointed in that they didn&#8217;t really go over anything &#8230; <a href="http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/" data-count="vertical" data-text="My Thoughts on the iPad Announcement Party" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F01%2F27%2Fmy-thoughts-on-the-ipad-announcement-party%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/' data-counter='top'></script></div></div></div><p>Well there it is. The iPad is born and while I&#8217;m impressed with the product, it&#8217;s still just what I thought it would be, a big iPod Touch. I was really disappointed in that they didn&#8217;t really go over anything that <a href="http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/" target="_blank">I wanted</a> in terms of the iTunes update, AT&amp;T exclusivity, 4.0 update.</p>
<p>They have made a great new product that will be really useful in schools I feel. But I have a hard time thinking that most people with an iPhone or iPod Touch will find it necessary to get an iPad. Seems like one extra thing to carry around and it won&#8217;t even fit in a pocket.</p>
<p>I absolutely loved the MLB app as well as the Need for Speed game demo. They both looked solid. The video quality on the MLB app seems like a must have for any baseball fan.</p>
<p>I also liked the iBook app. While I&#8217;m not that much of a book reader, I can see that this is Apple&#8217;s answer to the Kindle and will probably cause Amazon to make some changes. The book store is really nice.</p>
<p>But I still can&#8217;t get over the disappointment of really nothing else coming out. I don&#8217;t have iWork so I&#8217;m a bit biased there as I don&#8217;t care about that. But I guess most of the rumors other than the iPad were just that. Cool stuff but nothing materialized.</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/01/27/my-thoughts-on-the-ipad-announcement-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today&#039;s Apple Announcement Including My Rumors</title>
		<link>http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/</link>
		<comments>http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:11:28 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[iSlate]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[Tablet]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=154</guid>
		<description><![CDATA[So today is the big Apple announcement of the super, over-hyped Tablet, iSlate, iPad, iHypeMachine&#8230; I&#8217;m actually less concerned over that as I already have an iPhone and an iPod Touch. What is super interesting to me is the iPhone &#8230; <a href="http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/" data-count="vertical" data-text="Today&#039;s Apple Announcement Including My Rumors" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F01%2F27%2Ftodays-apple-announcement-including-my-rumors%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/' data-counter='top'></script></div></div></div><p>So today is the big Apple announcement of the super, over-hyped Tablet, iSlate, iPad, iHypeMachine&#8230; I&#8217;m actually less concerned over that as I already have an iPhone and an iPod Touch. What is super interesting to me is the iPhone exclusivity coming to an end. As a iPhone jailbreaker with T-Mobile, I would love to hear that I can&#8217;t unjailbreak my iPhone and not have to worry about it bricking anymore.</p>
<p>I am also curious as to the rumors of the iPhone 4.0 software being announced. I&#8217;m hoping that it includes the ability for apps to run in the background. That is something huge and I&#8217;m okay with taking a hit to the battery if that&#8217;s what it takes. I have a charger that I use everyday.</p>
<p>There&#8217;s also the tablet. As I mentioned earlier, I&#8217;m not really all that interested in it but I am curious as to what it will be other than a huge iPod Touch.</p>
<p>So as to my rumors about the event:</p>
<ul>
<li>The tablet of course will be announced. It will essentially be a huge iPod Touch with at data plan and GPS. I agree with the other rumors that it will need a contract with Verizon for 3G connectivity. I don&#8217;t think AT&amp;T will be a provider for this.</li>
<li>Apple will move away from AT&amp;T and open its iPhone to multiple carriers but only announce a partnership with Verizon today for the iPhone and the tablet.</li>
<li>Announcement of iPhone/iPod 4.0 firmware update. This will include background apps and better memory usage.</li>
<li>Twitter will go down about 28 minutes into the announcement. Facebook will soon follow.</li>
<li>New Macbook Pros will be announced using the new Intel i5 and i7 chips. Usual upgrade of features while staying at current prices.</li>
<li>Updated iTunes.</li>
<li>Updated Apple TV firmware update.</li>
</ul>
<p>Those are a few of my ideas/wishes. I guess I&#8217;ll find out if I&#8217;m right or wrong in an hour or so. What do you think?</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/01/27/todays-apple-announcement-including-my-rumors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why you should give up coding for IE6</title>
		<link>http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/</link>
		<comments>http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 19:25:40 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://digijustin.com/?p=143</guid>
		<description><![CDATA[Lately there has been a lot of talk about whether or not to have web sites support Internet Explorer 6. Personally I think we should get rid of it NOW. Out with the old, in with the new is how &#8230; <a href="http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share dd_post_share_left'><div class='dd_buttons'><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/" data-count="vertical" data-text="Why you should give up coding for IE6" data-via="digijustin" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fdigijustin.com%2F2010%2F01%2F04%2Fwhy-you-should-give-up-coding-for-ie6%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/'></g:plusone></div><div class='dd_button'><script type='text/javascript' src='http://platform.linkedin.com/in.js'></script><script type='IN/share' data-url='http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/' data-counter='top'></script></div></div></div><p>Lately there has been a lot of talk about whether or not to have web sites support Internet Explorer 6. Personally I think we should get rid of it NOW. Out with the old, in with the new is how the phrase goes. Well in my mind, there is only one way to make users who haven&#8217;t yet switch to make the switch: force them.</p>
<p>We can easily get the browser info when a visitor comes to your site so I say if it&#8217;s IE6, tell them they can&#8217;t view the site until they get a real browser *COUGH FireFox COUGH* and try viewing your site again correctly. Or if that&#8217;s a bit too harsh, still code for something better than IE6 and give visitors a message to upgrade and show them the crappy version of your site.</p>
<p>Nothing will change until it is forced onto people. They will stay with IE6 because they are scared to upgrade, too lazy or some other asinine reason. Well enough! If everyone stops making sites that work in IE6, people will change. Plain and simple. Please join me in my crusade to rid the Internet of this horrible beast. Then maybe we can move to get rid of IE in general but that&#8217;s a rant for another time.</p>
<!-- Social Buttons Generated by Digg Digg plugin v5.2.5,
    Author : Buffer, Inc
    Website : http://bufferapp.com/diggdigg -->]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2010/01/04/why-you-should-give-up-coding-for-ie6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: S3: static.digijustin.com

Served from: digijustin.com @ 2012-05-20 10:43:15 -->
