6

As an hobby I wrote a game in JavaScript and would love to publish it to Facebook, can you write a Facebook application using pure HTML and JavaScript?

2 Answers 2

8

Yes. Absolutely. In fact, one of the options for developing a Facebook application is an embedded frame pointing to your website which can be whatever you want, including straight HTML web serving.

There are two officially sanctioned libraries for accessing Facebook information and one of them is Javascript based.

You can do quite a bit on Facebook with just Javascript/HTML. There's a lot of possibilities using services outside of your own site (think Flckr, Google Ajax API etc...)

Facebook applications are pleasantly simple to develop.

The documentation is indeed at: http://developers.facebook.com/

I would also note that traffic with regards to Facebook, things can spin up really quickly. There are stories of students creating applications which quickly scaled to millions of users. I'm not saying this is likely to be the case for you, but it is can be an effective and a highly viral distribution platform.

Sign up to request clarification or add additional context in comments.

2 Comments

The link to the story of students "creating applications which quickly scaled to millions of users" is broken. Any chance you can find another link or the text of the article? Would like to read it...
Here is a link about the story on yahoo finance.yahoo.com/college-education/article/112702/…
1

Yes, though your app may not be able to do much on Facebook. Have a look at http://developers.facebook.com for documentation.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.