<?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"
	>

<channel>
	<title>Digital Explosion</title>
	<atom:link href="http://www.dedesigner.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dedesigner.com</link>
	<description>Designs that work - Websites, Logos, Print Ads &#38; much more!</description>
	<pubDate>Mon, 23 Apr 2012 19:41:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Mi Casa es Su Casa</title>
		<link>http://www.dedesigner.com/2009/08/mi-casa-es-su-casa/</link>
		<comments>http://www.dedesigner.com/2009/08/mi-casa-es-su-casa/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:48:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[data base website]]></category>

		<category><![CDATA[mi casa es su casa]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=623</guid>
		<description><![CDATA[This is a database website, that allows the client to edit the site. The website is in a RSS feed, and people can subscribe, join, [...]]]></description>
			<content:encoded><![CDATA[<p>This is a database website, that allows the client to edit the site. The website is in a RSS feed, and people can subscribe, join, and comment on the website. A online reservation system is in place. The website uses the online database to store the rental calendar with black out dates for current rental vacancy.  A photogallery and smooth viewing effect is a part of the website, and all you do is upload your image the website does the rest. Ad management is built into the website for internal or external advertising.  The website traffic is track by a third party, google analytics.</p>
<div style="display: none">VN:F [1.3.2_665]</div><div class="ratingblock"><div class="ratingblock "><div class="ratingheader "></div><div class="ratingstars "><div id="article_rater_623" class="ratepost gdsr-oxygen gdsr-size-30"><div class="starsbar gdsr-size-30"><div class="gdouter" align="left"><div id="gdr_vote_a623" style="width: 130px;" class="gdinner"></div><div id="gdr_stars_a623" class="gdsr_rating_as"><a id="gdsrX623X5X0XaXarticle_rater_623Xarticle_loader_623X10" title="5 / 5" class="s5" rel="nofollow"></a><a id="gdsrX623X4X0XaXarticle_rater_623Xarticle_loader_623X10" title="4 / 5" class="s4" rel="nofollow"></a><a id="gdsrX623X3X0XaXarticle_rater_623Xarticle_loader_623X10" title="3 / 5" class="s3" rel="nofollow"></a><a id="gdsrX623X2X0XaXarticle_rater_623Xarticle_loader_623X10" title="2 / 5" class="s2" rel="nofollow"></a><a id="gdsrX623X1X0XaXarticle_rater_623Xarticle_loader_623X10" title="1 / 5" class="s1" rel="nofollow"></a></div></div></div></div><div id="article_loader_623" style="display: none; width:150px;" class="ratingloader article"><div class="loader flower " style="height: 30px"><div class="loaderinner" style="padding-top: 5px">please wait...</div></div></div></div><div class="ratingtext "><div id="gdr_text_a623">Rating: 4.3/<strong>5</strong> (3 votes cast)</div></div></div></div>
<p><span style="text-decoration: underline;"><span style="color: #0000ff;"><a href="http://mycostaricarental.com/">http://mycostaricarental.com/</a></span></span><a href="http://www.mycostaricarental.com"></a></p>
<p><a href="http://www.dedesigner.com/wp-content/uploads/micasa.jpg"><img class="size-medium wp-image-624 alignleft" title="micasa" src="http://www.dedesigner.com/wp-content/uploads/micasa-300x259.jpg" alt="" width="300" height="259" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/08/mi-casa-es-su-casa/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Billboard Design: Natural Spring Pools</title>
		<link>http://www.dedesigner.com/2009/08/billboard-design-natural-spring-pools/</link>
		<comments>http://www.dedesigner.com/2009/08/billboard-design-natural-spring-pools/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 16:14:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=614</guid>
		<description><![CDATA[This billboard design was created for Natural Spring Pools. Created in a vector format.

]]></description>
			<content:encoded><![CDATA[<p>This billboard design was created for Natural Spring Pools. Created in a vector format.</p>
<p><a href="http://www.dedesigner.com/wp-content/uploads/beautyatpool-edit.jpg"><img class="aligncenter size-medium wp-image-615" title="Billboard Design" src="http://www.dedesigner.com/wp-content/uploads/beautyatpool-edit-300x175.jpg" alt="" width="300" height="175" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/08/billboard-design-natural-spring-pools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DJ Vector</title>
		<link>http://www.dedesigner.com/2009/08/dj-vector/</link>
		<comments>http://www.dedesigner.com/2009/08/dj-vector/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 21:02:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=606</guid>
		<description><![CDATA[DJ advert all vector

]]></description>
			<content:encoded><![CDATA[<p>DJ advert all vector</p>
<p><a href="http://www.dedesigner.com/wp-content/uploads/worked-advert-ready-web.jpg"><img title="worked-advert-ready-web" class="aligncenter size-medium wp-image-607" src="http://www.dedesigner.com/wp-content/uploads/worked-advert-ready-web-300x137.jpg" alt="" width="300" height="137" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/08/dj-vector/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Illustration Technique: 1</title>
		<link>http://www.dedesigner.com/2009/08/illustration-technique-1/</link>
		<comments>http://www.dedesigner.com/2009/08/illustration-technique-1/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 19:46:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[adobe]]></category>

		<category><![CDATA[color]]></category>

		<category><![CDATA[illustration techniques]]></category>

		<category><![CDATA[outline]]></category>

		<category><![CDATA[text]]></category>

		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=586</guid>
		<description><![CDATA[ 

 
Coloring Outlined Text in Adobe Illustrator
This video will show you how to color outlined text in Illustrator, this lesson is easy, but very crutial to [...]]]></description>
			<content:encoded><![CDATA[<p style="TEXT-ALIGN: center"> </p>
<p style="text-align: left;"><a href="http://www.dedesigner.com/wp-content/uploads/med.jpg"><img class="alignleft size-medium wp-image-596" title="GLADIATOR" src="http://www.dedesigner.com/wp-content/uploads/med-300x243.jpg" alt="" width="300" height="243" /></a></p>
<p style="TEXT-ALIGN: center"> </p>
<p style="text-align: left;">Coloring Outlined Text in Adobe Illustrator</p>
<p>This video will show you how to color outlined text in Illustrator, this lesson is easy, but very crutial to create unique designs.</p>
<p>This Design was created for the back of a 48ft Yacht  </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="346" height="310" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="opaque" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/cFleI9zSsbc&amp;hl=en&amp;fs=1&amp;rel=0" /><embed type="application/x-shockwave-flash" width="346" height="310" src="http://www.youtube.com/v/cFleI9zSsbc&amp;hl=en&amp;fs=1&amp;rel=0" allowfullscreen="true" wmode="opaque"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/08/illustration-technique-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SMS Short Codes</title>
		<link>http://www.dedesigner.com/2009/07/sms-short-codes/</link>
		<comments>http://www.dedesigner.com/2009/07/sms-short-codes/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 03:31:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[sms short code]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=720</guid>
		<description><![CDATA[ Most likely you’ve seen cell phone “short codes” when advertisers on sandwich wrappers or big media brands like American Idol create text message-based voting [...]]]></description>
			<content:encoded><![CDATA[<p> Most likely you’ve seen cell phone “short codes” when advertisers on sandwich wrappers or big media brands like American Idol create text message-based voting campaigns. You know, text a message to this 5 or so digit mobile code and get some free stuff you don’t really want. But more smaller organizations and communities are turning to short codes with the help of startups. </p>
<p> Do you need one? If you want to market or promote something to mobile users, manage mobile communications to members of a group or organization, or get cell phone users to access your mobile application or service — then, maybe. How much are you willing to spend and what kind do you need? Here is some things to know about short codes, how to get them and what to avoid:</p>
<p> There are two kinds of short codes, shared and dedicated. Dedicated short codes are dedicated for one customer, and are costly and take awhile to set up – in the U.S. it can cost anywhere from $15,000 to $30,000 per year and take two months to get it ready.</p>
<p> Shared short codes are shared among customers and use keywords to identify their traffic. The cost of these is pretty small, and you can access these services from companies like Mozes and TextMarks. Mozes has been actively signing up bands while TextMarks has been working on organizations and local communities.</p>
<p> If you want to obtain a dedicated short code in the U.S., you have to choose between vanity or select (hand-picked) and random codes. It’s like picking a license plate. Vanity codes cost around $1,000 per month just to register and random short codes cost about half that.</p>
<p> Registration of dedicated short codes is only part of the process if you want your own code. You’ll probably want to go to one of the dozen or so SMS aggregator companies that have relationships with different carriers like Clickatell, or VeriSign. Research all the prices and compare as they are all trying to undercut each other.</p>
<p> If you are a content provider you can’t have to much fun either. According to the CTIA site you generally have to: “Agree not to transmit political marketing (news is acceptable), religious, pornographic, prostitution/escort, gambling, hate, alcohol or drug related content.” Wonder how FAITH and PLBOY (see below) are working that out.</p>
<p>A huge plus, If you text HELP or STOP to a short code, the service should respond. This is implemented to help users end or learn more about the short code service, and is useful for managing and finding these services.</p>
<p> Here are some sms shot codes, some did not respond to help/stop: COKE, 20FOX, FAITH, FBOOK (Facebook), GAWK (Gawker Media), MYSPC, (MySpace) PLBOY (PlayBoy).</p>
<div style="display: none">VN:F [1.3.2_665]</div><div class="ratingblock"><div class="ratingblock "><div class="ratingheader "></div><div class="ratingstars "><div id="article_rater_720" class="ratepost gdsr-oxygen gdsr-size-30"><div class="starsbar gdsr-size-30"><div class="gdouter" align="left"><div id="gdr_vote_a720" style="width: 150px;" class="gdinner"></div><div id="gdr_stars_a720" class="gdsr_rating_as"><a id="gdsrX720X5X0XaXarticle_rater_720Xarticle_loader_720X10" title="5 / 5" class="s5" rel="nofollow"></a><a id="gdsrX720X4X0XaXarticle_rater_720Xarticle_loader_720X10" title="4 / 5" class="s4" rel="nofollow"></a><a id="gdsrX720X3X0XaXarticle_rater_720Xarticle_loader_720X10" title="3 / 5" class="s3" rel="nofollow"></a><a id="gdsrX720X2X0XaXarticle_rater_720Xarticle_loader_720X10" title="2 / 5" class="s2" rel="nofollow"></a><a id="gdsrX720X1X0XaXarticle_rater_720Xarticle_loader_720X10" title="1 / 5" class="s1" rel="nofollow"></a></div></div></div></div><div id="article_loader_720" style="display: none; width:150px;" class="ratingloader article"><div class="loader flower " style="height: 30px"><div class="loaderinner" style="padding-top: 5px">please wait...</div></div></div></div><div class="ratingtext "><div id="gdr_text_a720">Rating: 5.0/<strong>5</strong> (2 votes cast)</div></div></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/07/sms-short-codes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Facebook Connect tutorial</title>
		<link>http://www.dedesigner.com/2009/07/facebook-connect-tutorial/</link>
		<comments>http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 15:43:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[connect]]></category>

		<category><![CDATA[data base]]></category>

		<category><![CDATA[digital explosion]]></category>

		<category><![CDATA[face book]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[facebook connect]]></category>

		<category><![CDATA[how to]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=548</guid>
		<description><![CDATA[








Contents


1 What You&#8217;ll Learn
2 What You&#8217;ll Need
3 Tutorial Step by Step

3.1 Adding a Connect Login Button to a Comment Form
3.2 Adding an onlogin Handler
3.3 Correcting [...]]]></description>
			<content:encoded><![CDATA[<h3 id="siteSub"><a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1"></a></h3>
<div id="jump-to-nav"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial//#searchInput"></a></div>
<p><!-- start content --></p>
<div>
<table id="toc" class="toc" border="0" summary="Contents">
<tbody>
<tr>
<td>
<div id="toctitle">
<h2>Contents</h2>
</div>
<ul style="display: block;">
<li class="toclevel-1"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#What_You.27ll_Learn"><span class="tocnumber">1</span> <span class="toctext">What You&#8217;ll Learn</span></a></li>
<li class="toclevel-1"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#What_You.27ll_Need"><span class="tocnumber">2</span> <span class="toctext">What You&#8217;ll Need</span></a></li>
<li class="toclevel-1"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#Tutorial_Step_by_Step"><span class="tocnumber">3</span> <span class="toctext">Tutorial Step by Step</span></a>
<ul>
<li class="toclevel-2"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#Adding_a_Connect_Login_Button_to_a_Comment_Form"><span class="tocnumber">3.1</span> <span class="toctext">Adding a Connect Login Button to a Comment Form</span></a></li>
<li class="toclevel-2"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#Adding_an_onlogin_Handler"><span class="tocnumber">3.2</span> <span class="toctext">Adding an onlogin Handler</span></a></li>
<li class="toclevel-2"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#Correcting_Page_Load_Behavior"><span class="tocnumber">3.3</span> <span class="toctext">Correcting Page Load Behavior</span></a></li>
<li class="toclevel-2"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#About_Server-Side_Security"><span class="tocnumber">3.4</span> <span class="toctext">About Server-Side Security</span></a></li>
</ul>
</li>
<li class="toclevel-1"><a href="http://www.dedesigner.com/2009/07/facebook-connect-tutorial/#Debugging_Connect"><span class="tocnumber">4</span> <span class="toctext">Debugging Connect</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<p><script type="text/javascript"></script><a name="What_You.27ll_Learn"></a></p>
<h2><span class="mw-headline">What You&#8217;ll Learn </span></h2>
<p>This tutorial covers how to add a <a title="Facebook Connect" href="http://wiki.developers.facebook.com/index.php/Facebook_Connect">Facebook Connect</a> button to your site (in this case, a blog that allows user comments) and adds the user&#8217;s Facebook name and profile picture when a user clicks the Connect button. Note that this tutorial covers only the first steps towards a full Facebook Connect implementation. A complete solution will almost always involve a server-side component. We&#8217;ll cover additional integrations in later videos. <a class="external text" title="http://www.facebook.com/video/video.php?v=630563174283" rel="nofollow" href="http://www.facebook.com/video/video.php?v=630563174283">You can follow along the video tutorial as you read this article: </a><a class="image" title="Image:Tutorial_Video.png" href="http://www.dedesigner.com/wp-content/uploads/tutorial_video.png"></a><a href="http://www.dedesigner.com/wp-content/uploads/tutorial_video.png"><img class="alignnone size-full wp-image-551" title="tutorial_video" src="http://www.dedesigner.com/wp-content/uploads/tutorial_video.png" alt="" width="298" height="180" /></a> <a name="What_You.27ll_Need"></a></p>
<h2><span class="mw-headline">What You&#8217;ll Need </span></h2>
<ul>
<li>A website for which you control the code and have server access. If you use software like MovableType, WordPress, or Drupal, check out our <a title="Facebook Connect Plugin Directory" href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_Plugin_Directory">Facebook Connect Plugin Directory</a>.</li>
<li>Basic knowledge of JavaScript and HTML.</li>
</ul>
<p><a name="Tutorial_Step_by_Step"></a></p>
<h2><span class="mw-headline">Tutorial Step by Step </span></h2>
<p><a name="Adding_a_Connect_Login_Button_to_a_Comment_Form"></a></p>
<h3><span class="mw-headline">Adding a Connect Login Button to a Comment Form </span></h3>
<p>Let&#8217;s begin with a basic HTML file that contains this initial code for your blog&#8217;s comment submission form:</p>
<blockquote><p>&lt;html&gt; &lt;body&gt; &lt;div id=&#8221;comments_post&#8221;&gt; &lt;h3&gt;Leave a comment:&lt;/h3&gt; &lt;form method=&#8221;POST&#8221;&gt; &lt;div id=&#8221;user&#8221;&gt; Name: &lt;input name=&#8221;name&#8221; size=&#8221;27&#8243;&gt;&lt;br /&gt; &lt;/div&gt; &lt;textarea name=&#8221;comment&#8221; rows=&#8221;5&#8243; cols=&#8221;30&#8243;&gt;&lt;/textarea&gt; &lt;br /&gt; &lt;input type=&#8221;submit&#8221; value=&#8221;Submit Comment&#8221;&gt; &lt;/form&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</p></blockquote>
<p>First, we&#8217;ll add a Facebook Connect login button. Add an</p>
<blockquote><p>&lt;fb:login-button&gt;&lt;/fb:login-button&gt; tag under the <strong>Name</strong> field.</p></blockquote>
<p>Because <a title="Fb:login-button" href="http://wiki.developers.facebook.com/index.php/Fb:login-button">fb:login-button</a> is an <a title="XFBML" href="http://wiki.developers.facebook.com/index.php/XFBML">XFBML</a> tag, we need some Facebook-specific JavaScript to actually render it. Put this line at the bottom of your HTML file, right before the closing <code>&lt;/body&gt;</code> tag.</p>
<blockquote><p>src=&#8221;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php&#8221;&gt;&lt;/script&gt;</p></blockquote>
<li>Create a cross domain receiver file, which is necessary for secure <a title="Cross Domain Communication" href="http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication">cross-domain communication</a> with Facebook. Just copy and paste the following text into a file called <code>xd_receiver.htm</code> on your site:<br />
<blockquote><p>&lt; !DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt; &lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; &gt; &lt;body&gt; &lt;script src=&#8221;http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt;</p></blockquote>
</li>
<li>Each Connect website is treated as a Facebook application, and so it needs an API key. Go to the <a class="external text" title="http://www.facebook.com/developers" rel="nofollow" href="http://www.facebook.com/developers">Facebook Developer application</a> and click <strong>Create An Application</strong>. Fill in these fields:
<ul>
<li><strong>Application Name</strong>: this will be what your users will see when they connect to your site.</li>
<li><strong>Terms of Service</strong>: Select <strong>Agree</strong>. The <a class="external text" title="http://developers.facebook.com/terms.php" rel="nofollow" href="http://developers.facebook.com/terms.php">Developer Terms of Service</a> govern among other things how you can use the information on your site. Pay particular attention to section G, Facebook Connect.</li>
<li><strong>Connect URL</strong>: This is the root URL of your site. Your cross-domain receiver file must be underneath the directory specified.</li>
<li><strong>Icon (Optional)</strong>: You can add an image to represent your site in the News <a title="Feed" href="http://wiki.developers.facebook.com/index.php/Feed">Feed</a> stories you publish.</li>
<li><strong>Facebook Connect Logo (Optional)</strong>: You can add an image to represent your site in the Connect dialog.</li>
<li><strong><a title="Base Domain" href="http://wiki.developers.facebook.com/index.php/Base_Domain">Base Domain</a> (Optional)</strong>: If your site runs on multiple subdomains, you may need to set the Base Domain. Note that this applies even if you run on something.com and www.something.com, as those are different subdomains.</li>
</ul>
</li>
<li>Submit your application, and make note of your API key.</li>
<li>Go back to your original file. Underneath the <code>&lt;script&gt;</code> include, and right before the closing <code>&lt;/body&gt;</code> tag, you need to add the following line of JavaScript, which tells Facebook your API key and the location of the cross-domain receiver file.</li>
<p>Finally, because <a title="XFBML" href="http://wiki.developers.facebook.com/index.php/XFBML">XFBML</a> is an extension to HTML, we need to make sure that the browser knows to ignore these tags. Do that by defining an XML namespace in your <code>&lt;html&gt;</code> tag. The top of your file should look like this:</p>
<blockquote><p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt; &lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xmlns:fb=&#8221;http://www.facebook.com/2008/fbml&#8221;&gt;</p></blockquote>
<p>Your file should look like this now:</p>
<blockquote><p>&lt; !DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt; &lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xmlns:fb=&#8221;http://www.facebook.com/2008/fbml&#8221;&gt; &lt;body&gt; &lt;div id=&#8221;comments_post&#8221;&gt; &lt;h3&gt;Leave a comment:&lt;/h3&gt; &lt;form method=&#8221;POST&#8221;&gt; &lt;div id=&#8221;user&#8221;&gt; Name: &lt;input name=&#8221;name&#8221; size=&#8221;27&#8243;&gt;&lt;br /&gt; &lt;fb:login-button&gt;&lt;/fb:login-button&gt; &lt;/div&gt; &lt;textarea name=&#8221;comment&#8221; rows=&#8221;5&#8243; cols=&#8221;30&#8243;&gt;&lt;/textarea&gt; &lt;br /&gt; &lt;input type=&#8221;submit&#8221; value=&#8221;Submit Comment&#8221;&gt; &lt;/form&gt; &lt;/div&gt; &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php&#8221;&gt;&lt;/script&gt; &lt;script type=&#8221;text/javascript&#8221;&gt; FB.init(&#8221;3f0ba1d70537bbf9381bca2bbb9f9a93&#8243;,&#8221;xd_receiver.htm&#8221;); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;</p></blockquote>
<li>Go back to your browser and refresh the page. ￼Click the <strong>Connect</strong> button, connect your account, and then &#8230; nothing happens. Why? We need to change the login button so it displays the full call to action – &#8220;Connect With Facebook&#8221;. Add an <code>onlogin</code> attribute to your login button, which is described in detail in the next section.</li>
<li>You can choose from a number of login button styles; read <a title="Facebook Connect Login Buttons" href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_Login_Buttons">Facebook Connect Login Buttons</a> for the various options.</li>
<p><a name="Adding_an_onlogin_Handler"></a></p>
<h3><span class="mw-headline">Adding an onlogin Handler </span></h3>
<p>Next, we&#8217;ll add some JavaScript to execute when the user connects accounts. Start by verifying that the Connect button works by adding an alert handler to the fb:login-button tag.</p>
<blockquote><p>&lt;fb:login-button onlogin=&#8221;alert(&#8217;hello&#8217;);&#8221;&gt;&lt;/fb:login-button&gt;</p></blockquote>
<p>Go back and refresh the page, then click the Connect button. You should see the alert. Now let&#8217;s have the button do something. It should add the user&#8217;s name and profile picture and make the login button disappear after the user connects. Replace your existing fb:login-button code with this:</p>
<blockquote><p>&lt;fb:login-button onlogin=&#8221;update_user_box();&#8221;&gt;&lt;/fb:login-button&gt;</p></blockquote>
<p>Then after the button reference, you can define the function.</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt; function update_user_box() { var user_box = document.getElementById(&#8221;user&#8221;); // add in some XFBML. note that we set useyou=false so it doesn&#8217;t display &#8220;you&#8221; user_box.innerHTML = &#8220;&lt;span&gt;&#8221; + &#8220;&lt;fb:profile-pic uid=&#8217;loggedinuser&#8217; facebook-logo=&#8217;true&#8217;&gt;&lt;/fb:profile-pic&gt;&#8221; + &#8220;Welcome, &lt;fb:name uid=&#8217;loggedinuser&#8217; useyou=&#8217;false&#8217;&gt;&lt;/fb:name&gt;. You are signed in with your Facebook account.&#8221; + &#8220;&lt;/span&gt;&#8221;; // because this is XFBML, we need to tell Facebook to re-process the document FB.XFBML.Host.parseDomTree(); } &lt;/script&gt;</p></blockquote>
<p>Refresh the page, click the Connect button, and you see that the name and picture appear. Now, your file looks like this:</p>
<blockquote><p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt; &lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xmlns:fb=&#8221;http://www.facebook.com/2008/fbml&#8221;&gt; &lt;body&gt; &lt;div id=&#8221;comments_post&#8221;&gt; &lt;h3&gt;Leave a comment:&lt;/h3&gt; &lt;form method=&#8221;POST&#8221;&gt; &lt;div id=&#8221;user&#8221;&gt; Name: &lt;input name=&#8221;name&#8221; size=&#8221;27&#8243;&gt;&lt;br /&gt; &lt;fb:login-button onlogin=&#8221;update_user_box();&#8221;&gt;&lt;/fb:login-button&gt; &lt;/div&gt; &lt;textarea name=&#8221;comment&#8221; rows=&#8221;5&#8243; cols=&#8221;30&#8243;&gt;&lt;/textarea&gt; &lt;br /&gt; &lt;input type=&#8221;submit&#8221; value=&#8221;Submit Comment&#8221;&gt; &lt;/form&gt; &lt;/div&gt; &lt;script type=&#8221;text/javascript&#8221;&gt; function update_user_box() { var user_box = document.getElementById(&#8221;user&#8221;); // add in some XFBML. note that we set useyou=false so it doesn&#8217;t display &#8220;you&#8221; user_box.innerHTML = &#8220;&lt;span&gt;&#8221; + &#8220;&lt;fb:profile-pic uid=loggedinuser facebook-logo=true&gt;&lt;/fb:profile-pic&gt;&#8221; + &#8220;Welcome, &lt;fb:name uid=loggedinuser useyou=false&gt;&lt;/fb:name&gt;. You are signed in with your Facebook account.&#8221; + &#8220;&lt;/span&gt;&#8221;; // because this is XFBML, we need to tell Facebook to re-process the document FB.XFBML.Host.parseDomTree(); } &lt;/script&gt; &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php&#8221;&gt;&lt;/script&gt; &lt;script type=&#8221;text/javascript&#8221;&gt; FB.init(&#8221;3f0ba1d70537bbf9381bca2bbb9f9a93&#8243;,&#8221;xd_receiver.htm&#8221;); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;</p></blockquote>
<h3><span class="mw-headline">Correcting Page Load Behavior </span></h3>
<p>You may have noticed that on page refresh, you always need to click the Connect button, which is really annoying. We have several ways of handling this. If you have a server-side component, you can detect that the user is logged in based on the cookies and just serve logged-in content directly. However, if you&#8217;re doing it entirely in JavaScript (as in this example) you can use the <a title="JS API M FB.Connect.IfUserConnected" href="http://wiki.developers.facebook.com/index.php/JS_API_M_FB.Connect.IfUserConnected">ifUserConnected</a> modifier to easily execute something on load if the user is logged in. Modify your FB.init call to always run update_user_box whenever the user is connected, even if it&#8217;s on page load:</p>
<blockquote><p>FB.init(&#8221;3f0ba1d70537bbf9381bca2bbb9f9a93&#8243;,&#8221;xd_receiver.htm&#8221;, {&#8221;ifUserConnected&#8221; : update_user_box});</p></blockquote>
<p>Now, on page load, if it detects that the user is logged into Facebook and connected with your site, it will execute this code. There is a minor flicker, which can be avoided with clever CSS tricks. The server-side rendering is also preferable if you have a lot of Facebook user specific content. <a name="About_Server-Side_Security"></a></p>
<h3><span class="mw-headline">About Server-Side Security </span></h3>
<p>In a real application, you could also include additional HTML to tell your server that this is a Facebook request. For example:</p>
<blockquote><p>&lt;input type=&#8221;hidden&#8221; name=&#8221;facebook-request&#8221; value=&#8221;true&#8221; /&gt;</p></blockquote>
<p>However, you definitely shouldn&#8217;t set the user ID. The Facebook JavaScript library sets cookies that your server can use not only to get the user ID, but also to verify securely that the call came from Facebook. See <a title="Verifying The Signature" href="http://wiki.developers.facebook.com/index.php/Verifying_The_Signature">Verifying The Signature</a> for more details. We will cover this in a later tutorial <a name="Debugging_Connect"></a></p>
<h2><span class="mw-headline">Debugging Connect </span></h2>
<p>If any of these steps don&#8217;t work, check out the <a title="Facebook Connect FAQ" href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_FAQ">Facebook Connect FAQ</a>. Soon, we&#8217;ll post an article on debugging Facebook Connect for some information on the right tools and techniques to use to figure out exactly what&#8217;s happening behind the scenes</p>
<p>Did this help?</p>
<div style="display: none">VN:F [1.3.2_665]</div><div class="ratingblock"><div class="ratingblock "><div class="ratingheader "></div><div class="ratingstars "><div id="article_rater_548" class="ratepost gdsr-oxygen gdsr-size-30"><div class="starsbar gdsr-size-30"><div class="gdouter" align="left"><div id="gdr_vote_a548" style="width: 103.846153846px;" class="gdinner"></div><div id="gdr_stars_a548" class="gdsr_rating_as"><a id="gdsrX548X5X0XaXarticle_rater_548Xarticle_loader_548X10" title="5 / 5" class="s5" rel="nofollow"></a><a id="gdsrX548X4X0XaXarticle_rater_548Xarticle_loader_548X10" title="4 / 5" class="s4" rel="nofollow"></a><a id="gdsrX548X3X0XaXarticle_rater_548Xarticle_loader_548X10" title="3 / 5" class="s3" rel="nofollow"></a><a id="gdsrX548X2X0XaXarticle_rater_548Xarticle_loader_548X10" title="2 / 5" class="s2" rel="nofollow"></a><a id="gdsrX548X1X0XaXarticle_rater_548Xarticle_loader_548X10" title="1 / 5" class="s1" rel="nofollow"></a></div></div></div></div><div id="article_loader_548" style="display: none; width:150px;" class="ratingloader article"><div class="loader flower " style="height: 30px"><div class="loaderinner" style="padding-top: 5px">please wait...</div></div></div></div><div class="ratingtext "><div id="gdr_text_a548">Rating: 3.5/<strong>5</strong> (39 votes cast)</div></div></div></div>
<p> </p>
<h2>Modify the CSS tutorial found here:</h2>
<p> <a href="http://www.dedesigner.com/2008/07/css-for-wp-facebookconnect/">http://www.dedesigner.com/2008/07/css-for-wp-facebookconnect/</a></p>
<p> </p>
<p class="printfooter">Retrieved from &#8220;<a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1">http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1</a>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/07/facebook-connect-tutorial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Digital Explosion</title>
		<link>http://www.dedesigner.com/2009/06/digital-explode/</link>
		<comments>http://www.dedesigner.com/2009/06/digital-explode/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:28:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Online Advertising]]></category>

		<category><![CDATA[animation]]></category>

		<category><![CDATA[de designer]]></category>

		<category><![CDATA[dedesigner]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[digital explosion]]></category>

		<category><![CDATA[featured]]></category>

		<category><![CDATA[graphic]]></category>

		<category><![CDATA[product]]></category>

		<category><![CDATA[tamp]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=441</guid>
		<description><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/introex.swf"
			width="458"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/introex.swf" />
</object>
]]></description>
			<content:encoded><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/introex.swf"
			width="458"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/introex.swf" />
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/06/digital-explode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>We know Design</title>
		<link>http://www.dedesigner.com/2009/06/we-know-design/</link>
		<comments>http://www.dedesigner.com/2009/06/we-know-design/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 19:26:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Online Advertising]]></category>

		<category><![CDATA[blogs]]></category>

		<category><![CDATA[business cards]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[designs]]></category>

		<category><![CDATA[digital explosion]]></category>

		<category><![CDATA[featured]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flash website]]></category>

		<category><![CDATA[internet]]></category>

		<category><![CDATA[logo]]></category>

		<category><![CDATA[photography]]></category>

		<category><![CDATA[print]]></category>

		<category><![CDATA[stock]]></category>

		<category><![CDATA[video games]]></category>

		<category><![CDATA[voiceover]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=414</guid>
		<description><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/grungefloralmx41.swf"
			width="460"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/grungefloralmx41.swf" />
</object>
]]></description>
			<content:encoded><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/grungefloralmx41.swf"
			width="460"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/grungefloralmx41.swf" />
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/06/we-know-design/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Our Services</title>
		<link>http://www.dedesigner.com/2009/05/our-services/</link>
		<comments>http://www.dedesigner.com/2009/05/our-services/#comments</comments>
		<pubDate>Thu, 21 May 2009 18:09:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Online Advertising]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=364</guid>
		<description><![CDATA[ 
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/2009/05/tester.swf"
			width="450"
			height="350">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/2009/05/tester.swf" />
</object>

]]></description>
			<content:encoded><![CDATA[<p> 
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/2009/05/tester.swf"
			width="450"
			height="350">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/2009/05/tester.swf" />
</object><br />
<script src="AC_RunActiveContent.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/05/our-services/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Online advertising</title>
		<link>http://www.dedesigner.com/2009/05/online-advertising/</link>
		<comments>http://www.dedesigner.com/2009/05/online-advertising/#comments</comments>
		<pubDate>Fri, 15 May 2009 04:54:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Online Advertising]]></category>

		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.dedesigner.com/?p=322</guid>
		<description><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/whynotphones_animation_example.swf"
			width="400"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/whynotphones_animation_example.swf" />
</object>
]]></description>
			<content:encoded><![CDATA[
<object	type="application/x-shockwave-flash"
			data="http://www.dedesigner.com/wp-content/uploads/whynotphones_animation_example.swf"
			width="400"
			height="300">
	<param name="movie" value="http://www.dedesigner.com/wp-content/uploads/whynotphones_animation_example.swf" />
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.dedesigner.com/2009/05/online-advertising/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

