<?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; Coding</title>
	<atom:link href="http://digijustin.com/category/technology/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://digijustin.com</link>
	<description>Now New and Improved</description>
	<lastBuildDate>Sun, 05 Feb 2012 07:52:46 +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>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[Tweet 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 &#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="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2010%2F12%2F08%2Fwhy-cant-i-figure-out-facebook%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<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-text="Why Can&#8217;t I Figure Out Facebook?" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2010/12/08/why-cant-i-figure-out-facebook/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></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>
]]></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[Tweet 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 &#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="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2010%2F08%2F02%2Fnew-fun-inside-of-facebooks-c-sdk%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<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-text="New Fun Inside of Facebook&#039;s C# SDK" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2010/08/02/new-fun-inside-of-facebooks-c-sdk/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></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>
]]></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>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[Tweet 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 &#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="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2010%2F02%2F01%2Fhow-do-you-code%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2010/02/01/how-do-you-code/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2010/02/01/how-do-you-code/"  data-text="How Do You Code?" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2010/02/01/how-do-you-code/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2010/02/01/how-do-you-code/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></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>
]]></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>Update to Facebook&#039;s New API</title>
		<link>http://digijustin.com/2008/07/08/update-to-facebooks-new-api/</link>
		<comments>http://digijustin.com/2008/07/08/update-to-facebooks-new-api/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:52:47 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.kodedkreations.net/?p=60</guid>
		<description><![CDATA[Tweet Last week I posted an entry about the new Facebook API that is due to be released sometime this summer. Well today, it was announced that Facebook is opening it up for all users to check out on July &#8230; <a href="http://digijustin.com/2008/07/08/update-to-facebooks-new-api/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2008%2F07%2F08%2Fupdate-to-facebooks-new-api%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2008/07/08/update-to-facebooks-new-api/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2008/07/08/update-to-facebooks-new-api/"  data-text="Update to Facebook&#039;s New API" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2008/07/08/update-to-facebooks-new-api/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2008/07/08/update-to-facebooks-new-api/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Last week I posted an <a href="http://www.kodedkreations.net/2008/06/30/working-with-new-facebook-api/" target="_blank">entry</a> about the new Facebook API that is due to be released sometime this summer.  Well today, it was <a href="http://developers.facebook.com/news.php?blog=1&#038;story=129" target="_blank">announced</a> that Facebook is opening it up for all users to check out on July 16th.  While this isn&#8217;t the official launch, it still seems pretty close seeing as how the API is really buggy currently and on the Developer Forums, a lot of the programmers haven&#8217;t starting converting their apps over yet.</p>
<p>There is no mention of the &#8220;official&#8221; launch date as of yet but they say in their post that &#8220;early next week, we&#8217;ll post more answers to FAQs and share the new policies around the new profile design.&#8221;  That seems kind of bad since they are opening up the new platform to everyone to check out next week as well.  I foresee a lot of people complaining that the apps they have installed don&#8217;t work.  Of course they don&#8217;t, programmers are still working with the buggy API and trying to find their way around in a new, dark room.</p>
<p>I am one who is 100% in favor of the new look and feel that Facebook is releasing but personally I feel that they need to get the API working closer to 100% rather than 50% and have more documentation before they announce to the masses to &#8220;come check this out.&#8221;  Luckily they aren&#8217;t requiring all apps to use the new API as of yet but hopefully it won&#8217;t come too soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2008/07/08/update-to-facebooks-new-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with New Facebook API</title>
		<link>http://digijustin.com/2008/06/30/working-with-new-facebook-api/</link>
		<comments>http://digijustin.com/2008/06/30/working-with-new-facebook-api/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 22:45:59 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[publishTemplatizedAction]]></category>
		<category><![CDATA[publishUserAction]]></category>
		<category><![CDATA[registerTemplateBundle]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.kodedkreations.net/?p=59</guid>
		<description><![CDATA[Tweet As I&#8217;ve written previously, I have worked on a few Facebook applications. I&#8217;ve gotten quite familiar with the intricacies of Facebook and how things work using its API. It&#8217;s an interesting way of doing things if you ever get &#8230; <a href="http://digijustin.com/2008/06/30/working-with-new-facebook-api/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2008%2F06%2F30%2Fworking-with-new-facebook-api%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2008/06/30/working-with-new-facebook-api/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2008/06/30/working-with-new-facebook-api/"  data-text="Working with New Facebook API" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2008/06/30/working-with-new-facebook-api/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2008/06/30/working-with-new-facebook-api/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><span class="zemanta-img" style="margin: 1em; float: right; display: block;"><a href="http://commons.wikipedia.org/wiki/Image:Facebook.svg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Facebook.svg/202px-Facebook.svg.png" alt="Facebook logo - Image Via Wikipedia" style="border: medium none ; display: block;"></a></span>As I&#8217;ve written previously, I have worked on a few Facebook applications.  I&#8217;ve gotten quite familiar with the intricacies of Facebook and how things work using its API.  It&#8217;s an interesting way of doing things if you ever get the chance to check it out.</p>
<p>Anyhow, I&#8217;ve been working for the past week or so on getting to know the new API and platform changes that Facebook should be releasing in the next month or so.  While it seems that a lot of things will just work as is, there are a couple of main points that will need to be changed for any Facebook app written on the current platform.</p>
<p>The main change I feel is the way that the application publishes feeds.  Previously, you would call the <a href="http://wiki.developers.facebook.com/index.php/Feed.publishTemplatizedAction" target="_blank">Feed.publishTemplatizedAction</a> function.  It is pretty basic and relatively easy to understand.  With the new platform, this old call is being removed and to be replaced with a couple of API calls.  With the old platform, you needed to register your templates, get a Template ID back from Facebook, and then use that to call your feeds whenever.</p>
<p>I had a lot of issues at first getting the syntax correct on how the data was passed to the feeds since there isn&#8217;t a lot of documentation on how they are supposed to look.  Especially since Facebook changed the call <a href="http://wiki.developers.facebook.com/index.php/Feed.registerTemplateBundle" target="_blank">Feed.registerTemplateBundle</a>.  But once I got the new changes implemented and the hang of it, publishing feeds stories finally worked as they once did.</p>
<p>The big change to the feed stories is that you are able to have 3 feed sizes.  The default is the one-liner.  Just like it sounds, one line of copy.  Next are the short story and the full story.  They are very similar with the exception that you actually register an array of short stories with each one having one less dynamic piece than the one before it.  With full stories, you only register one but you can make it large.  I&#8217;m not sure of the size difference between the short and full stories as I don&#8217;t think that has been decided as of yet.  If so, let me know.</p>
<p>Those are really the only things that I have done with the new API as of yet.  Seems really cool but also a lot of work to keep your old apps working seamlessly.  First of all, each application that you have, you will have to run the <a href="http://wiki.developers.facebook.com/index.php/Feed.registerTemplateBundle" target="_blank">Feed.registerTemplateBundle</a> API function to get a template ID for your app to use exclusively.  Secondly, you will have edit your API calls to now call the <a href="http://wiki.developers.facebook.com/index.phpFeed.publishUserAction" target="_blank">Feed.publishUserAction</a> instead of the <a href="http://wiki.developers.facebook.com/index.php/Feed.publishTemplatizedAction" target="_blank">Feed.publishTemplatizedAction</a> call being made previously.  It&#8217;s not a &#8220;huge&#8221; change but still there are a few differences.</p>
<p>My idea for updating the apps that I have worked on was to just change the API code that we use on every project but I have seen that won&#8217;t work exactly as I had planned.  Currently, I pass the entire feed story as a string into the API call but with the new way, I&#8217;m going to have to pass a JSON array because the story itself has already been registered along with the template ID.  It&#8217;s not a big deal but it would be nice if Facebook made their API a little bit more backwards compatible.  But I can see why they are doing it this way.  Everything is changing and it would be hard to keep the old stuff working.  I would like the ability to register templates like they do it currently through a form on the Facebook site.  That way I wouldn&#8217;t have to create a page on each app just to get a number back and then remove that page.  Seems like kind of a waste to me but it&#8217;s still early, maybe they&#8217;ll do that.</p>
<p>If you have worked with the new Facebook API, I would love to hear about your experiences and what you think about some of the pending changes.  I&#8217;m excited to see what changes end up happening and where the platform goes.
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8f046a37-94ac-47dc-a075-984ee3d79edc/" title="Zemified by Zemanta"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_a.png?x-id=8f046a37-94ac-47dc-a075-984ee3d79edc" alt="Zemanta Pixie"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2008/06/30/working-with-new-facebook-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why Code from Other People Always Sucks</title>
		<link>http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/</link>
		<comments>http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 05:54:59 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.kodedkreations.net/2008/01/07/why-code-from-other-people-always-sucks/</guid>
		<description><![CDATA[Tweet I&#8217;ve worked on quite a few projects in the time I&#8217;ve been in working in development. I&#8217;ve noticed a couple of similarities between all projects when a project is inherited from another group. Not too long after the developers &#8230; <a href="http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2008%2F01%2F07%2Fwhy-code-from-other-people-always-sucks%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/"  data-text="Why Code from Other People Always Sucks" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I&#8217;ve worked on quite a few projects in the time I&#8217;ve been in working in development.  I&#8217;ve noticed a couple of similarities between all projects when a project is inherited from another group.  Not too long after the developers get to look at it, something universally is always said by one or more members of the team.  &#8220;This code sucks.&#8221;</p>
<p>I&#8217;ve said it myself before but I got to wonder if others do this.  There are only a few reasons this could happen:</p>
<ol>
<li>The previous code does suck</li>
<li>The new team has better ways of doing things over the previous team</li>
<li>The code doesn&#8217;t suck, but it&#8217;s just what is said when inheriting new code</li>
</ol>
<p>Now I seriously doubt that most of the code out there sucks but it is a perception that most developers seem to have.  Everyone has their own way of doing things and most times, one is not all that better than another; just different.</p>
<p>This is also caused by progress in my opinion.  Something that might have seemed correct a few years ago is now seen as obsolete.  Also over-thinking a project can cause this.  I worked on a site a few years ago that was written using many PHP include files.  That&#8217;s not such a bad idea but it was overdone because many of its includes had includes of their own and it was a really tough project to maintain.  In my opinion, it was a good idea gone overboard.</p>
<p>Occasionally there will be a site that truly &#8220;sucks&#8221;.  I was part of a team that inherited a site that was in dire straights.  The code made no sense, the design wasn&#8217;t appealing at all and no one visited it.  We were lucky enough that the client was aware of these things and we were allowed to start from scratch.  Now I wonder if the people working on that site now think that it sucks.  Probably <img src='http://static.digijustin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There are many different characteristics that programmers look for in &#8220;good&#8221; code.  The issue is that these characteristics differ between groups of programmers and what is the bread and butter for one team will be nothing more than garbage and a hassle for another.  Because programming is such a subjective art, not everyone will agree on the right way to do things because what is right for one person, might not be right for someone else.  Everyone and every team has strong and weak points and the idea is to code using your strongest abilities.  In turn, that will make your code better.</p>
<p>My goal when I come across new code is to not jump on it and say how horrible it is, but to rather spend some time looking at it and try to understand why certain things were done that way.  If you are able to step outside your comfort zone and think of things a different way, you might learn something that you hadn&#8217;t thought of before.</p>
<p>So before you announce that the code you just inherited &#8220;sucks&#8221;, take a closer look at it and try to get into the mind of the previous programmer.  If you still can&#8217;t make any sense of it, it&#8217;s because it probably sucks.</p>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2008/01/07/why-code-from-other-people-always-sucks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>User Roles in ASP.NET 2.0</title>
		<link>http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/</link>
		<comments>http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 17:22:00 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[ASP.NET 2.0]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[User Roles]]></category>

		<guid isPermaLink="false">http://staging.kodedkreations.net/2007/07/10/user-roles-in-aspnet-20/</guid>
		<description><![CDATA[Tweet So today I was working on a project where I needed to allow for certain users to access a site but no one else. Seems simple enough but logic goes out the window with this. I had this which &#8230; <a href="http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2007%2F07%2F10%2Fuser-roles-in-aspnet-20%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/"  data-text="User Roles in ASP.NET 2.0" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>So today I was working on a project where I needed to allow for certain users to access a site but no one else. Seems simple enough but logic goes out the window with this.</p>
<p>I had this which made sense to me. Deny everyone first, then add the roles that I wanted to have access:</p>
<p>&lt;system.web&gt;<br />&nbsp;&nbsp;&nbsp;&lt;authorization&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;deny users=&#8221;*&#8221; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 1&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 2&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 3&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 4&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 5&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 6&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&lt;/authorization&gt;<br />&lt;/system.web&gt;</p>
<p>Turns out that you have to allow the users first and then deny everyone.  So next time I come across this, I will throw logic out the window and get it done faster.  This one is the one that works:</p>
<p>&lt;system.web&gt;<br />&nbsp;&nbsp;&nbsp;&lt;authorization&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 1&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 2&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 3&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 4&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 5&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;allow roles=&#8221;Role 6&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;deny users=&#8221;*&#8221; /&gt;<br />&nbsp;&nbsp;&nbsp;&lt;/authorization&gt;<br />&lt;/system.web&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2007/07/10/user-roles-in-aspnet-20/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Selecting Random Row from a SQL SELECT Statement</title>
		<link>http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/</link>
		<comments>http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 22:54:00 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[SELECT Statement]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://staging.kodedkreations.net/2007/03/23/selecting-random-row-from-a-sql-select-statement/</guid>
		<description><![CDATA[Tweet Well I just found something cool as I was looking for a way to select some data from a SQL Server table and only return 1 random row. Pretty easy too: SELECT TOP 1 columnName FROM table ORDER BY &#8230; <a href="http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2007%2F03%2F23%2Fselecting-random-row-from-a-sql-select-statement%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/"  data-text="Selecting Random Row from a SQL SELECT Statement" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Well I just found something cool as I was looking for a way to select some data from a SQL Server table and only return 1 random row.  Pretty easy too:</p>
<p><strong>SELECT TOP 1 columnName FROM table ORDER BY NEWID()</strong></p>
<p>Works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2007/03/23/selecting-random-row-from-a-sql-select-statement/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Vista, IIS 7, and ASP.NET 1.1 Playing Nice Together</title>
		<link>http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/</link>
		<comments>http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 23:16:00 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[ASP.NET 1.1]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://staging.kodedkreations.net/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/</guid>
		<description><![CDATA[Tweet Well this didn&#8217;t take long. I ran into a problem today with trying to get an old 1.1 project to open on my Vista machine and nothing was working. I did some digging and found this article: How to &#8230; <a href="http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080; border-radius:5px 5px 5px 5px; box-shadow:2px 2px 5px rgba(0,0,0,0.3);background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdigijustin.com%2F2007%2F03%2F22%2Fvista-iis-7-and-aspnet-11-playing-nice-together%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/"  data-text="Vista, IIS 7, and ASP.NET 1.1 Playing Nice Together" data-count="horizontal" data-via="digijustin">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Well this didn&#8217;t take long. I ran into a problem today with trying to get an old 1.1 project to open on my Vista machine and nothing was working. I did some digging and found this article:</p>
<p><a href="http://www.iis.net/default.aspx?tabid=2&#038;subtabid=25&amp;i=993" target="_blank">How to Enable ASP.NET 1.1 on IIS7</a></p>
<p>You do need to do a restart after installing the 2 .NET 1.1 updates but it&#8217;s worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://digijustin.com/2007/03/22/vista-iis-7-and-aspnet-11-playing-nice-together/feed/</wfw:commentRss>
		<slash:comments>0</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-02-10 02:12:14 -->
