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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 53

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 53

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?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 53

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 53

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

696 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