How do you get a facebook user's information and insert it into a database?

Viewed 31219

I wasn't sure how to ask it, but I am trying to teach myself how to create a program that uses the graph api. Most of the tutorials I have seen are older, and I don't know how relevant they are now. Essentially, I am trying to get the "thing" where someons clicks my app, it says, this app wants your username, etc. and then Allow or Don't Allow.

I want it to take the information and then I can insert it into a database. I am using php and have a domain.

I can insert the data no problem, if I can get the data. I don't understand how to do it.

I'm sorry for a vague question, and I have searched. Not asking you to write my code for me, just point me in the right direction, maybe to a modern tutorial doing what I am asking. Thanks.

4 Answers
Related