views:

114

answers:

3

Hi there, I want to access facebook's database. I want to have some SQL-like access, let's say s.th. in this way: "select name from facebook-big-database-table where location='France' and city='Paris' and age between 30 and 40;" But, it need not to be SQL, PHP or JAVA would also be nice to use to me.

Does anybody know where to start? To be honest, I got a little bit lost in all the tutorials Facebook offers. Is it the so called "Connect" program which offers me what I want or s.th. different?

+2  A: 

Facebook isn't going to let you mine their database in that way. Not possible.

Adam Crossland
+2  A: 

You wont be able to access facebook's database. The most you'd be able to do is to get information of users who previously have consented your application to access their data.

Therefore answering your question, what you want can't be done, period.

johnnyArt
+2  A: 

Facebook does have a bunch of API's, one of which actually looks like SQL. They call it FQL. Check it out here. Maybe it can help you some part of the way at least.

Note that it won't give you raw access to the underlying tables. But still, better than nothing I guess.

Martin Wickman
thank you, this is exactly what I want to find
Alex004
Thank you - I was exactly searching this FQL, but did not know how they call it.
Alex004