4 ms·
Ask HN: How do I write a website that uses the Facebook API or whatever?
I want to write a toy app that isn't actually a "Facebook app" (which I have never done, by the way). I want it to be a standalone website with its own URL but users log in with FB and it uses their data.
I need to learn the Facebook API or whatever, obviously
However, I am out of the web dev loop. I need someone to tell me what's what. What is jQuery? Am I... Node.js? Sinatra? Ruby on Rails? Which of this is important to me?
I can do like HTML and CSS.
WHAT DO I DO?
- bdclimber14 16y agoi don't mean to be pessimistic, but I think you have a bit to learn before you get into Facebook login functionality. If your skillset is HTML and CSS, then you should start learning how to make a basic web app without a database. Personally, I'd check out Sinatra or PHP. Rails can be overwhelming to start with. First, get a basic app to send some data to a browser, then do some stuff, then look at connecting a database to it. To phrase this as a metaphor, you're asking how to install lightning rods for a tower you're about to build, but all you've ever done is paint a house.
- isomorph 16y agoI've made basic webapps with Scalatra and Scala by keeping all the complexity in the Scala, which I know quite well
- bdclimber14 16y agoThat's a good start, I may dive into database driven apps now. I know its a swarm of technologies. Don't worry about JavaScript or jQuery right now since those are front-end tools that add icing to the cake (unless it's node.js, but let's keep it simple).
- isomorph 16y agoCool, thanks. Any particular thing I should look out for? "MongoDB" - is that anything to do with this? SQL-lite?
- bdclimber14 16y agoDatabases generally fall into 2 classes: NoSQL and SQL. I'd stick with SQL based databases such as MySQL, Postgre, and SQLite. For the most part, they can be interchangeable. MongoDB falls into the former and is an entirely different way of thinking about databases.
- rhizome 16y agoWHAT DO I DO? Read all of this: http://developers.facebook.com/docs/guides/web/ http://developers.facebook.com/docs/guides/web/