Search This Blog

Wednesday, October 20, 2010

How to setup/integrate Facebook Platform with your own

Facebook is a host platform today for developers, marketers, businesses, actually
anyone really! Facebook is the world's largest social network topping over almost
500 million users. The amount of active traffic you can get from Facebook
is astonishing. I am not going to bloat about Facebook and how awesome it is but
what this blog post is about is how you can get started with Facebook in your own
site in less than 15 minutes. There are many tutorials out there now that try
to explain this but fail miserably. Either the documenation that the tutorial provides
is out of date or the version is out of date. It is very hard to follow. This blog
post will make it incredibly easy for anyone to get started who knows how to copy/paste
:) Let's get started:

Step 1: Register your application with your facebook account

Once you are logged into your facebook account go to the follow address:
Register your application
If you have not already added the facebook "developer"
application to your profile, you will need to do so in order to continue. If you
are reading this blog, I am hoping that you have already added the facebook developer
application to your profile. If not, its easy to add, just like any other app you
add to your profile.

Fill out the captcha...

Step 2: Setup your application's info

To make your application more easy to understand for your users, provide a brief
description about your app. Also, you can include other helpful information to your
user such as contact email, the developer's name, etc.

Step 3: Setup your web application details

I had the most trouble getting this work since all the google'd information I found
on doing this was out-of-date. Under 'web Site' tab on the left, enter your site's
URL and site's domain. (e.g. site URL:, site domain:

Step 4: Create a dummy page in your web site's root called 'xd_receiver.htm' with the following code

Step 5: Create a base page on your site to connect to facebook using Javascript

This part requires a little more knowledge on the coding part. If you have made it this far, your are doing well. Almost there!
We need to create a page to collect our facebook data and show it on our web page. Create a page on your site using whatever technology you prefer and then
in the paste in the following code:

You will need to deploy this web page to your site on the web in order to get this to work. This will basically allow you to connect to facebook using an account of your choice. (e.g.
Your fb account , your dev account, etc.) That is pretty much it as far as the hard stuff goes. The only thing left to do is to work on what your application needs from facebook.
You will need to look throught the JavaScript API and SDK to understand how to format requests and the other. One thing I did leave out is how to obtain the oAuth token that you will
need in order to query the Graph API. I will blog on this later. This should get your development started ASAP!
Check out the following links below to help:

[Posted By] - Vorality Admin on

[Key Words]

Wednesday, September 29, 2010

Check out the new site at for Magic Cards, Singles, Decks, Online Store & More!

Thursday, August 5, 2010

My adventures in WPF - Intro to WPF Series

This will be a first post in the series of articles around WPF (Windows Presentation Foundation). I will be using examples of real work in an example format of the challenges I have faced when working with this technology. I feel that a blog series devoted to understanding WPF is needed because it is a very different platform for .NET Developers and when moving to WPF/Silverlight there is a steep learning curve whether people admit it or not. Just because you know Microsoft .NET does not mean that you will be sufficient at WPF/Silverlight which I find so many business people think is true.

I will also be posting reference articles that I feel have helped me along the way to understand this new Microsoft technology. I will admit that WPF is a rewarding technology to use and if used correctly can create amazing applications for businesses and individuals. However, with any new technology there are always critics and skeptics but I am here to blog that its possible to learn this technology and I am going to show you how! Stay tuned for my first post about "diving into databinding".

Wednesday, January 27, 2010

How to show deleted projects in Team Foundation Server

If you are using Team Foundation Server in any version, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010 you may run across a problem that may not be easy to solve. Sometimes when you are creating and deleting branches in Team System if you delete a branch or directory you most likely will not see it after you delete it. The problem is that by default Visual Studio does not show deleted projects. So, in order to enable this:

This is useful because Team System, all versions, continue to keep your project/branch directories around even after you delete them through Visual Studio Source Control. There is another way to completely remove the project/branch from Team Foundation Server. You can use the command line tool that comes with Visual Studio Tools that get installed alongside your Visual Studio Intallations. The path the tool lives in  :\Program Files\Microsoft Visual Studio\Common7\IDE and is available from the Visual Studio 2008 Command Prompt:

In order to delete branches you need call the tf delete command. You call you tf delete /? to see how to use the command. It is pretty easy. I used this article for reference >

Good luck and happy Lifecycle Management!