facebook application

Posted on 2014-03-24
Last Modified: 2014-03-25

I need some info. Please let me know if it is possible to develop a Facebook application using c#? Also, any link which can help me how to develop a simple application and add it to facebook applications? I want to learn development of facebook applications but I have no idea how it work?

Please guide me.

Question by:josephm67
  • 4
  • 3
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39952335
A facebook app is essentially a micro site that runs on your server.    If all you want to start with is a very basic hello world, you can create an index page on your server with an address like

1) Make that page a very simple
<!DOCTYPE html>
  <meta charset="utf-8">
  <title>Hi Facebook</title>
  <h1>Hello World</h1>

Open in new window

You must be able to surf to this page by going to

2) Next, go to facebook developer interface
Click on Apps > New App
Give your app a displayname, namespace and category.  

3) You are now on the dashboard.  On the left, click Settings.  On the pop up, select App for facebook for the platform.

4) Enter the canvas url and secure (https) url    The url must end with a backslash.

5) Notice the canvas url you have been given based on your app namespace.    You should now be able to view your hello world. <<edit>> on the canvas url you have been given.

Now the fun can begin.   You can look over the api's to see what is available to use.  For .NET (I have not used) there is an sdk

Assuming you already understand what you want to do with the backend .NET, you can modify the page, make the html an aspx page, just make sure it is an  index page so the url ends in a slash.  

It is best to figure out what you want to do first, make a flowchart, wireframe some pages, then find the methods to use to work with your page.  

I have made a half dozen small apps.  They keep changing so you have to be prepared to not just let your app sit and go unchanged. If you are contracting work, make sure you stipulate who is responsible for changes based on facebook changing their api.  

Good luck.
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39952349
On point 5 above, I said, "Notice the canvas url you have been given" that should be, "Notice the canvas page you have been given

Author Comment

ID: 39952592
thanks for detailed info. So, u mean all app on facebook are running on other servers!! like games or other app which render data in facebook page? I was assuming they run on facebook server?

Also, what is use of Facebook SDK? Is it for developing deskop and mobile applications?
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

LVL 52

Accepted Solution

Scott Fell,  EE MVE earned 500 total points
ID: 39952604
Facebook apps do not run on facebook as far as I know.  It has always been on your own server/app server.  You can see when you create an app (register an app) on facebook, you have the choice for a facebook app (it runs inside of the facebook interface as a frame) or a web app or mobile app.  A web app means you have a stand alone page that interacts with facebook.  But all those games use the variation I gave.   Of course you have to add your own back end interactivity and use the facebook sdk/api if you want to use any of the graph functions.

The sample I gave you has no interaction.  The SDK is to interact with the facebook api's.  

If you start with a basic web page as you are used to and build from there, you can see how easy it can be.

Author Comment

ID: 39952648
Oh, I am planning to take project as part of course. The app will integrate into facebook account of user and act as agent. Agent means it will keep listening and checking user account.  It looks that it is not possible using facebook app!!! Any suggestion please
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39952756
I think we have answered your original question which was

>it is possible to develop a Facebook application using c#?  Yes, as you know now, you can use any language you want and that your server supports.

>I want to learn development of facebook applications but I have no idea how it work?
You have a great base to work from.

Now you are on a new tangent with this, " I am planning to take project as part of course. The app will integrate into facebook account of user and act as agent."  

I'm not 100% sure what you want to do.  I would think you can set up a listener with javascript/jquery.  This does sound like a new question though.  If this is for course work, just know we can help guide you and answer questions to get you to an answer but can not give you direct answers.

Good luck!

Author Closing Comment

ID: 39954742
Thanks, I have opened new question, please guide me there. Here is link:

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now