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

后端 未结 4 1116
故里飘歌
故里飘歌 2021-01-30 11:47

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 ho

4条回答
  •  清酒与你
    2021-01-30 12:52

    It seems that you are looking to creating an authentication (login) using Facebook.

    You may wish to check out Opauth, it handles all of that for you and returns you the user info in an array, of which you can then insert into database easily.

    See http://opauth.org for a quick demo and download the library which contains sample code.

提交回复
热议问题