1

I'm new at making Facebook apps and this is my first time doing one so please bear with me. :)

I already made a Facebook app and I "sortof tried" to connect it to a localhost database on MYSQL but failed.

I have two questions at the moment: 1) is there a way to connect my facebook app to my own database and how?

2) since the facebook app I made only has one page at the moment, I don't know how to connect it to a new one. how can I connect the app's page to another page?

Oh, and I'm using the heroku thing that Facebook provided. the free web hosting thing, I think. and I'm using PHP SDK. My prefered language is PHP since I'm using dreamweaver to create this whole thing.

7
  • That's a lot to answer in one question. Have you given any thought to using a framework like CakePHP or CodeIgnighter? Those can give you some structure when getting started.
    – tadman
    Aug 2, 2012 at 5:14
  • @tadman: unfortunately, i can only use heroku.
    – Ruri
    Aug 2, 2012 at 5:27
  • Both those frameworks are just PHP and should work anywhere that supports that kind of hosting.
    – tadman
    Aug 2, 2012 at 15:08
  • yes they do but i don't know how to create a database and create tables using heroku's postgres. And i can't seem to also connect it.
    – Ruri
    Aug 2, 2012 at 15:14
  • 1
    Both of those should have a guide on how to set up on Postgres. That would be a lot easier than building from a blank slate.
    – tadman
    Aug 2, 2012 at 15:31

0

Your Answer

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

Browse other questions tagged or ask your own question.