Reputation: 1038
Just want to know what is better way to get start developing faccebook app?Any tutorial recommnedation?And which is better to start up -php or rails?
Upvotes: 11
Views: 5421
Reputation: 8653
Use the Get Started tutorial on developers.facebook.com. This will suggest you use the sample code button which will give you some PHP to list your friends. Then you can start playing with the PHP using the wiki for reference to the FQL and FBML.
PHP will be easier to start with as there are lots of samples in PHP. Rails may have advantages in the long term though.
Upvotes: 0
Reputation: 8202
Can I put a shout out for Ruby On Rails with the Koala gem?
I have built a Facebook app in the last two months learning Ruby On Rails from scratch (the last programming of any kind I did was mathematical modeling for my Physics degree project in 1995 in Fortran!).
Ruby On Rails was very simple to pick up and there is a ton of help out there. There are also lots of work already done for you in the way of Ruby Gems. For Facebook I looked through them all and I found Koala the easiest to use, personally.
http://github.com/arsduo/koala/
Upvotes: 1
Reputation: 11489
From my experience, there is a much better support focus on PHP than on anything else. That said, there'd be no point learning PHP just to take advantage of the superior support.
Two other general points:
The Facebook platform isn't a whole lot of fun and your users won't thank you for your work. But it's a massive audience and a very useful learning experience.
Good luck!
Upvotes: 5
Reputation: 71
Btw, you can also use ASP.NET, in which case here is how to get started:
http://www.stevetrefethen.com/wiki/Facebook%20application%20development%20in%20ASP.NET.ashx
The link includes a VS.NET starter kit which makes it very easy to get started quickly.
Upvotes: 4
Reputation: 3152
I've seen pretty complete FB wrapper libraries for both PHP and Ruby. Which one you should choose really depends on which language/framework you're more comfortable with.
I will say that when I was evaluating Ruby libraries recently, Facebooker seemed to be superior in terms of active development and tutorial content on the web. (Be sure to use the Facebooker project on GitHub, not the deprecated one on RubyForge.)
Upvotes: 1
Reputation: 180147
Re: Ruby on Rails vs. PHP - whichever you're currently competent in. If neither, whichever you'd like to become competent in. Both can do what you want.
Upvotes: 0
Reputation: 239988
Start with their docs: http://developer.facebook.com/get_started.php?tab=tutorial
There are libraries floating around for lots of different languages and frameworks so I say: whatever you're happiest with is where you should start.
Upvotes: 1